HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
postgresml
korvus
Rust2024–2024
postgresml / korvus

korvus

Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.

2Distinct people
2Mentions
0Explicit recommenders
1.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:24:10 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2024-07-11 16:35:31 UTC to 2024-07-11 20:15:06 UTC.

012024-07-11 16:00:00 UTC to 2024-07-11 17:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJul 11, 16:002024-07-11 17:00:00 UTC to 2024-07-11 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-11 18:00:00 UTC to 2024-07-11 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 11, 18:002024-07-11 19:00:00 UTC to 2024-07-11 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-11 20:00:00 UTC to 2024-07-11 21:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 11, 20:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 11, 16:002024-07-11 16:00:00 UTC2024-07-11 17:00:00 UTC110
Jul 11, 17:002024-07-11 17:00:00 UTC2024-07-11 18:00:00 UTC000
Jul 11, 18:002024-07-11 18:00:00 UTC2024-07-11 19:00:00 UTC000
Jul 11, 19:002024-07-11 19:00:00 UTC2024-07-11 20:00:00 UTC000
Jul 11, 20:002024-07-11 20:00:00 UTC2024-07-11 21:00:00 UTC101

What Hacker News says

2 sources
I find it misleading to use an f-string containing encoded `{CONTEXT}` <https://github.com/postgresml/korvus/blob/bce269a20a1dbea933...>, and after digging into TFM <https://postgresml.org/docs/open-source/korvus/guides/rag#si...> it seems it is not, in fact, an f-string artifact but rather the literal characters "{"+"CONTEXT"+"}" and are the same in all the language bindings? IMHO it would be much clearer if you just used the normal %s for the "outer" string and left the implicit f-string syntax as it is, e.g. { "role": "user", # this is not an f-string, is rather replaced by TODO FIXME "content": "Given the context\n:{CONTEXT}\nAnswer the question: %s" % query, }, The way the example (in both the readme and the docs) is writ
Read the rest
ten, it seems to imply I can put my own fileds as siblings to the chat key and they, too, will be resolved results = await collection.rag( { "EXAMPLE": { "uh-huh": True }, "CONTEXT": { "vector_search": { "query": { "fields": {"text": {"query": query}}, }, "document": {"keys": ["id"]}, "limit": 1, }, "aggregate": {"join": "\n"}, }, "chat": { "messages": [{"content": "Given Context:\n{CONTEXT}\nAn Example:\n{EXAMPLE}" } One could not fault the user for thinking such a thing since the *API* docs say "see the *GUIDE*" :-( https://postgresml.org/docs/open-source/korvus/api/collectio...
In Korvus: Single-Query RAG with Postgres

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.