-
Notifications
You must be signed in to change notification settings - Fork 859
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
[BUG] [VSCode Extension] VectorDB Index Lookup doesn't take the config.json variables into consideration #2876
Comments
Hi @dans-msft , @Adarsh-Ramanathan , could you help to take a look? Thanks! |
@pgr-lopes, for this error: @D-W-, the issue in the main thread isn't an Index Lookup issue; it is that subscriptions/resourcegroups/workspaces configured in config.json are not taken into account by the runtime when invoking a dynamic list callback. |
Sorry Adarsh, I missed this. The credential ended up being a problem with my system and the way the azcli communicates with the AD, it's not related to promptflow. |
I will dig this back to say that the VectorDB activity is not showing up in the VsCode extension tool and I still can't make it work with my existing flow, I am getting this error message when trying to open the Index Lookup (equivalent to vectorDB I assume) that I used in my Azure Machine Learning prompt flow which I exported to open locally:
I tried installing the azureml-rag package to no avail. |
…r folder repo to PF SDK (#3406) # Description Pass subscription/resource_group/workspace settings in the config file to the _retrieve_tool_func_result function call to fix #2876. There's another PR to read related files in the vscode extension repo. ![image](https://github.com/microsoft/promptflow/assets/14858674/724d950d-eb24-418b-9b0c-605979c5eb36) # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [x] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [x] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --------- Co-authored-by: Zhongming Lin <zholin@microsoft.com>
Describe the bug
Vector DB index configuration is not taking into account the config.json values, you need to setup the subscription ID, AML resource name and resource group through az cli.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
pip install promptflow-vectordb
Screenshots
Environment Information
pf -v
: 1.9.0python --version
: 3.11.0Additional context
N/A
The text was updated successfully, but these errors were encountered: