chunk_size: Chunk size for splitting the document.
chunk_overlap: The token overlap of each chunk when splitting.
Chat with the your Data using RAG Agent
from clarifai.rag import RAG
rag_agent = RAG(workflow_url='https://clarifai.com/clarifai/rag-template/workflows/rag-agent-gpt4-turbo-naive')
rag_agent.chat(messages=[{"role":"human", "content":"What is Clarifai"}])
Using Workflow
To utilize RAG Agents, you can input a query through the Blue Plus Try your own Input button. This incorporates all the documents in the Inputs as external data in RAG.
Workflow ID
rag-agent-gpt4-turbo-naive
Description
RAG Agent uses GPT-4 Turbo LLM model with a simple prompt for straightforward integration.
Last Updated
Jan 17, 2025
Privacy
PUBLIC
Share
Copy URL
Twitter
Facebook
Reddit
LinkedIn
Email
Help
rag-agent-gpt4-turbo-naive workflow by clarifai | Clarifai - The World's AI