Skip to content

Commit

Permalink
DOC: Added notes in ipynb file to advise user to upgrade package lang…
Browse files Browse the repository at this point in the history
…chain_openai. For issue: #26616 (#27621)

Thank you for contributing to LangChain!

- [X] **PR title**: DOC: Added notes in ipynb file to advice user to
upgrade package langchain_openai.


- [X] 

Added notes from the issue report: to advise the user to upgrade
langchain_openai


Issue: 
#26616

- [ ] **Add tests and docs**: 

- [ ] **Lint and test**: 

- [ ]

---------

Co-authored-by: Libby Lin <[email protected]>
Co-authored-by: Erick Friis <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2024
1 parent 0623c74 commit bcff458
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/docs/integrations/tools/pandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"\n",
"This notebook shows how to use agents to interact with a `Pandas DataFrame`. It is mostly optimized for question answering.\n",
"\n",
"**NOTE: this agent calls the `Python` agent under the hood, which executes LLM generated Python code - this can be bad if the LLM generated Python code is harmful. Use cautiously.**"
"**NOTE: this agent calls the `Python` agent under the hood, which executes LLM generated Python code - this can be bad if the LLM generated Python code is harmful. Use cautiously.**\n",
"\n",
"**NOTE: Since langchain migrated to v0.3 you should upgrade langchain_openai and langchain. This would avoid import errors.**\n",
"\n",
"\n",
"pip install --upgrade langchain_openai\n",
"pip install --upgrade langchain\n"
]
},
{
Expand Down Expand Up @@ -294,7 +300,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.1"
"version": "3.11.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit bcff458

Please sign in to comment.