Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add langchain-localai link to Providers page localai.mdx #28855

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
Loading