Feat: optimize error desc (#152)
This commit is contained in:
parent
a7c40a07d8
commit
9a5ae9f51f
15 changed files with 119 additions and 55 deletions
|
|
@ -83,7 +83,7 @@ class VectorIndex:
|
|||
if not self._dataset.index_struct_dict:
|
||||
return
|
||||
|
||||
service_context = IndexBuilder.get_default_service_context(tenant_id=self._dataset.tenant_id)
|
||||
service_context = IndexBuilder.get_fake_llm_service_context(tenant_id=self._dataset.tenant_id)
|
||||
|
||||
index = vector_store.get_index(
|
||||
service_context=service_context,
|
||||
|
|
@ -101,7 +101,7 @@ class VectorIndex:
|
|||
if not self._dataset.index_struct_dict:
|
||||
return
|
||||
|
||||
service_context = IndexBuilder.get_default_service_context(tenant_id=self._dataset.tenant_id)
|
||||
service_context = IndexBuilder.get_fake_llm_service_context(tenant_id=self._dataset.tenant_id)
|
||||
|
||||
index = vector_store.get_index(
|
||||
service_context=service_context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue