mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
openai[patch]: Docs fix RST formatting in OpenAIEmbeddings (#25293)
This commit is contained in:
parent
ee8a585791
commit
0a3500808d
@ -143,7 +143,6 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
|
||||
)
|
||||
|
||||
Embed single text:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
input_text = "The meaning of life is 42"
|
||||
@ -155,7 +154,6 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
|
||||
[-0.024603435769677162, -0.007543657906353474, 0.0039630369283258915]
|
||||
|
||||
Embed multiple texts:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
vectors = embeddings.embed_documents(["hello", "goodbye"])
|
||||
|
Loading…
Reference in New Issue
Block a user