Skip to content
Snippets Groups Projects
Unverified Commit 4927b3d2 authored by Ofer Mendelevitch's avatar Ofer Mendelevitch Committed by GitHub
Browse files

bug fix - make sure no embedding is required with OpenAI (#10426)

bug fix
parent 4e3700de
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,9 @@ class VectaraIndex(BaseManagedIndex):
super().__init__(
show_progress=show_progress,
index_struct=index_struct,
service_context=ServiceContext.from_defaults(llm=None, llm_predictor=None),
service_context=ServiceContext.from_defaults(
llm=None, llm_predictor=None, embed_model=None
),
**kwargs,
)
self._vectara_customer_id = vectara_customer_id or os.environ.get(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment