Skip to main content

LLM-Blocks 📦

GitHub stars PyPI

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

  1. Why Use LLM-Blocks
  2. Repo Structure
  3. Installation
  4. Usage
  5. Contributing
  6. License

🎯 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)

Source distribution for llm-blocks 0.3.4
File Size Uploaded
llm-blocks-0.3.4.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-blocks 0.3.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page