garden.engram.searchMemories
Search over a space's memories, by meaning and exact words. The caller embeds its query with the space's model and query prefix and sends vector, model and modelDigest, plus q: once the space has a keyword index, the results rank by both (hybrid). A service that runs the space's model may instead embed q itself when no vector is sent; one that can't (it doesn't embed queries, doesn't run the space's model, or doesn't embed for the space's authority) searches by keyword alone instead, unless mode asks otherwise. The response's mode says what ran. Requires a space credential for the space, presented with an HTTP message signature whose audience is this service's DID.
Details · query
| Kind | query |
|---|---|
| Authority | engram.garden |
| Indexed |
What's different
same NSID · two revisions from the same publisherRecords and requests that were valid against the base schema stay valid against this one.
Query · parameters
#mainmode
compatibleNew optional parameter.
string · knownValues: hybrid | vector | keyword Query · output
#mainmode
compatibleNew optional property.
string · knownValues: hybrid | vector | keyword Query · errors
#mainKeywordIndexBuilding
compatibleNew error.
KeywordIndexBuilding