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:
Mikhail Khludnev 2024-12-21 01:02:32 +03:00 committed by GitHub
parent f38fc89f35
commit 2a7469e619
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
```