refactor: Update VectaraVectorStoreComponent to use new parameter names
This commit is contained in:
parent
7c2298b714
commit
e07aabd761
1 changed files with 6 additions and 6 deletions
|
|
@ -72,16 +72,16 @@ class VectaraVectorStoreComponent(Component):
|
||||||
return Vectara.from_documents(
|
return Vectara.from_documents(
|
||||||
documents=documents,
|
documents=documents,
|
||||||
embedding=FakeEmbeddings(size=768),
|
embedding=FakeEmbeddings(size=768),
|
||||||
customer_id=self.vectara_customer_id,
|
vectara_customer_id=self.vectara_customer_id,
|
||||||
corpus_id=self.vectara_corpus_id,
|
vectara_corpus_id=self.vectara_corpus_id,
|
||||||
api_key=self.vectara_api_key,
|
vectara_api_key=self.vectara_api_key,
|
||||||
source=source,
|
source=source,
|
||||||
)
|
)
|
||||||
|
|
||||||
return Vectara(
|
return Vectara(
|
||||||
customer_id=self.vectara_customer_id,
|
vectara_customer_id=self.vectara_customer_id,
|
||||||
corpus_id=self.vectara_corpus_id,
|
vectara_corpus_id=self.vectara_corpus_id,
|
||||||
api_key=self.vectara_api_key,
|
vectara_api_key=self.vectara_api_key,
|
||||||
source=source,
|
source=source,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue