Skip to content

Commit

Permalink
add langchain-localai link to Providers page localai.mdx (#28855)
Browse files Browse the repository at this point in the history
follow up #28751

---------

Co-authored-by: Chester Curme <[email protected]>
  • Loading branch information
mkhludnev and ccurme authored Dec 20, 2024
1 parent f38fc89 commit 2a7469e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/docs/integrations/providers/localai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
```

0 comments on commit 2a7469e

Please sign in to comment.