Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the difference between RAG Agent and question Answer? #1103

Open
aliabbasjp opened this issue Sep 10, 2024 · 4 comments
Open

What is the difference between RAG Agent and question Answer? #1103

aliabbasjp opened this issue Sep 10, 2024 · 4 comments

Comments

@aliabbasjp
Copy link
Contributor

aliabbasjp commented Sep 10, 2024

image

I see when i use question answer it defaults to using openAI even if other config is configured to use only localllm and i see no way to configure it. It errors out in the logs showing unable to connect to openai

Screenshot 2024-09-10 at 7 21 14 PM
@NolanTrem
Copy link
Collaborator

Hey @aliabbasjp the RAG agent is a multi-turn LLM agent, which can choose to answer a query with or without a search. It makes a tool call to conduct the search.

Question and answer always does a search, and is single-turn.

In #1104 you mention that you're running a local LLM—in the sidebar to the left here you need to specify the model. Right now it defaults to OpenAI(which, as you noted, you're not using, so it's throwing a 500 error.) This is going to be updated in our next release such that we don't set the model on the UI by default.

This question is related to #1104, so I'll keep this one open and close the other. Let me know if this solves it for you!

@aliabbasjp
Copy link
Contributor Author

aliabbasjp commented Sep 10, 2024

Thanks, so how can i configure the tooling the rag agent uses?
Question Answer is using default open ai?

@NolanTrem
Copy link
Collaborator

NolanTrem commented Sep 10, 2024

You can select the model on the sidebar, like so:
Screenshot 2024-09-10 at 9 28 25 AM

We don't currently have a way to modify and add custom tools, but we hope to add this in soon.

@riyajatar37003
Copy link

i am unable to run qna from UI.
its throwing network error
Image 30-09-24 at 11 17 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants