Skip to content

Commit

Permalink
πŸ”„ Update OpenAIEmbeddings import path
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Feb 17, 2024
1 parent f69a6de commit 908a7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/concepts/langchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This will convert your function into a runnable that can be used in LCEL so you
from funcchain import chain, runnable
from langchain_community.vectorstores.faiss import FAISS
from langchain_core.runnables import Runnable, RunnablePassthrough
from langchain_openai.embeddings import OpenAIEmbeddings
from langchain_community.embeddings import OpenAIEmbeddings

@runnable
def generate_poem(topic: str, context: str) -> str:
Expand Down

0 comments on commit 908a7cf

Please sign in to comment.