Azure / Azure/azure-search-vector-samples

Unsupported Api Type. - multimodal e2e #276

Open
#315 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
910
Forks
377
PR merge metrics
No merged PRs in 30d

Description

HI Team

I am trying the below notebook and i am getting error

https://github.com/Azure/azure-search-vector-samples/blob/0b1be9798b96ec6d32dccb5bc70d0c8a1142f6ae/demo-python/code/indexers/index-and-chat/index-and-chat.ipynb

`File ~/Codes/azure-duplex-voice-bot/.venv/lib/python3.12/site-packages/azure/search/documents/indexes/_search_indexer_client.py:636, in SearchIndexerClient.create_or_update_skillset(self, skillset, match_condition, skip_indexer_reset_requirement_for_cache, disable_cache_reprocessing_change_detection, **kwargs) 633 _validate_skillset(skillset) 634 skillset_gen = skillset._to_generated() if hasattr(skillset, "_to_generated") else skillset--> 636 result = self._client.skillsets.create_or_update( 637 skillset_name=skillset.name, 638 skillset=skillset_gen, 639 prefer="return=representation", 640 error_map=error_map, 641 skip_indexer_reset_requirement_for_cache=skip_indexer_reset_requirement_for_cache, 642 disable_cache_reprocessing_change_detection=disable_cache_reprocessing_change_detection, 643 **kwargs 644 ) 645 return cast(SearchIndexerSkillset, SearchIndexerSkillset._from_generated(result))
File ~/Codes/azure-duplex-voice-bot/.venv/lib/python3.12/site-packages/azure/core/tracing/decorator.py:105, in distributed_trace..decorator..wrapper_use_tracer(*args, **kwargs) 103 span_impl_type = settings.tracing_implementation() 104 if span_impl_type is None:--> 105 return func(*args, **kwargs) 107 # Merge span is parameter is set, but only if no explicit parent are passed 108 if merge_span and not passed_in_parent:
File ~/Codes/azure-duplex-voice-bot/.venv/lib/python3.12/site-packages/azure/search/documents/indexes/_generated/operations/_skillsets_operations.py:453, in SkillsetsOperations.create_or_update(self, skillset_name, prefer, skillset, if_match, if_none_match, skip_indexer_reset_requirement_for_cache, disable_cache_reprocessing_change_detection, request_options, **kwargs) 451 map_error(status_code=response.status_code, response=response, error_map=error_map) 452 error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)--> 453 raise HttpResponseError(response=response, model=error) 455 deserialized = self._deserialize("SearchIndexerSkillset", pipeline_response.http_response) 457 if cls:
HttpResponseError: () Unexpected error validating provided resource. { "error": { "code": "InvalidApiType", "message": "Unsupported Api Type." } }
Code:
Message: Unexpected error validating provided resource. { "error": { "code": "InvalidApiType", "message": "Unsupported Api Type." } }`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked index-and-chat.ipynb notebook and the SearchIndexerClient.create_or_update_skillset call shown in the traceback. Reproduce the InvalidApiType error and inspect the skillset configuration and service response. Done means identifying a compatible API type or configuration and confirming the notebook can create the skillset successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.