Skip to content
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

Type Error bug in azure-sdk-for-python #263

Open
TaisukeIto opened this issue Aug 9, 2024 · 1 comment
Open

Type Error bug in azure-sdk-for-python #263

TaisukeIto opened this issue Aug 9, 2024 · 1 comment

Comments

@TaisukeIto
Copy link

There seems to be an issue creating a field of type Collection(EdmSingle) in azure-search-documents==1.15.1 This could be a bug in azure-sdk-for-python

SearchFieldDataType.Collection(SearchFieldDataType.Single) -> Edm.String

(python program)
fields = [
SearchableField(name="titleVector", type=SearchFieldDataType.Collection(SearchFieldDataType.Single), searchable=True, vector_search_dimensions=3072, vector_search_profile_name="myHnswProfile"),
]

(JSON)
{
"name": "titleVector",
"type": "Edm.String",
:
}

@farzad528
Copy link
Collaborator

can you share the exact error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants