Guides building LangChain chatbots with system prompts, tools, RAG, and memory for veterinary clinics. Use when creating or refining vet-clinic assistants, RAG over clinic protocols or drug data, tool-calling bots for appointments or patient lookup, or conversation memory in a veterinary context.
Apply when:
Role and scope
Veterinary-specific instructions
Safety and compliance
Example prompt skeleton
You are [role] for [Clinic Name]. You help with [scope: e.g. appointments, common questions, internal protocols].
- Use "patient" for the animal, "client" for the owner.
- You do not diagnose or prescribe. For medical advice or emergencies, direct the user to contact the clinic or a vet.
- When explaining procedures or protocols, base your answer only on the information provided by your tools or retrieved documents; do not invent steps or dosages.
Typical tools for a vet-clinic bot
Design
get_todays_appointments, search_patient_by_name).LangChain
@tool or StructuredTool); bind them to the chat model with bind_tools and use an appropriate agent or invocation loop that handles tool calls and results.What to index (vet context)
Chunking
Retrieval
Pipeline
Conversation memory
Scoping (optional)
Implementation
ConversationBufferWindowMemory, or a custom store). Ensure the prompt template includes the memory variable (e.g. chat_history).Suggested order
Testing