Skip to main content

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

  1. Capabilities
  2. Installation
  3. Quickstart/Usage

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

llmlink-0.0.5.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

llmlink-0.0.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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