Skip to content

Default deployment variables assumes multimodal embeddings use #2710

@markti

Description

@markti

I've set this up successfully previously. but using all the defaults.

basically ran azd up.

this time the deployment is successful BUT getting runtime errors when chatting in the app.

Image

App insights is saying there are failed transactions here:

Image

seems like this is failing. GET /.auth/me

was authentication added as default or something?

It also seems I am getting 500 on /ask

Traceback (most recent call last):
  File "/app/app.py", line 190, in ask
    r = await approach.run(
        ^^^^^^^^^^^^^^^^^^^
  File "/app/approaches/retrievethenread.py", line 99, in run
    extra_info = await self.run_search_approach(messages, overrides, auth_claims)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/approaches/retrievethenread.py", line 171, in run_search_approach
    vectors.append(await self.compute_multimodal_embedding(q))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/approaches/approach.py", line 536, in compute_multimodal_embedding
    raise ValueError("Approach is missing an image embeddings client for multimodal queries")
ValueError: Approach is missing an image embeddings client for multimodal queries

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