stream parameter. Tool calling is supported but may work better with streaming enabled.
Headers
API key in format: 
Bearer sk-xxxxxxBody
Array of message objects representing the conversation
Model ID to use for completion (blockchain hex address or name)
Sampling temperature between 0 and 2. Higher values make output more random.
Nucleus sampling parameter. Alternative to temperature.
Number of completions to generate
Whether to stream the response as server-sent events
Up to 4 sequences where the API will stop generating
Maximum number of tokens to generate
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far.
Number between -2.0 and 2.0. Positive values penalize new tokens based on their frequency in the text so far.
List of tools the model can call
Controls which tool is called by the model
Optional session ID to use. If not provided, uses the session associated with the API key.
Response
Unique completion ID
Always “chat.completion”
Unix timestamp of completion creation
Model used for the completion
Array of completion choices
Token usage statistics
The API is fully compatible with the OpenAI SDK. Simply change the 
base_url to point to the Morpheus Gateway.Streaming responses return server-sent events. Set 
stream: true in your request to enable streaming.
