Skip to main content

It's a Python LLM package

Project description

LLMFAST

llmfast is your go-to Python library for simplifying the development of Large Language Model (LLM) applications. With just a few lines of code, you can harness the power of LLMs, saving you time and reducing complexity. Our library offers effortless integration, minimal coding requirements, and full customization to meet your unique needs. It's designed for optimized performance, ensuring smooth application execution, even with extensive language model usage. Explore our comprehensive documentation and examples to kickstart your LLM application development journey with ease. Unlock the potential of LLMs today with llmfast!

Chatbot

Import the Chatbot class: In your Python script, import the Chatbot class from llmfast. You can do this by adding the following line at the beginning of your code:

from llmfast import Chatbot
  • Obtain an OpenAI API key: To use the llmfast library, you'll need an API key from OpenAI. If you don't have one, sign up on the OpenAI website and obtain an API key.

  • Create a Chatbot instance: Initialize the Chatbot class with your OpenAI API key and specify the desired role for your chatbot. Here's an example of creating a Chatbot instance:

  • Replace "YOUR-OPENAI-API-KEY" with your actual OpenAI API key, and "ENTER-YOUR-CHATBOT-ROLE" with the desired role for your chatbot.

  • Deploy the chatbot: Set the deploy parameter to True when creating the Chatbot instance. This will deploy the chatbot and make it available for use.

  • To deploy or terminate the deployment of a chatbot created using the mlfast library, you can set the deploy parameter to True or False when creating the Chatbot instance, respectively.

Chatbot(api_key="YOUR-OPENAI-API-KEY",
        role="ENTER-YOUR-CHATBOT-ROLE",
        deploy=True)

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

llmfast-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

llmfast-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file llmfast-0.0.2.tar.gz.

File metadata

  • Download URL: llmfast-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for llmfast-0.0.2.tar.gz
Algorithm Hash digest
SHA256 471a5cbd2ee7c3a6be789fa99203e07ecfcd0101aa4f032c236ddfe348357121
MD5 a2931cd6efbc50e2de98ce6f1a16e38c
BLAKE2b-256 1bf331b6da43ce8eef67e1a40c5ba5b8386b543bf9cc85680e16f941bd73f32c

See more details on using hashes here.

File details

Details for the file llmfast-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: llmfast-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for llmfast-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0fc56715200e698a21489d2b099cc674028409fd9ad988f028fd6eda5b7fab7
MD5 16e9f753059c46a1a2469e4e927df634
BLAKE2b-256 22f78635b5f1af5f41a8fdc350cd5eb5fc73770ca1cd45f5415f8579b1fdbbb0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page