langchain/libs/cli/langchain_cli/integration_template
Erick Friis c77d2f2b06
multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646)
0.2 is not a breaking release for core (but it is for langchain and
community)

To keep the core+langchain+community packages in sync at 0.2, we will
relax deps throughout the ecosystem to tolerate `langchain-core` 0.2
2024-05-13 19:50:36 -07:00
..
docs docs: partner packages (#16960) 2024-02-02 15:12:21 -08:00
integration_template cli[minor]: Add __version__ to integration package template (#19876) 2024-04-01 15:34:38 -04:00
scripts cli[patch]: integration template nits (#14691) 2024-02-09 17:59:34 -08:00
tests cli[patch]: add embedding to integration template (#14881) 2023-12-19 09:58:21 -08:00
.gitignore cli[patch]: integration template (#14571) 2023-12-13 08:55:30 -08:00
LICENSE cli[patch]: copyright 2024 default (#17204) 2024-02-07 14:52:37 -08:00
Makefile cli[minor]: Add disable sockets in unit tests (#19877) 2024-04-03 17:17:50 -04:00
pyproject.toml multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646) 2024-05-13 19:50:36 -07:00
README.md cli[patch], google-vertexai[patch]: readme template (#16470) 2024-01-23 12:08:17 -07:00

package_name

This package contains the LangChain integration with ModuleName

Installation

pip install -U __package_name__

And you should configure credentials by setting the following environment variables:

  • TODO: fill this out

Chat Models

Chat__ModuleName__ class exposes chat models from ModuleName.

from __module_name__ import Chat__ModuleName__

llm = Chat__ModuleName__()
llm.invoke("Sing a ballad of LangChain.")

Embeddings

__ModuleName__Embeddings class exposes embeddings from ModuleName.

from __module_name__ import __ModuleName__Embeddings

embeddings = __ModuleName__Embeddings()
embeddings.embed_query("What is the meaning of life?")

LLMs

__ModuleName__LLM class exposes LLMs from ModuleName.

from __module_name__ import __ModuleName__LLM

llm = __ModuleName__LLM()
llm.invoke("The meaning of life is")