LLMLink is a Python package that allows users to easily create LLM-powered Gradio applications
Project description
LLMLink
LLMLink 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
LLMLink'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 LLMLink, you can use pip to install directly from the GitHub repository:
pip install git+https://github.com/jacobrenn/llmlink
Quickstart/Usage
Here's a simple example of how you can use LLMLink to create an LLM-powered application, and then deploy it:
import llmlink.model as Model
import llmlink.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 LLMLink, 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.5.tar.gz
.
File metadata
- Download URL: llmlink-0.0.5.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e0fdf2527425108fdb5f1af028f9fd9b8583025cc0dbb17cdb68358041cc97 |
|
MD5 | 64243085c4cbd7c9817aceae3a48876b |
|
BLAKE2b-256 | 4436d596038d97ae6a9a26511a0ec18beaa62b8709366358ab303a0f4bd30d30 |
File details
Details for the file llmlink-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: llmlink-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7a631e761a4169f7830e01a6d8cb053c9e485da0a9ffcc988090b605fbb234b |
|
MD5 | d2be2e38d88bf3e2bcad730780b49d9c |
|
BLAKE2b-256 | 458dc5135d648c11c200fd8ca22b4830c39f1e465d361f0858f957460d48025e |