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

Agent is not using my documents #1004

Open
nachogarciam opened this issue Dec 4, 2024 · 5 comments
Open

Agent is not using my documents #1004

nachogarciam opened this issue Dec 4, 2024 · 5 comments

Comments

@nachogarciam
Copy link

Describe the bug
When selecting "my documents" on UI, it does not use my documents, it uses the search engine.

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. config keys (im using azure openai model)
  3. upload a txt file to "./my-docs" folder
  4. run app with the specified command.
  5. In sources selection section select "my documents"
  6. ask

Expected behavior
I expect that the model read my documents and not search on internet.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: windows
  • Browser MS Edge

Additional context
Add any other context about the problem here.
Im using the same model for "FAST", "SMART" and "STRATEGIC_LLM"

FAST_LLM=azure_openai:gpt-4o-mini
SMART_LLM=azure_openai:gpt-4o-mini
STRATEGIC_LLM=azure_openai:gpt-4o-mini

EMBEDDING="azure_openai:text-embedding-ada-002"

RESULT:

image

@adrianhensler
Copy link
Contributor

Just because you did not mention it, and it is showing in the image you shared - may I ask if you set the doc_path?

I believe this is required on Windows as well as linux (I run it on a chromebook most of the time, in Ubuntu)
https://docs.gptr.dev/docs/gpt-researcher/context/tailored-research#research-on-local-documents-

@nachogarciam
Copy link
Author

Hi Adrian, yes I did set the path

@knoel99
Copy link

knoel99 commented Dec 16, 2024

I have the same behavior, when the app go search on the web, even if I can see my documents in my path in Preferences > Report Source > My Documents

@fan-wen
Copy link

fan-wen commented Dec 17, 2024

I have the same behavior too - this might be a bug...

@amirsa66
Copy link

@nachogarciam
This bug doesn't fix yet?

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

5 participants