Skip to content

Commit

Permalink
openai[patch]: Docs fix RST formatting in OpenAIEmbeddings (#25293)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev authored Aug 12, 2024
1 parent ee8a585 commit 0a35008
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/partners/openai/langchain_openai/embeddings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ class OpenAIEmbeddings(BaseModel, Embeddings):
)
Embed single text:
.. code-block:: python
input_text = "The meaning of life is 42"
Expand All @@ -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"])
Expand Down

0 comments on commit 0a35008

Please sign in to comment.