-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Agent is not using my documents #1004
Comments
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) |
Hi Adrian, yes I did set the path |
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 |
I have the same behavior too - this might be a bug... |
@nachogarciam |
I also experience this problem: I have uploaded a file and set Report Source as "My Documents" but it immediately starts a Web Search gpt-researcher-1 | Files in ./my-docs: ['abc.pdf'] gpt-researcher-1 | INFO: [08:43:48] 🔍 Starting the research task for 'summarize document'... gpt-researcher-1 | INFO: [08:43:48] 📝 Document Analysis Agent gpt-researcher-1 | 2025-01-07 08:43:48,281 - research - INFO - Using web search gpt-researcher-1 | 2025-01-07 08:43:48,281 - research - INFO - Starting web search for query: summarize document |
i did some digging and it seems the form report_source value is not being passed or is being overrided so that self.researcher.report_source always equals "web" and does not trigger the "local" option in gpt-researcher > gpt_researcher > skills > researcher.py > ResearchConductor > conduct_research |
Fixed with PR #1070 |
Hi, I have the same issue even after the fix. The documents are loaded but the web search starts immediately afterwards, and no reference to the local documents is made in the report. Any idea what the error is here? Thank you. |
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:
Expected behavior
I expect that the model read my documents and not search on internet.
Screenshots
![image](https://private-user-images.githubusercontent.com/14189769/392201878-e7be7390-1907-4647-ac91-63c094725220.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MTMzMjUsIm5iZiI6MTczOTUxMzAyNSwicGF0aCI6Ii8xNDE4OTc2OS8zOTIyMDE4NzgtZTdiZTczOTAtMTkwNy00NjQ3LWFjOTEtNjNjMDk0NzI1MjIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDA2MDM0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkNjQxYTJmNzM2Mjg3Zjg0YjFmNDcyNzVhZWM0N2M5YjE3ZTc4OTk0NGNjZDI1YjZlYzQ3OGJlZmVkMGYyMGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qApM3B_111mXXT54mvyqa9kWK-66X1oVb6YF6HDXhFU)
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
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:
The text was updated successfully, but these errors were encountered: