.env
file or provide args to connect LangChain to your Vectara corpus:
VECTARA_CORPUS_ID=3,8,9,43
.
For indexing multiple corpora, you’ll need to create a separate VectaraStore instance for each corpus.
lambda
is a parameter related to Vectara’s hybrid search capbility, providing a tradeoff between neural search and boolean/exact match as described here. We recommend the value of 0.025 as a default, while providing a way for advanced users to customize this value if needed.