mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 17:08:47 +00:00
Fix more incorrect code blocks in doc strings (#9073)
Fix 2 more incorrect code blocks in strings
This commit is contained in:
parent
e3fb11bc10
commit
46f3428cb3
@ -577,7 +577,7 @@ class Chain(Serializable, Runnable[Dict[str, Any], Dict[str, Any]], ABC):
|
|||||||
A dictionary representation of the chain.
|
A dictionary representation of the chain.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
..code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
chain.dict(exclude_unset=True)
|
chain.dict(exclude_unset=True)
|
||||||
# -> {"_type": "foo", "verbose": False, ...}
|
# -> {"_type": "foo", "verbose": False, ...}
|
||||||
|
@ -59,7 +59,7 @@ class CacheBackedEmbeddings(Embeddings):
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
..code-block:: python
|
.. code-block: python
|
||||||
|
|
||||||
from langchain.embeddings import CacheBackedEmbeddings, OpenAIEmbeddings
|
from langchain.embeddings import CacheBackedEmbeddings, OpenAIEmbeddings
|
||||||
from langchain.storage import LocalFileStore
|
from langchain.storage import LocalFileStore
|
||||||
|
Loading…
Reference in New Issue
Block a user