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
llmfastlibrary, 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
Chatbotinstance: Initialize the Chatbot class with your OpenAI API key and specify the desired role for your chatbot. Here's an example of creating aChatbotinstance: -
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
deployparameter toTruewhen creating theChatbotinstance. This will deploy the chatbot and make it available for use. -
To deploy or terminate the deployment of a chatbot created using the
mlfastlibrary, you can set thedeployparameter toTrueorFalsewhen creating theChatbotinstance, respectively.
Chatbot(api_key="YOUR-OPENAI-API-KEY",
role="ENTER-YOUR-CHATBOT-ROLE",
deploy=True)
Release files for llmfast 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llmfast-0.0.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llmfast-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / llmfast-0.0.2.tar.gz
| Download URL | llmfast-0.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
471a5cbd2ee7c3a6be789fa99203e07ecfcd0101aa4f032c236ddfe348357121
|
|
BLAKE2b-256 checksum How to use checksums |
1bf331b6da43ce8eef67e1a40c5ba5b8386b543bf9cc85680e16f941bd73f32c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / llmfast-0.0.2-py3-none-any.whl
| Download URL | llmfast-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0fc56715200e698a21489d2b099cc674028409fd9ad988f028fd6eda5b7fab7
|
|
BLAKE2b-256 checksum How to use checksums |
22f78635b5f1af5f41a8fdc350cd5eb5fc73770ca1cd45f5415f8579b1fdbbb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|