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.2.tar.gz (16.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.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 30429178b3dca6cd3bb1d4085f8166307a2878e3c14b19b3a607fffa5e6013d5
MD5 72fa9497d170a23863b2b2477b6fa6fd
BLAKE2b-256 47dba9a3c5157841f19d462b2ce25eaed6727539b74b23261b00a3705a4c9165

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for langchain_githubcopilot_chat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b54722ff0a9af79016f52d44aae5fc351620e9ff3ed1a30d89d77f985d1cbf
MD5 ddc4b93185a843c60a8cf087efc4c693
BLAKE2b-256 f392b23ba547a170c96411177ffd351738926d1993dadd850875939c45fa19b0

See more details on using hashes here.

Provenance

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