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.2.0.tar.gz (13.3 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.2.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a3e2cd408b7b71e4e9038442a49f7f558629c0574497cf8a71d1952fc7dfb78e
MD5 22bf6d9e38bee201d31a73514834173c
BLAKE2b-256 5770145e55a6eab49034981d161c9b848bcbd14f6b7d294a75cd179779ea32ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_githubcopilot_chat-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c96820f47fd5215399d061baf1e56199a7007be58c78ebb09da4e41e63c021e4
MD5 dc84184030d13e9f8d4ce487cec119ff
BLAKE2b-256 9dd66099a6a98a0fc77564fe3684e6d4acad7b115264bf8c42add44a7be7fd3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_githubcopilot_chat-0.2.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