Skip to content

error -- 'str' object has no attribute 'query' #221

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

Closed
elegoupil opened this issue Jun 12, 2025 · 1 comment
Closed

error -- 'str' object has no attribute 'query' #221

elegoupil opened this issue Jun 12, 2025 · 1 comment

Comments

@elegoupil
Copy link

@pamelafox - first thanks for this excellent template.

I have tried to adjust it to a collection of PDF documents we have - Here is my code: https://github.com/iom/Policy_Navigator

I did the adjustment as per your instructions, to fit the model of my chunked documents and embeddings.

It gets deployed in Azure - but whenever I run a prompt I reach this error...

Image

I have been searching (and asking gpt!) to identify the issue but I am still blocked... Any hint? Thanks so much

@elegoupil
Copy link
Author

A few more fix to add in the code! Now working -

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

1 participant