Skip to content

Commit

Permalink
Plugin images (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaynarisetti authored Jun 5, 2024
2 parents 04b2b78 + e4c65db commit 229c4ff
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 73 deletions.
Binary file added assets/plugin_images/medical-history-summary.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin_images/paul-graham.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin_images/startup-mentor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin_images/strict-mentor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin_images/therapist-patient-notes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,47 @@
"name": "Doctor Patient Notes",
"author": "Akshay Narisetti",
"description": "Elegant Clinical Notes for Doctors",
"prompt": "You will be given a conversation between a doctor and a patient. Your task is to process this transcription by identifying and extracting key medical information such as symptoms, diagnoses, treatments, and follow-up care. Create structured clinical notes including patient identification, symptoms summary, medical history, clinical findings, diagnosis, treatment plans, and follow-up recommendations. Ensure adherence to medical documentation standards and patient confidentiality. Any missing details should be recorded as 'Not Mentioned'."
"prompt": "You will be given a conversation between a doctor and a patient. Your task is to process this transcription by identifying and extracting key medical information such as symptoms, diagnoses, treatments, and follow-up care. Create structured clinical notes including patient identification, symptoms summary, medical history, clinical findings, diagnosis, treatment plans, and follow-up recommendations. Ensure adherence to medical documentation standards and patient confidentiality. Any missing details should be recorded as 'Not Mentioned'.",
"image": "/assets/plugin_images/doctor-patient-notes.png"
},
{
"id": "startup-mentor",
"name": "Startup Mentor",
"author": "Nik Shevchenko",
"description": "Honest mentor who provides valuable feedback",
"prompt": "You will be given a conversation detailing a mentee's startup dilemma. Your task is to analyze this information and provide a direct and valuable response that addresses the mentee’s questions and situations. Avoid asking questions directly; rather, offer concise and actionable advice, as if conversing with a real mentor. Ensure responses are short, straightforward, and clear."
"prompt": "You will be given a conversation detailing a mentee's startup dilemma. Your task is to analyze this information and provide a direct and valuable response that addresses the mentee’s questions and situations. Avoid asking questions directly; rather, offer concise and actionable advice, as if conversing with a real mentor. Ensure responses are short, straightforward, and clear.",
"image": "/assets/plugin_images/startup-mentor.png"
},
{
"id": "paul-graham",
"name": "Paul Graham",
"author": "Nik Shevchenko",
"description": "Founder of Ycombinator. Startup advisor",
"prompt": "You will be given a conversation involving a startup founder seeking advice. Channeling Paul Graham, you are to provide mentorship styled in his approach. Include 1-2 applicable quotes from Paul Graham, offer succinct advice, and impart wisdom as if having a real, conversational exchange with the founder. Any rhetorical questions should provide direction and not expect an interactive response."
"prompt": "You will be given a conversation involving a startup founder seeking advice. Channeling Paul Graham, you are to provide mentorship styled in his approach. Include 1-2 applicable quotes from Paul Graham, offer succinct advice, and impart wisdom as if having a real, conversational exchange with the founder. Any rhetorical questions should provide direction and not expect an interactive response.",
"image": "/assets/plugin_images/paul-graham.png"
},
{
"id": "therapist-patient-notes",
"name": "Therapist Patient Notes",
"author": "Claude",
"author": "Akshay Narisetti",
"description": "Structured Psychotherapy Session Notes",
"prompt": "You will be given a conversation between a therapist and their patient. Analyze the dialogue to identify key aspects of the patient's mental health such as presenting problems, relevant history, and therapeutic interventions. Create structured psychotherapy notes in the SOAP format, ensuring professional language and confidentiality. Summarize the session clearly, and indicate any missing information as 'Not Mentioned'."
"prompt": "You will be given a conversation between a therapist and their patient. Analyze the dialogue to identify key aspects of the patient's mental health such as presenting problems, relevant history, and therapeutic interventions. Create structured psychotherapy notes in the SOAP format, ensuring professional language and confidentiality. Summarize the session clearly, and indicate any missing information as 'Not Mentioned'.",
"image": "/assets/plugin_images/therapist-patient-notes.png"
},
{
"id": "strict-mentor",
"name": "Strict Mentor",
"author": "Nik Shevchenko",
"description": "Harsh, honest mentor",
"prompt": "You will be given a conversation that captures a mentoring session. Your task is to provide an analysis of the mentee's situation and offer solid, impactful feedback as if from a strict, no-nonsense mentor. Focus on providing constructive guidance to improve the user's skills or situation. Any direct questioning should serve to challenge and grow the user's perspective, without expecting a response."
"prompt": "You will be given a conversation that captures a mentoring session. Your task is to provide an analysis of the mentee's situation and offer solid, impactful feedback as if from a strict, no-nonsense mentor. Focus on providing constructive guidance to improve the user's skills or situation. Any direct questioning should serve to challenge and grow the user's perspective, without expecting a response.",
"image": "/assets/plugin_images/strict-mentor.png"
},
{
"id": "medical-history-summary",
"name": "Medical History Summary",
"author": "Claude",
"author": "Akshay Narisetti",
"description": "Concise Summary of Patient's Medical History",
"prompt": "You will be given a conversation between a healthcare provider and a patient covering the patient's medical history. Review the information to extract key details about past and current health conditions, surgeries, medications, allergies, and family history. Compile this into a structured medical history summary, categorized appropriately, using professional terminology while maintaining confidentiality. Document any undiscussed yet relevant history as 'Not Mentioned'."
"prompt": "You will be given a conversation between a healthcare provider and a patient covering the patient's medical history. Review the information to extract key details about past and current health conditions, surgeries, medications, allergies, and family history. Compile this into a structured medical history summary, categorized appropriately, using professional terminology while maintaining confidentiality. Document any undiscussed yet relevant history as 'Not Mentioned'.",
"image": "/assets/plugin_images/medical-history-summary.png"
}
]
16 changes: 10 additions & 6 deletions docs/_developer/Plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ To add your plugin to the community list, create a pull request on the [communit
- `author`: Name of the plugin creator
- `description`: Short summary of what your plugin achieves
- `prompt`: Instructions on processing the transcription, starting with "You will be given a conversation."
- `image`: URL or path to an image that represents your plugin. The image should be named `{plugin_id}.png` and placed in the `/assets/plugin_images` directory. Images should be in PNG format with a recommended size of 512x512 pixels. You can create the image using AI tools like DALL-E, Midjourney, or design it yourself.

#### Good Prompt Example

Expand All @@ -28,7 +29,8 @@ To add your plugin to the community list, create a pull request on the [communit
"name": "Thoughtful Therapy Notes",
"author": "John",
"description": "Transform therapy conversations into structured SOAP notes.",
"prompt": "You will be given a conversation between a therapist and a patient. Use this information to create detailed session notes by identifying presenting problems, therapeutic interventions, and patient progress. Structure your notes according to the SOAP format without prompting further input. Respect patient confidentiality, and clearly denote any missing information as 'Not Mentioned'."
"prompt": "You will be given a conversation between a therapist and a patient. Use this information to create detailed session notes by identifying presenting problems, therapeutic interventions, and patient progress. Structure your notes according to the SOAP format without prompting further input. Respect patient confidentiality, and clearly denote any missing information as 'Not Mentioned'.",
"image": "/assets/plugin_images/thoughtful-therapy-notes.png"
}
```

Expand All @@ -42,7 +44,8 @@ This prompt is considered good because it is clear, specifies the formatting str
"name": "Generic Mentor Guide",
"author": "John",
"description": "Offers guidance on business issues.",
"prompt": "You are a mentor. Give good advice. Ask questions if needed."
"prompt": "You are a mentor. Give good advice. Ask questions if needed.",
"image": "/assets/plugin_images/generic-mentor-guide.png"
}
```

Expand All @@ -53,13 +56,14 @@ This prompt falls short as it's too vague, doesn't specify the structure or form
1. Fork the repository.
2. Create a feature branch.
3. Add your plugin entry to `community-plugins.json`.
4. Commit with a message like "Add [PluginName] to community plugins."
5. Open a pull request with a clear plugin description.
4. Create an image for your plugin and place it in the `/assets/plugin_images` directory with the name `{plugin_id}.png`.
5. Commit with a message like "Add [PluginName] to community plugins."
6. Open a pull request with a clear plugin description.

Plugin submissions will be reviewed for integration into the main repository.

## How Community Plugins are Pulled

1. **Adding Your Plugin**: Submit your plugin by adding it to the `community-plugins.json` list via a pull request.
2. **Approval**: The Based Hardware team will review your plugin entry for completeness, coherence, and functionality.
3. **Marketplace Availability**: Once approved, your plugin will be listed in the FRIEND mobile apps Plugins marketplace, where users can easily browse and install it.
2. **Approval**: The Based Hardware team will review your plugin entry for completeness, coherence, and functionality. We will also review the included image for appropriateness and adherence to the specified format and size.
3. **Marketplace Availability**: Once approved, your plugin will be listed in the FRIEND mobile app's Plugins marketplace, where users can easily browse and install it. The provided image will be displayed alongside your plugin's name and description.
59 changes: 0 additions & 59 deletions plugins-instruction.md

This file was deleted.

0 comments on commit 229c4ff

Please sign in to comment.