mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-23 11:32:10 +00:00
docs: migration to langchain_oci
(#32619)
Doc update. I missed a couple mentions of the old package.
This commit is contained in:
parent
f896bcdb1d
commit
2ec63ca7da
@ -11,7 +11,7 @@ The `LangChain` integrations related to [Oracle Cloud Infrastructure](https://ww
|
|||||||
To use, you should have the latest `oci` python SDK and the langchain_community package installed.
|
To use, you should have the latest `oci` python SDK and the langchain_community package installed.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install -U oci langchain-community
|
pip install -U langchain_oci
|
||||||
```
|
```
|
||||||
|
|
||||||
See [chat](/docs/integrations/llms/oci_generative_ai), [complete](/docs/integrations/chat/oci_generative_ai), and [embedding](/docs/integrations/text_embedding/oci_generative_ai) usage examples.
|
See [chat](/docs/integrations/llms/oci_generative_ai), [complete](/docs/integrations/chat/oci_generative_ai), and [embedding](/docs/integrations/text_embedding/oci_generative_ai) usage examples.
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"!pip install -U oci"
|
"!pip install -U langchain_oci"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -71,7 +71,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from langchain_community.embeddings import OCIGenAIEmbeddings\n",
|
"from langchain_oci.embeddings import OCIGenAIEmbeddings\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# use default authN method API-key\n",
|
"# use default authN method API-key\n",
|
||||||
"embeddings = OCIGenAIEmbeddings(\n",
|
"embeddings = OCIGenAIEmbeddings(\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user