mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
Remove optional from vectara source (#11493)
fyi @ofermend --------- Co-authored-by: Ofer Mendelevitch <ofer@vectara.com> Co-authored-by: Ofer Mendelevitch <ofermend@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ class Vectara(VectorStore):
|
||||
vectara_corpus_id: Optional[str] = None,
|
||||
vectara_api_key: Optional[str] = None,
|
||||
vectara_api_timeout: int = 60,
|
||||
source: Optional[str] = "langchain",
|
||||
source: str = "langchain",
|
||||
):
|
||||
"""Initialize with Vectara API."""
|
||||
self._vectara_customer_id = vectara_customer_id or os.environ.get(
|
||||
|
||||
Reference in New Issue
Block a user