From 8f50b616c5093b4a8a4162b29c01538cd5f980bf Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Fri, 6 Oct 2023 12:12:44 -0700 Subject: [PATCH] Remove optional from vectara source (#11493) fyi @ofermend --------- Co-authored-by: Ofer Mendelevitch Co-authored-by: Ofer Mendelevitch --- libs/langchain/langchain/vectorstores/vectara.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain/langchain/vectorstores/vectara.py b/libs/langchain/langchain/vectorstores/vectara.py index ed3ffedf66..162f8cd169 100644 --- a/libs/langchain/langchain/vectorstores/vectara.py +++ b/libs/langchain/langchain/vectorstores/vectara.py @@ -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(