[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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzYyNjksIm5iZiI6MTczODkzNTk2OSwicGF0aCI6Ii80MzYwMDExLzM5NTkxMDA0OC02ODUxMzMwOS03YzFjLTQwYjktODNlOC1kOTcyZTgwY2UwOGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTM0NjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTAwOWVkMmMxZWQyMWFhYjY0OTVlOGJjMzNjM2RmOGUxZGNmMWYxOWI4MmRiZDRjNzRmZjZkNDJkMDJiNmQ2YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.9QRWIPevC_xafBXEOC4bSI5RDoFhzoPPMb1c1UI2N3M)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzYyNjksIm5iZiI6MTczODkzNTk2OSwicGF0aCI6Ii80MzYwMDExLzM5NTkxMTk0NS1jNmIwZDEyZi1mYmUxLTQ4NTgtOWVlNS1jM2MzZGE0MThjYTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTM0NjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTU2YWUyYzA2NTJkM2I0YTllNjM1M2FlMjcyMzQ1NWFmNTU3YzZiZDUyMDJiNzU3MDM5NzhjOTIyY2MzNzc2NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ECdP33zO1E8c92z9lQGLfP6zOuiETM6J0TzLx01kDWc)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzYyNjksIm5iZiI6MTczODkzNTk2OSwicGF0aCI6Ii80MzYwMDExLzM5NTkxMjc5MC1iYTJmMmRkYS1hYzZiLTQzZGYtYThhYi00OWMwZjFlZGFhOWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTM0NjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTU1MzdiODgwNDMxMTZiMjFmYjQ0YWI0MDg2NDA0N2ZmODA1YTZhMWJhZTQzMTNhYjYyNTYxNzI3NWI4NmFmYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0L_RFNEC1VDiTusQ1r_s6zpmdrYbBjTaKrUZigbaUjY)
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: