Get the latest tech news

Language models on the command line


I gave a talk about accessing Large Language Models from the command-line last week as part of the Mastering LLMs: A Conference For Developers & Data Scientists six week long …

If you install Datasette you can use it to browse your SQLite database like this, using a terminal trick where the output of one command is passed to another (with double quotes to avoid any problems caused by the space in the directory name): # Speaking of RAG... a common technique for implementing that pattern is to take advantage of embeddings and vector search to find content that is semantically similar to the user’s question, without necessarily matching on exact keywords. # We can implement another version of RAG on top of this as well, by finding similar documents to our search term and then piping those results back into LLM to execute a prompt.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of LLMs

LLMs

Photo of command line

command line

Related news:

News photo

Q*: Improving Multi-Step Reasoning for LLMs with Deliberative Planning

News photo

Slack Combines ASTs with LLMs to Automatically Convert 80% of 15,000 Unit Tests

News photo

Every Way to Get Structured Output from LLMs