https://gpt-4albadocplugin.pranavbhatt402.repl.co/.well-known/ai-plugin.json
{
"schema_version": "v1",
"name_for_human": "AlbaDOC",
"name_for_model": "albadoc",
"description_for_human": "Your trusted source for Canadian drug information.",
"description_for_model": "This plugin retrieves detailed information about drugs and their active ingredients or active ingredients and their correspending drugs that they are used in. It can also generate images to help visualize drugs or active ingredients.",
"auth": {
"type": "none"
},
"api": {
"type": "openapi",
"url": "https://gpt-4albadocplugin.pranavbhatt402.repl.co/.well-known/openapi.yaml"
},
"logo_url": "https://github.com/Pranav-Bha-tt/GPT-4_AlbaDOC_Plugin/raw/main/AlbaDOC%20Logo.png",
"contact_email": "pranav.bhatt@albadoctor.com",
"legal_info_url": "https://docs.google.com/document/d/13csNyS75gECA9ghZByK6KVJmLDzG9hOCcWnmh15VXg8/edit?usp=sharing",
"examples": [
{
"prompt": "What's the ingredient in PMS-LOPERAMIDE?",
"response": "Sure, let me look that up for you. [Assistant to=albadoc.get_info] {\"keyword\": \"ingredient\", \"query\": \"PMS-LOPERAMIDE\", \"choice\": \"NOT GENERATE\"}"
},
{
"prompt": "What drugs use ALUMINUM CHLOROHYDRATE?",
"response": "Alright, looking that up for you. [Assistant to=albadoc.get_info] {\"keyword\": \"drug\", \"query\": \"ALUMINUM CHLOROHYDRATE\", \"choice\": \"NOT GENERATE\"}"
},
{
"prompt": "What is OXYGEN used in? Also, what does OXYGEN look like?",
"response": "Alright, let me find the drugs that use MERADIMATE. [Assistant to=albadoc.get_info] {\"keyword\": \"drug\", \"query\": \"OXYGEN\", \"choice\": \"GENERATE\", \"prompt\": \"A diatomic oxygen molecule (O2). This consists of two oxygen atoms bonded together. The atoms should be represented as spheres, and the bond as a stick connecting them. The oxygen atoms are usually depicted in red color. The background should be white for contrast.\", \"n\": \"1\", \"size\": \"512x512\"}"
},
{
"prompt": "What does sunscreen lip balm consist of? I want to see how it looks like as well",
"response": "Alright, let me find the active ingredients for that. [Assistant to=albadoc.get_info] {\"keyword\": \"ingredient\", \"query\": \"SUNSCREEN LIP BALM\", \"choice\": \"GENERATE\", \"prompt\": \"A sunscreen lip balm, typically packaged in a small, cylindrical tube. The tube is often plastic, with a cap on one end and a twist mechanism at the other end to push up the balm. The balm itself is usually a solid stick, often translucent or lightly tinted. The packaging may have labels indicating its SPF value and other information. The background should be white for contrast.\", \"n\": \"1\", \"size\": \"512x512\"}"
},
{
"prompt": "I want to see how ERYTHROCIN IV looks like.",
"response": "Alright, let me find the active ingredients for that. [Assistant to=albadoc.get_info] {\"keyword\": \"ingredient\", \"query\": \"ERYTHROCIN IV\", \"choice\": \"ONLY GENERATE\", \"prompt\": \"Erythromycin IV (intravenous) is typically found in a hospital or clinical setting. It is often in the form of a clear or slightly yellowish liquid contained in a glass or plastic vial or bottle. The vial may have a label with the name 'Erythromycin' and other details like dosage and manufacturing information. The liquid is usually administered using a syringe or through an IV drip. The background should be white for contrast.\", \"n\": \"1\", \"size\": \"512x512\"}"
},
{
"prompt": "I want to see how XYLOCAINE JELLY 2% looks like.",
"response": "Alright, let me find the active ingredients for that. [Assistant to=albadoc.get_info] {\"keyword\": \"ingredient\", \"query\": \"XYLOCAINE JELLY 2%\", \"choice\": \"ONLY GENERATE\", \"prompt\": \"Xylocaine Jelly 2% is a topical anesthetic used for numbing. It is typically packaged in a tube. The tube is usually white or silver in color with a blue cap. The brand name 'Xylocaine' is prominently displayed on the tube. The jelly itself is a clear, colorless to slightly yellow gel.\", \"n\": \"1\", \"size\": \"512x512\"}"
}
],
"instructions": {
"keyword": "This property is MANDATORY and REQUIRED to be submitted to the plugin. Choose 'drug' to find all drugs that contain a specified active ingredient. Choose 'ingredient' to find the active ingredients of a specified drug. The assistant will have to be very cautious and clever to determine whether the user is asking to look up all the drugs that a certain active ingredient is in, or the user is asking to look up all the active ingredients that a drug uses. If the user asks: 'What does [Substance Name Here] use?', notice how they implying that the substance uses something. Hence, the substance has to be using an ingredient, making the substance a drug. Therefore, the sassistant will have to search for active_ingredients and therefore, the keyword becomes 'ingredient'. If the user asks 'What uses [Substance Name Here]?', notice how the user is implying that the substance here is used by other substances, making this substance an ingredient. Therefore, the assistant will have to search for drugs that use this substance, and so, the keyword here will become 'drug'. If no relevant drugs or active_ingredients are found, tell the user: 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.",
"query": "This property is MANDATORY and REQUIRED to be submitted to the plugin. Provide the name of the drug or active ingredient you want to search for. If no relevant drugs or active_ingredients are found, tell the user: 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.",
"choice": "This property is MANDATORY and REQUIRED to be submitted to the plugin. Choose 'GENERATE' to generate an image of a drug or ingredient, 'NOT GENERATE' if no images need to be generated, or 'ONLY GENERATE' to only generate images and not search for any drug or active ingredient in the database. If no relevant drugs or active_ingredients are found, tell the user: 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.",
"prompt": "Describe the image as much as possible. This should be 1000 characters max and have all the context needed to create highly accurate images. Refrain from only passing a single term or phrase. Paint the entire picture for the plugin by describing all the elements, shapes, styles, etc., since the plugin is entirely dependent on the assistant's elaborative description on creating a good image that is relevant. The assistant should expand and describe the desired image as much as possible within the character limit. This should only be passed if 'choice' has been passed as 'ONLY GENERATE' or 'GENERATE'. Only use English alphabets and numbers and no other characters in the prompt.",
"n": "This must be either 1 or 2, which states the number of images to be generated based on the prompt provided by the assistant. This should only be passed if 'choice' has been passed as 'ONLY GENERATE' or 'GENERATE'.",
"size": "This must be either '256x256', '512x512', or '1024x1024' to determine the size of the image. This should only be passed if 'choice' has been passed as 'ONLY GENERATE' or 'GENERATE'."
}
}
https://gpt-4albadocplugin.pranavbhatt402.repl.co/.well-known/openapi.yaml
openapi: 3.0.1
info:
title: AlbaDOC
description: This plugin retrieves detailed information about drugs and their active ingredients or active ingredients and their correspending drugs that they are used in. It can also generate images to help visualize drugs or active ingredients.
version: 'v1'
servers:
- url: https://gpt-4albadocplugin.pranavbhatt402.repl.co
paths:
/get_info:
post:
operationId: get_info
summary: Get information about a drug or an active ingredient based on a provided name and keyword
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- keyword
- query
- choice
properties:
keyword:
type: string
description: This property is MANDATORY and REQUIRED to be submitted to the plugin. Choose "drug" to find all drugs that contain a specified active ingredient. Choose "ingredient" to find the active ingredients of a specified drug. The assistant will have to be very cautious and clever to determine whether the user is asking to look up all the drugs that a certain active ingredient is in, or the user is asking to look up all the active ingredients that a drug uses. If the user asks "What does [Substance Name Here] use?", notice how they implying that the substance uses something. Hence, the substance has to be using an ingredient, making the substance a drug. Therefore, the sassistant will have to search for active_ingredients and therefore, the keyword becomes "ingredient". If no relevant drugs or active_ingredients are found, tell the user that 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.
query:
type: string
description: This property is MANDATORY and REQUIRED to be submitted to the plugin. Provide the name of the drug or active ingredient you want to search for. If no relevant drugs or active_ingredients are found, tell the user that 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.
choice:
type: string
description: This property is MANDATORY and REQUIRED to be submitted to the plugin. Choose 'GENERATE' to generate an image of a drug or ingredient, 'NOT GENERATE' if no images need to be generated, or 'ONLY GENERATE' to only generate images and not search for any drug or active ingredient in the database. If no relevant drugs or active_ingredients are found, tell the user that 'You can find more details on drugs and ingredients on https://www.albadoc.ca'.
prompt:
type: string
description: Describe the image as much as possible. This should be 1000 characters max and have all the context needed to create highly accurate images. Refrain from only passing a single term or phrase. Paint the entire picture for the plugin by describing all the elements, shapes, styles, etc., since the plugin is entirely dependent on the elaborative description of the assistant for creating a good image that is relevant. The assistant should expand and describe the desired image as much as possible within the character limit. This should only be passed if "choice" has been passed as "ONLY GENERATE" or "GENERATE". Only use English alphabets and numbers and no other characters in the prompt.
n:
type: integer
description: This must be either 1 or 2, which states the number of images to be generated based on the prompt provided by the assistant. This should only be passed if "choice' has been passed as "ONLY GENERATE" or 'GENERATE".
size:
type: string
description: This must be either "256x256", "512x512", or "1024x1024" to determine the size of the image. This should only be passed if "choice" has been passed as "ONLY GENERATE" or "GENERATE".
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
result:
type: object
images:
type: array
items:
type: string
"400":
description: Bad Request
content:
application/json:
schema:
type: object
properties:
error:
type: string
"404":
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: string
"500":
description: Server Error
content:
application/json:
schema:
type: object
properties:
error:
type: string
Discover other plugins from the health category

StuffThatWorks Health
Plugin for accessing health information and recommendations from StuffThatWorks.
0 Comments

MedQA
Access clinical guideline and reference material from sources like NCBI StatPearls.
0 Comments

alaga.ai_PH
Get the latest info about the health programs and services in the Philippines. Katuwang mo sa pag-aalaga ng pamilya!
0 Comments

Water Tracker
A tool for recording and tracking your water intake records, drink more water, stay healthy.
0 Comments

AnaBot
AnaBot is a conversational guide for well-being industry insights and trends.
0 Comments