Comments (7)
I've been playing around with this test with my flow.dag.yml
and it looks like where it's falling down is in flow.py:get_connection_names() where it does not inspect the mlindex_content
.
I'm not sure if the code has changed to break this, if the generated flow.dag.yml
interface has changed or perhaps this has never worked? Or maybe I'm doing something wrong!
from promptflow.
Looks like there has been a change to this recently https://learn.microsoft.com/en-us/azure/machine-learning/prompt-flow/tools-reference/index-lookup-tool?view=azureml-api-2#how-to-migrate-from-legacy-tools-to-the-index-lookup-tool.
from promptflow.
Pretty sure you hit the same problem I did: #2876
You have to do the metadata account set manually, for whatever reason the activity is not taking the config.json file into consideration:
az login
az account set --subscription <subscription_id>
az configure --defaults group=<resource_group_name> workspace=<workspace_name>
from promptflow.
I've hardcoded a connection in the flow.dag.yml
which has got me further.
I am now getting a response of:
{"error":{"code":"UserError","message":"Execution failure in 'index_lookup': (Exception) Exception occured in search_function_construction."}}
I have also deployed this to an AML endpoint using the deploy button in AML and get the same error there.
As it stands, from what I can tell, using Azure AI Search with Prompt Flow is currently unusable unless invoked from AML Studio.
from promptflow.
Related Issues (20)
- [BUG] [VSCode Extension] HOT 2
- How can I save global variables using Promptflow HOT 1
- [BUG] Types for promptflow-evals evaluator classes HOT 2
- [Feature Request] Add docstrings for constructors
- [Feature Request] Provide example of evaluator_config for evaluate
- [Feature Request] Allow Path objects for evaluate data and output_path parameters
- [Feature Request] Allow the data parameter of evaluate to take a list HOT 3
- [Feature Request] Allow the target function in evaluate to be a local function HOT 1
- [Feature Request] Improve compatibility between PromptFlow and Python modules with relative imports HOT 4
- [BUG] can not build docker image
- [BUG] API KEY is not extracted from environment variables during connection creation with promptflow 1.10.1 HOT 3
- Add Support for Image Generation with AzureOpenAI
- [BUG] Fallback to DefaultAzureCredential isn't compatible with AzureDeveloperCliCredential HOT 1
- [BUG] UnicodeEncodeError during evaluation HOT 5
- [BUG] pf connection create complains that creating an AI connection can't be done from PromptFlow HOT 6
- [BUG] Serving UI doesn't return flow result HOT 8
- [BUG] prompty-quickstart.ipynb run evaluation not working due to RuntimeError HOT 2
- [Feature Request] JSON formatted Logs
- chat pdf viewer code release? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptflow.