retoor bcb4bbc197 feat: bump version to 14.3.9 and add publish command to make script
Extract build logic into reusable function and add new "publish" target that runs build then uploads dist artifacts to gitea via twine. Update version in setup.cfg and egg-info metadata from 14.3.7 to 14.3.9.
2024-11-28 02:53:24 +00:00

Yura LLM Client for Katya server

Part of project with as target replacing the native ollama protocol. This protocol supports streaming and is usable trough https and it is possible to directly attach a web client to the backend.

Install

pip install -e .

Build

make build

Command line usage

yura ws://[host]:[port]/[path]/

Python

import asyncio
from yura.client import AsyncClient

async def communicate():
    client = AsyncClient("ws://[host]:[port]/[path]/")
    async for response in client.chat("Your prompt"):
         print(response)

asyncio.run(communicate())
S
Description
Async client for the katya AI server
Readme
334 KiB
Languages
Python 96.9%
Makefile 3.1%