Skip to content

September Agent

AI September Agent for patient interactions using only September Health Library. This endpoint provides a specialized version of the ASHAI agent that only uses the September Health Library for medical information. self-evaluation and retry logic, adding ~3-4 seconds to response time.

Request Parameters

Parameter Description
messages List of chat messages with role and content
profile Patient profile information (name, location, language, category, history)
model Optional OpenAI model selection (default: gpt-4o-mini)
with_evaluation Optional boolean (default: false). If true, includes

System Prompt

System prompt not found in agent source code.

User Prompt Template

AGENT_USER_PROMPT_TEMPLATE

Profile: {profile}

Messages:
{messages}

API Reference

Endpoint: POST /agent/september

Interactive Docs: FastAPI Swagger UI

Example Usage

curl -X POST http://localhost:8000/agent/september \
  -H 'Content-Type: application/json' \
  -d '{
    "messages": [{"role": "user", "content": "What are the symptoms of diabetes?"}],
    "profile": "Patient with family history of diabetes"
  }'