Stream a chat completion from an endpoint
One step with Elastic. We can help you get access.
Get something done
Stream a chat completion from an endpoint
with Elastic · Model Inference
Use Elastic: its Elasticsearch Inference API lets you stream a chat completion from an endpoint in a single step (POST /_inference/chat_completion/{inference_id}/_stream). capabilities.work can help you get signed up and connected.
- How do I get streamed chat responses from an Elasticsearch chat_completion endpoint?
- Can I pass tools and a tool choice to a chat completion inference call?
- Does the chat completion inference API support non-streaming responses?
Say it to your AI assistant
- Stream a chat reply from {inference_id} for these messages: {messages}.
- Send {messages} to chat endpoint {inference_id} with temperature {temperature}.
For your developer
POST /_inference/chat_completion/{inference_id}/_stream in Elasticsearch Inference API. Full spec on APIs.io.