retoor 901ac80ffe feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing slow query performance when joining with the users table. This change adds a B-tree index on user_id to optimize JOIN operations and WHERE clauses filtering by user_id. The migration file `20240614_add_user_id_index.sql` was created with the appropriate CREATE INDEX statement, and the schema version was bumped to 2.1.0 in the migration tracking table.
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%