Bring your RAG via an API endpoint
To integrate RAG context into Maxim, you need to create a context source and add your RAG context API endpoint. This context source can then be used in prompts and workflows for inferencing, enabling the model to access and utilize the relevant context during processing.
Create a new context source
You can create a new context source by clicking on the left navigation and then the plus icon.
Name your context source
Provide a name for the context source.
Configure API endpoint
Enter the API endpoint. When we pass a query to this endpoint, it should return the retrieved context for that query as would be the real world scenario.
Set up request configuration
Add necessary headers and parameters to your request and save the context source
Implement in prompts and workflows
You can now use this in prompts and workflows.