Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
@elegoupil

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /