responses
Run the unified Algenta utility response surface: deterministic tokenization/embeddings, or (for provider-backed chat models) a chat response with optional function/tool calling. input accepts a plain string, a list of independent strings (each processed as its own single-turn request), or a typed OpenResponses-style input array (items shaped {type: message|function_call|function_call_output, ...}) processed as ONE multi-turn conversation. previous_response_id continues a prior typed-array conversation -- state is held in the Algenta server process's memory only, so it does not survive a process restart or a different worker/replica.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | One string, a list of independent strings (each its own single-turn request), or a typed OpenResponses-style input array processed as one multi-turn conversation. | |
| model | No | Model id from list_models; selects the output item type. | text.tokenizer |
| tools | No | Function tools the model may call during this response, in OpenResponses function-tool shape. | |
| dimensions | No | Embedding vector length when the selected model produces embeddings. | |
| tool_choice | No | Controls whether the model calls a tool: auto, none, required, or a specific named function. | |
| parallel_tool_calls | No | Whether the model may emit multiple tool calls in parallel. | |
| previous_response_id | No | Continues a prior typed-array conversation; state lives in the server process's memory only. |