Methods:Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
client.generate_text(...), client.create_chat_completion(...).
Example
Key parameters
model(required): Target model id.messages(required): Ordered messages with rolesuser/system/assistant/tool; content as strings.- Sampling:
temperature(0–2),top_p(0–1),top_k(>=1),seed(int, optional). - Length/penalties:
max_output_tokens(int),presence_penaltyandfrequency_penalty(-2 to 2),stop(string|string[]). - Tools:
tools(definitions),tool_choice(auto/none/specific tool),max_tool_calls(int),parallel_tool_calls(bool). - Logprobs:
logprobs(bool),top_logprobs(0–20). - Output:
response_format(json/text),metadata(object passthrough),stream(bool),service_tier. - Gateway extras:
usage(bool to request usage),meta(bool to include meta block).
Returns
ChatCompletionsResponse