Ai apiRag mode
Using the Inkeep RAG API with the Vercel AI SDK
Using the Vercel AI SDK with Inkeep's RAG API
The Inkeep RAG API provides structured documents from your knowledge base. This example shows how to use the Vercel AI SDK to retrieve these documents. Please ensure you have an API key (don't have one? Get one here).
Schema Definition
Simple Example
This example demonstrates how to use the Vercel AI SDK to retrieve structured RAG documents from Inkeep's knowledge base. The response includes an array of documents with context, source information, and URLs.