LLM-Blocks 📦
LLM-Blocks is a Python library that provides a simple interface for creating and managing Language Learning Model (LLM) chains. It is designed to make it easy to create, manage, and execute blocks of code that interact with OpenAI's GPT-3.5-turbo model.
📖 Table of Contents
🎯 Why Use LLM-Blocks
LLM-Blocks simplifies the process of creating and managing LLM chains. It provides a set of classes and methods that abstract the complexities of interacting with OpenAI's GPT-3.5-turbo model. With LLM-Blocks, you can focus on building your application without worrying about the underlying details of the OpenAI API.
🏗️ Repo Structure
.
├── .gitignore
├── llm_blocks
│ ├── __init__.py
│ ├── blocks.py
│ └── block_factory.py
├── requirements.txt
├── setup.py
└── turbo_docs.toml
💻 Installation
To install LLM-Blocks, run the following command in your terminal:
pip install llm-blocks
🚀 Usage
Here's a simple example of how to use LLM-Blocks:
from llm_blocks import get
# Create a block
block = get("block")
# Execute the block
response = block("Hello, world!")
print(response)
🤝 Contributing
Contributions are welcome! Please feel free to submit a pull request.
📜 License
LLM-Blocks is licensed under the MIT License. See the LICENSE file for more details.
Metadata
Release files for llm-blocks 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm-blocks-0.3.4.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_blocks-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / llm-blocks-0.3.4.tar.gz
| Download URL | llm-blocks-0.3.4.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05a881cb381ee6bbe551914262f7f9234aa724279fa024f70025946d9e542110
|
|
BLAKE2b-256 checksum How to use checksums |
fc00edc053075851449255c32b91a928f1cfff7551824bcaee4b1c910a7cf3c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Release files / llm_blocks-0.3.4-py3-none-any.whl
| Download URL | llm_blocks-0.3.4-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c249ab17edaa7be41a67340436c2e8c82b23ef23e536ed411ba77f41080f762
|
|
BLAKE2b-256 checksum How to use checksums |
63d0191a2a811dcf9ce1ab5dd025e53caf9b0af23715b4529c8c2fb5323849a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|