Skip to main content

An integration package connecting GithubcopilotChat and LangChain

Project description

langchain-githubcopilot-chat

This package contains the LangChain integration with GithubcopilotChat

Installation

pip install -U langchain-githubcopilot-chat

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

  • TODO: fill this out

Chat Models

ChatGithubcopilotChat class exposes chat models from GithubcopilotChat.

from langchain_githubcopilot_chat import ChatGithubcopilotChat

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

Embeddings

GithubcopilotChatEmbeddings class exposes embeddings from GithubcopilotChat.

from langchain_githubcopilot_chat import GithubcopilotChatEmbeddings

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

LLMs

GithubcopilotChatLLM class exposes LLMs from GithubcopilotChat.

from langchain_githubcopilot_chat import GithubcopilotChatLLM

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_githubcopilot_chat-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_githubcopilot_chat-0.1.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file langchain_githubcopilot_chat-0.1.0.tar.gz.

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf81f1d01f6b92f17526ecea9d986d955bbcb066ba45633a7f72c494cbeded95
MD5 3df7b8c880c5ebc5cfa8a0c43f1a6e80
BLAKE2b-256 1599f9fbb54b55c3c75e6ffdba35f7b71cc560da606361d99e21849bfba2762f

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_githubcopilot_chat-0.1.0.tar.gz:

Publisher: publish.yml on BANG404/langchain-githubcopilot-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_githubcopilot_chat-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e09483a15f9b52d06bc39c424b99c1a4b49e86ea4edb07245799b389690d5f
MD5 f21bfc58f75f9b0907c00523db645fa7
BLAKE2b-256 6aaa1a90d8ce6c0e0dce9f390b1444566da92ae7bf4c21f73e8ec2cba28a0fbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_githubcopilot_chat-0.1.0-py3-none-any.whl:

Publisher: publish.yml on BANG404/langchain-githubcopilot-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page