From 2a7469e619c3c0a89abccc55dca7c192b0b5468b Mon Sep 17 00:00:00 2001 From: Mikhail Khludnev Date: Sat, 21 Dec 2024 01:02:32 +0300 Subject: [PATCH] add langchain-localai link to Providers page localai.mdx (#28855) follow up #28751 --------- Co-authored-by: Chester Curme --- docs/docs/integrations/providers/localai.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/docs/integrations/providers/localai.mdx b/docs/docs/integrations/providers/localai.mdx index d7c2929ccc25e..663eb592498ce 100644 --- a/docs/docs/integrations/providers/localai.mdx +++ b/docs/docs/integrations/providers/localai.mdx @@ -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 ```