mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 10:23:30 +00:00
[docs]: add missing tiktoken dependency (#14497)
Description: I was following the docs and got an error about missing tiktoken dependency. Adding it to the comment where the langchain and docarray libs are.
This commit is contained in:
parent
b4e3e47c92
commit
5da79e150b
@ -321,7 +321,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# Requires:\n",
|
"# Requires:\n",
|
||||||
"# pip install langchain docarray\n",
|
"# pip install langchain docarray tiktoken\n",
|
||||||
"\n",
|
"\n",
|
||||||
"from langchain.chat_models import ChatOpenAI\n",
|
"from langchain.chat_models import ChatOpenAI\n",
|
||||||
"from langchain.embeddings import OpenAIEmbeddings\n",
|
"from langchain.embeddings import OpenAIEmbeddings\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user