mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 17:08:47 +00:00
add langchain-localai link to Providers page localai.mdx (#28855)
follow up #28751 --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
f38fc89f35
commit
2a7469e619
@ -10,6 +10,11 @@
|
||||
For proper compatibility, please ensure you are using the `openai` SDK at version **0.x**.
|
||||
:::
|
||||
|
||||
:::info
|
||||
`langchain-localai` is a 3rd party integration package for LocalAI. It provides a simple way to use LocalAI services in Langchain.
|
||||
The source code is available on [Github](https://github.com/mkhludnev/langchain-localai)
|
||||
:::
|
||||
|
||||
## Installation and Setup
|
||||
|
||||
We have to install several python packages:
|
||||
@ -24,5 +29,5 @@ pip install tenacity openai
|
||||
See a [usage example](/docs/integrations/text_embedding/localai).
|
||||
|
||||
```python
|
||||
from langchain_community.embeddings import LocalAIEmbeddings
|
||||
from langchain_localai import LocalAIEmbeddings
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user