LLMLink is a Python package that allows users to easily create LLM-powered Gradio applications
Project description
ChainLink
ChainLink is a Python SDK designed to simplify the creation of chatbot-based applications using Gradio. The SDK offers an efficient way to interact with Language Learning Models (LLMs) and deploy Gradio applications around these models.
Contents
Capabilities
ChainLink's capabilities are all focused around two classes - the Model
class and the App
class.
The Model
class implements the ability to talk to a specific LLM/chatbot, while the App
class implements the Gradio application around the specific Model
.
Installation
To install ChainLink, you can use pip to install directly from the GitHub repository:
pip install git+https://github.com/jacobrenn/chainlink
Quickstart/Usage
Here's a simple example of how you can use ChainLink to create an LLM-powered application, and then deploy it:
import chainlink.model as Model
import chainlink.app as App
model = Model(openai_api_key='<your OpenAI API key>', model='gpt-3.5-turbo', model_type='chat_openai', memory=True)
app = App(model, feedback=True)
app.deploy()
We are currently still working on building the implementation and documentation around ChainLink, so if you have any specific questions please feel free to reach out to us directly.
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
Built Distribution
File details
Details for the file llmlink-0.0.1.tar.gz
.
File metadata
- Download URL: llmlink-0.0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410c9806dfe4b84cd9f596034daf3630fea66e188a38eb1e4940663e12254abb |
|
MD5 | 268aefd2dbd023443fbaf106f0f55ae9 |
|
BLAKE2b-256 | f4bab6c55e65bd23a645a3a1cd87c401efdfcb9472ef3d44cf99f0932e2cc237 |
File details
Details for the file llmlink-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: llmlink-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1763ae6fac8822788ec01f09488296f7ec878d737506d345c5129ba2e99d2ede |
|
MD5 | 76ee8570b5c57770ba6e38cfbad4252a |
|
BLAKE2b-256 | 900c4d18059bb382c41b734f2e111e0bf718847c49803cb4cfe7b8827caba249 |