[BUG] Tool/promptflow_vectordb.tool.common_index_lookup Can't run common index lookup locally #3886
Labels
bug
Something isn't working
no-recent-activity
There has been no recent activity on this issue/pull request
Describe the bug
I installed promptflow_vectordb version 0.2.13 in my local environment but when I try to use the common index lookup tool the same way I do in the portal I get the following issues:
The options don't load correctly:
![Image](https://private-user-images.githubusercontent.com/4360011/395910048-68513309-7c1c-40b9-83e8-d972e80ce08e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjMwMDIsIm5iZiI6MTczODkyMjcwMiwicGF0aCI6Ii80MzYwMDExLzM5NTkxMDA0OC02ODUxMzMwOS03YzFjLTQwYjktODNlOC1kOTcyZTgwY2UwOGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTAwNTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDU2MzhmOTRhODVmNjc5MzhiN2UzYjU4ZDJhZjNlMDdhNzQ2OGQ4OWNmYzkyNWRkMmNhMDQwM2VlOWQzZmRlZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.fbKaezbSLHAXa30vVNrK0FaK3zXdqIfSOOhMYU5uMbg)
when I try to select the index_type, the options don't get displayed and instead I get an error:
If I just paste the same values I use in Foundry I get an error in the query_type like this:
![Image](https://private-user-images.githubusercontent.com/4360011/395911945-c6b0d12f-fbe1-4858-9ee5-c3c3da418ca9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjMwMDIsIm5iZiI6MTczODkyMjcwMiwicGF0aCI6Ii80MzYwMDExLzM5NTkxMTk0NS1jNmIwZDEyZi1mYmUxLTQ4NTgtOWVlNS1jM2MzZGE0MThjYTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTAwNTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjc4YmU5N2FjYzVhZWQ4NTgxMjVhNjE1NjMwNzBhNmI3ZmZjYzkyMjgyOGU3YTE0N2IwZTg1OTg1NDBjZTUzMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pHYx5X9AGWU8_hJb5wG80YsW37s8QiM7rusbe041Tuo)
If I try to run it like that I get an error:
![Image](https://private-user-images.githubusercontent.com/4360011/395912790-ba2f2dda-ac6b-43df-a8ab-49c0f1edaa9c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjMwMDIsIm5iZiI6MTczODkyMjcwMiwicGF0aCI6Ii80MzYwMDExLzM5NTkxMjc5MC1iYTJmMmRkYS1hYzZiLTQzZGYtYThhYi00OWMwZjFlZGFhOWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTAwNTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzViMTQ5MmFhZjJhMTk3NDQxMzAyODkxMzk5ZTRjNzEyMTQwZTQ1NzFiOTk3MTIwOTJjNzYxYzgwZDI0Y2M3NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.WunzptnCWTa1vRbzShDwH5Py5lJ_GRAet1803kMD1hY)
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
pip install promptflow_vectordb
You can see the problems for here. it happens every time.
Expected behavior
I would like to be able to configure the index lookup tool locally and run it.
Running Information(please complete the following information):
"promptflow": "1.16.2",
"promptflow-azure": "1.16.2",
"promptflow-core": "1.16.2",
"promptflow-devkit": "1.16.2",
"promptflow-tracing": "1.16.2"
}
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: