Skip to content

Commit

Permalink
Docs: Add missing import of 'ConfigurableField' in 'Full code compari…
Browse files Browse the repository at this point in the history
…son' example in LCEL (#15661)

<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
- **Description:** Add missing import of 'ConfigurableField' in 'Full
code comparison' example in LCEL
  - **Issue:** Example code not running
  - **Dependencies:** None
  - **Twitter handle:** @heyyoshan
  • Loading branch information
abzachshan authored Jan 7, 2024
1 parent 38ae4df commit 7025fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/expression_language/why.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@
"from langchain_openai import OpenAI\n",
"from langchain_core.output_parsers import StrOutputParser\n",
"from langchain_core.prompts import ChatPromptTemplate\n",
"from langchain_core.runnables import RunnablePassthrough\n",
"from langchain_core.runnables import RunnablePassthrough, ConfigurableField\n",
"\n",
"os.environ[\"LANGCHAIN_API_KEY\"] = \"...\"\n",
"os.environ[\"LANGCHAIN_TRACING_V2\"] = \"true\"\n",
Expand Down

0 comments on commit 7025fa2

Please sign in to comment.