run-llama / rags

Build ChatGPT over your data, all with natural language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run this project?

SSshuishui opened this issue · comments

After stream run 1_home.py. How I can build a agent? by input what and how I can upload or point a file, have a example? No matter what I input, it always be:
system_prompt=None file_paths=[] docs=[] tools=[] rag_params=RAGParams(include_summarization=False, top_k=2, chunk_size=1024, embed_model='default', llm='gpt-4-1106-preview') agent=None
Thanks a lot!

@SSshuishui You can ask it to RAG bot/ chatbot on x.pdf (or any other file) which is present in rags directory. You can check the blog post here for detailed instructions.