Metadata-Version: 2.1
Name: j2pipeline
Version: 0.2.0
Summary: Create LLM pipelines with ease!
Home-page: https://github.com/yaz008/j2pipeline.git
Author: Emelianov Artem
Author-email: yaz008.yaz008@yandex.ru
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# J2pipeline

## Installation

Create Python 3.12 virtual environment, activate it and run

```sh
pip install j2pipeline
```

## Setup

J2pipeline requires an active TCP server listening on port 50027

**Server:**

-   Receives a prompt
-   Sends back AI response

**Protocol:**

1. 16 bytes header (message length)
2. Message (in UTF-8)

**For example:**

```python
data: bytes = message.encode(encoding='UTF-8')
size: bytes = f'{len(data):16}'.encode(encoding='UTF-8')
server.send(size)
server.send(data)
```

## License

J2pipeline is a free, open-source software distributed under the [MIT License](LICENSE.txt)
