You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/langchain
Ofer Mendelevitch f8cf09a230
Update to Vectara integration (#5950)
This PR updates the Vectara integration (@hwchase17 ):
* Adds reuse of requests.session to imrpove efficiency and speed.
* Utilizes Vectara's low-level API (instead of standard API) to better
match user's specific chunking with LangChain
* Now add_texts puts all the texts into a single Vectara document so
indexing is much faster.
* updated variables names from alpha to lambda_val (to be consistent
with Vectara docs) and added n_context_sentence so it's available to use
if needed.
* Updates to documentation and tests

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
1 year ago
..
agents Fix handling of missing action & input for async MRKL agent (#5985) 1 year ago
callbacks Use LCP Client in Tracer (#5908) 1 year ago
chains Add additional parameters to Graph Cypher Chain (#5979) 1 year ago
chat_models Fix openai proxy error (#5914) 1 year ago
client
docstore
document_loaders feat: Add `UnstructuredXMLLoader` for `.xml` files (#5955) 1 year ago
embeddings Fix openai proxy error (#5914) 1 year ago
evaluation Update run eval imports in init (#5858) 1 year ago
experimental Add in the async methods and link the run id (#5810) 1 year ago
graphs Add additional parameters to Graph Cypher Chain (#5979) 1 year ago
indexes
llms Fix the issue where the parameters passed to VertexAI ignored #5889 (#5891) 1 year ago
memory Add support for the endpoint URL in DynamoDBChatMesasgeHistory (#5836) 1 year ago
output_parsers added support for different types in ResponseSchema class (#5789) 1 year ago
prompts
retrievers LOTR: Lord of the Retrievers. A retriever that merge several retrievers together applying document_formatters to them. (#5798) 1 year ago
tools Add logging in PBI tool (#5841) 1 year ago
utilities Fix the issue where the parameters passed to VertexAI ignored #5889 (#5891) 1 year ago
vectorstores Update to Vectara integration (#5950) 1 year ago
__init__.py
base_language.py
cache.py
docker-compose.yaml
document_transformers.py
env.py Use LCP Client in Tracer (#5908) 1 year ago
example_generator.py
formatting.py
input.py
math_utils.py
model_laboratory.py
py.typed
python.py
requests.py
schema.py
serpapi.py
server.py
sql_database.py Revise DATABRICKS_API_TOKEN as DATABRICKS_TOKEN (#5796) 1 year ago
text_splitter.py Add start index to metadata in TextSplitter (#5912) 1 year ago
utils.py