Skip to main content

Overview

Haystack’s OpenAIChatGenerator supports custom OpenAI-compatible deployments through api_base_url. Point it at AI Sonar and provide a AI Sonar API key.
Type: RAG and pipeline frameworkPrimary Path: OpenAI-compatible Chat CompletionsSupport Confidence: Supported OpenAI-compatible path

Environment

Generator

Endpoint Notes

Use this path for Haystack chat generator pipelines. For embeddings, configure the matching Haystack embedding component with AI Sonar’s /v1 base URL if your pipeline uses AI Sonar embeddings.