NEXT_PUBLIC_RAG_API_URL
environment variable inside the apps/web/
directory, to the API URL of your LangConnect server.
For local development, this should be set to:
/rag
page in the web app to create your first collection, and upload documents to it.
After setting up your RAG server, and configuring Open Agent Platform with an agent which can call it (like the Tools Agent), you can start to use it in your agents by selecting a collection when creating/editing an agent. This will give the agent access to a tool which can make requests to your RAG server, and retrieve relevant documents for the user’s query.
Authorization
header of the request. Then, inside the LangConnect RAG server, we extract this token and verify it’s valid with Supabase.
If it is, we receive back a user ID, which is used to verify each user is only able to access their own collections. We do not currently support sharing collections between users.