Medications
The Medication Agent Endpoint provides detailed veterinary medication information based on a user’s input query. It processes the input to determine relevance, retrieves relevant data, and returns structured medication profiles to assist veterinarians and other users in accessing comprehensive medication details.
Request
Request Body
The request body should be:
- input (string, required): The user’s query or input text related to a veterinary medication.
Example Request
Response
Successful Response (Relevant Input)
If the input is relevant to veterinary medication, the API will return a JSON object with:
- status:
true
- reason: A structured dictionary containing detailed medication information.
reason
Object Structure
The reason
object contains:
- Plain English Summary: A detailed summary of the medication.
- Plain English Concise: A concise summary of the medication.
- Medication Details: An object containing comprehensive details about the medication.
Medication Details Fields
- Drug Name & Classification
- Indications & Uses
- Pharmacology & Mechanism of Action
- Dosing by Species
- Administration & Route
- Contraindications
- Precautions & Warnings
- Adverse Effects
- Drug Interactions
- Monitoring Parameters
- Overdose Information
- Withdrawal Times (for food animals)
- Client Information & Instructions
Example Successful Response
Unsuccessful Response (Irrelevant Input)
If the input is not relevant to veterinary medication, the API will return a JSON object with:
- status:
false
- reason: A string explaining why the input is not relevant.
Example Unsuccessful Response
Error Handling
If an error occurs during processing, the API will return a JSON object with an error
key:
Example Error Response
Notes
- Ensure that the input string provides sufficient context for the agent to assess relevance and generate a detailed response.
- The medication information provided is intended for professional use and should be interpreted by qualified individuals.
- Fields within Medication Details may vary slightly based on the availability of information for specific medications.
Additional Example Requests and Responses
Example 1: Requesting Information on a Specific Medication
Request:
Response:
Example 2: Irrelevant Input
Request:
Response:
Usage Tips
- Contextual Input: Provide clear and specific queries related to veterinary medications to receive the most informative responses.
- Comprehensive Information: The agent strives to offer detailed medication profiles, making it a valuable resource for veterinary professionals.
- Error Reporting: If you encounter any issues or unexpected responses, please check the input for accuracy and completeness before retrying.