From 7eba9375871e8fe72828ca811a8fc835de487bca Mon Sep 17 00:00:00 2001 From: Florents Tselai Date: Sun, 23 Jun 2024 19:54:06 +0300 Subject: [PATCH] Examples --- README.md | 87 +++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 69 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index f496301..550939b 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@

tsellm

- SQLite with LLM Superpowers + Interactive SQLite shell with LLM support

- How | - Installation | Usage | + Installation | + How | Roadmap

@@ -20,34 +20,85 @@ - + -**tsellm** is SQLite wrapper with LLM superpowers. -It's available as Python package and as a SQLite shell wrapper. +**tsellm** is an interactive SQLite shell with LLM Support. +Available as `pip install tsellm`. -## How +## Usage -**tsellm** relies on three facts: +Let's create a simple SQLite database with some data. -* SQLite is bundled with the standard Python library (`import sqlite3`) -* one can create Python-written user-defined functions to be used in SQLite - queries (see [create_function](https://github.com/simonw/llm)) -* [Simon Willison](https://github.com/simonw/) has gone through the process of - creating the beautiful [llm](https://github.com/simonw/llm) Python - library and CLI +```bash +sqlite3 prompts.db <