FIX: typos in docs (#28679)

- **Twitter handle:**@timi471
This commit is contained in:
Ayantunji Timilehin 2024-12-12 01:06:04 +01:00 committed by GitHub
parent 45f9c9ae88
commit a4713cab47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
"**Attention**:\n", "**Attention**:\n",
"\n", "\n",
"- Be sure to set the `namespace` parameter to avoid collisions of the same text embedded using different embeddings models.\n", "- Be sure to set the `namespace` parameter to avoid collisions of the same text embedded using different embeddings models.\n",
"- `CacheBackedEmbeddings` does not cache query embeddings by default. To enable query caching, one need to specify a `query_embedding_cache`." "- `CacheBackedEmbeddings` does not cache query embeddings by default. To enable query caching, one needs to specify a `query_embedding_cache`."
] ]
}, },
{ {

View File

@ -15,7 +15,7 @@
"\n", "\n",
":::\n", ":::\n",
"\n", "\n",
"In many cases, it is advantageous to pass in handlers instead when running the object. When we pass through [`CallbackHandlers`](https://python.langchain.com/api_reference/core/callbacks/langchain_core.callbacks.base.BaseCallbackHandler.html#langchain-core-callbacks-base-basecallbackhandler) using the `callbacks` keyword arg when executing an run, those callbacks will be issued by all nested objects involved in the execution. For example, when a handler is passed through to an Agent, it will be used for all callbacks related to the agent and all the objects involved in the agent's execution, in this case, the Tools and LLM.\n", "In many cases, it is advantageous to pass in handlers instead when running the object. When we pass through [`CallbackHandlers`](https://python.langchain.com/api_reference/core/callbacks/langchain_core.callbacks.base.BaseCallbackHandler.html#langchain-core-callbacks-base-basecallbackhandler) using the `callbacks` keyword arg when executing a run, those callbacks will be issued by all nested objects involved in the execution. For example, when a handler is passed through to an Agent, it will be used for all callbacks related to the agent and all the objects involved in the agent's execution, in this case, the Tools and LLM.\n",
"\n", "\n",
"This prevents us from having to manually attach the handlers to each individual nested object. Here's an example:" "This prevents us from having to manually attach the handlers to each individual nested object. Here's an example:"
] ]

View File

@ -37,7 +37,7 @@
"\n", "\n",
"Langchain comes with a built-in in memory rate limiter. This rate limiter is thread safe and can be shared by multiple threads in the same process.\n", "Langchain comes with a built-in in memory rate limiter. This rate limiter is thread safe and can be shared by multiple threads in the same process.\n",
"\n", "\n",
"The provided rate limiter can only limit the number of requests per unit time. It will not help if you need to also limited based on the size\n", "The provided rate limiter can only limit the number of requests per unit time. It will not help if you need to also limit based on the size\n",
"of the requests." "of the requests."
] ]
}, },