题意:
Langchain and Azure cognitive search - ImportError - cannot import name 'Vector' from 'azure.search.documents.models'
“Langchain 和 Azure 认知搜索 - 导入错误:无法从 'azure.search.documents.models' 导入名称 'Vector'”
问题背景:
I am seeing a "cannot import name 'Vector' from azure.search.documents.models" error when I invoke my chain. Origin of my error is line 434 in lanchain/vectorstores/azuresearch.py (from azure.search.documents.models import Vector)
“当我调用链时,出现了一个 ‘无法从 azure.search.documents.models 导入名称 Vector’ 的错误。错误来源于 lanchain/vectorstores/azuresearch.py 文件的第 434 行(`from azure.search.documents.models import Vector`)。”
标签:...,search,documents,cognitive,models,Vector,azure,import From: https://blog.csdn.net/suiusoar/article/details/143757532