similarity_search
and similarity_search_with_score
as well as using the LangChain as_retriever
functionality.
VectaraVectorStore
you first need to install the partner package.
corpus_key
and api_key
.
You can provide VECTARA_API_KEY
to LangChain in two ways:
VECTARA_API_KEY
.
For example, you can set these variables using os.environ and getpass as follows:
Vectara
vectorstore constructor:VectaraQueryConfig
object to control the retrieval and summarization options:
Runnable
object that encpasulates the full Vectara RAG pipeline, using the as_rag
method:
memory
component that maintains the history of chat sessions and then uses that history to ensure the chatbot is aware of conversation history.
With Vectara Chat - all of that is performed in the backend by Vectara automatically.