OpenAI-compatible clinical model
Build clinical software on Olive
Olive is Avey's clinical language model. It reasons before it answers, reads the documents you upload, and runs behind the OpenAI API. Change three values in the SDK you already use, and call it.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.avey.ai/llm",
api_key=os.environ["AVEY_API_KEY"],
)
response = client.chat.completions.create(
model="olive",
messages=[{"role": "user", "content": "Red flags for headache in primary care?"}],
)
message = response.choices[0].message
print(getattr(message, "reasoning_content", None)) # how Olive worked it through
print(message.content) # the answerStart here
Three pages answer most first questions
The model
The numbers to size a request against
Model id
olive
Text in, text out. Reasoning comes back in reasoning_content.
Every limit and the model list response are on Models and limits. The effort budgets are on Reasoning.
Guides
What you can build
Clinical use
A clinician reviews every output
Olive supports clinical work. It does not replace clinical judgement. A qualified clinician reviews every output that affects care before it is acted on, and that holds for the reasoning too. Olive can be confidently wrong.
Do not send protected health information. Remove names, contact details, identifiers and dates of birth before text or files reach the API.