{"repo":"Florents-Tselai/tsellm","free":true,"listed":false,"github":"https://github.com/Florents-Tselai/tsellm","clone":"git clone https://github.com/Florents-Tselai/tsellm.git","description":"tsellm: LLMs in SQLite and DuckDB","language":"Python","stars":26,"topics":["llm","sql","sqlite","duckdb"],"license":null,"category":"databases-storage","readme_excerpt":"tsellm: Use LLMs in SQLite and DuckDB tsellm is the easiest way to access LLMs from SQLite or DuckDB. Prompts Behind the scenes, tsellm is based on the beautiful llm library, so you can use any of its plugins: Multiple Prompts With a single query, you can easily access get prompt responses from different LLMs: Embeddings JSON Embeddings Recursively If you have JSON columns, you can embed these object recursively. That is, an embedding vector of floats will replace each text occurrence in the object. SQLite Output DuckDB Output Binary ( BLOB ) Embeddings Interactive Shell If you don't provide an SQL query, you'll enter an interactive shell instead. Installation How tsellm relies on the following facts: SQLite is bundled with the standard Python library ( import sqlite3 ) Python 3.12 ships with a SQLite interactive shell one can create Python-written user-defined functions to be used in SQLite queries (see create function) Simon Willison has gone through the process of creating the beautiful llm Python library and CLI Development","default_branch":null,"files":null,"tree":[],"storefront":"/r/Florents-Tselai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Florents-Tselai/tsellm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}