Closed teebu closed 1 week ago
Looks like this is from the promptflow_vectordb tool?
Yea
- name: querySearchResource
type: python
source:
type: package
tool: promptflow_vectordb.tool.common_index_lookup.search
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
Describe the bug Creating a docker image to deploy with open ai connection and azure ai search connection.
Note: running this flow from inside VS code works fine when I am logged in (az login, etc).
How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug: Create chat flow. Export the flow locally In VS code create connections for open ai deployment and azure ai search Build the flow pf flow build --source . --output dist--format docker Inspect the dist/connections directory and observe that the AI Search connection is missing
Expected behavior Ability to run flows from inside docker container image
Screenshots If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
pf -v
: [e.g. 0.0.102309906]python --version
: [e.g. python==3.10.12]Additional context
Things I tried:
Manually created connection for azure ai search yaml (AzureAISearch.yaml) with ENV passing when starting docker.
set service.provider=local and set connection file in run file:
Error logs:
For some reason it expects me to be logged into azure. But, im trying to make a docker image.