Simple Chat Completions
lyzr_simple_chat_completionsSend chat messages directly to any OpenAI-compatible model or provider without pre-building an agent. Select model, provider, and credentials to get completions.
Instructions
OpenAI-compatible chat/completions endpoint that selects the model/provider directly, without a pre-created agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The model name | |
| top_p | No | Top-p (default 1.0) | |
| messages | Yes | OpenAI-style chat messages | |
| session_id | No | Optional session id | |
| provider_id | No | Optional provider id | |
| temperature | No | Sampling temperature (default 0.7) | |
| credential_id | No | LLM credential id to use |