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

Can we query Qdrant directly without needing sources? #1692

Closed
andrewyuau opened this issue Jun 18, 2024 · 4 comments
Closed

Can we query Qdrant directly without needing sources? #1692

andrewyuau opened this issue Jun 18, 2024 · 4 comments

Comments

@andrewyuau
Copy link

andrewyuau commented Jun 18, 2024

I followed instructions to spin up Qdrant using Docker and passed the QDRANT_URL and QDRANT_API_KEY.

I'm trying to get h2ogpt to query Qdrant directly by not having any files in /workspace/user_path and deleting the directory /workspace/db_dir_UserData. However, I am getting an error message "Did not generate db for UserData since no sources" which originates from line 6258 in gpt_langchain.py.

Is it possible to use my own Qdrant without needing sources?

@andrewyuau
Copy link
Author

My current workaround is to have one entry in /workspace/user_path and h2ogpt automatically adds that entry into my Qdrant DB. I then delete that entry manually from Qdrant DB and then h2ogpt can query the rest of the entries in my own Qdrant DB.

@pseudotensor
Copy link
Collaborator

@Anush008 may be able to help.

@Anush008
Copy link
Contributor

Anush008 commented Jul 4, 2024

Hey @andrewyuau, from the codebase, I see it should only be a log message and not an error. You should probably be able to continue to using it.

@andrewyuau
Copy link
Author

The workaround works for me so I will close this, thank you.

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