Zero-configuration functions that work consistently across providers with first-class streaming, tool-calling, and structured output support.
client.chat.completions.create(**kwargs).result.choices[0].message.content
).
generate_text
or stream in real-time with stream_text
.embed
and embed_many
, plus semantic similarity with
cosine_similarity
.generate_text
and stream_text
functions.generate_object
and stream_object
functions.embed
, embed_many
, and cosine_similarity
functions.tool
function for LLM-callable functions.