Ai apiRag mode
Using the Inkeep RAG API with the OpenAI SDK
Here's an example of how to use Structured Output Parsing with Inkeep's rag
model to retrieve structured documents from your knowledge base. Please ensure you have an API key (don't have one? Get one here).
Example
This example demonstrates how to use the OpenAI Node SDK to retrieve structured RAG documents from Inkeep's knowledge base. The response includes an array of documents with context, source information, and URLs.