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.

Repository @hailey.at did:plc:oisofpd7lj26yvgiivf3lxsi namespace authority
Details · query
Kindquery
Authorityengram.garden
Indexed

What's different

same NSID · two revisions from the same publisher
engram.garden · namespace authority
engram.garden · namespace authority
3 changes, all backward compatible

Records and requests that were valid against the base schema stay valid against this one.

Query · parameters

#main
Added

mode

compatible

New optional parameter.

string · knownValues: hybrid | vector | keyword

Query · output

#main
Added

mode

compatible

New optional property.

string · knownValues: hybrid | vector | keyword

Query · errors

#main
Added

KeywordIndexBuilding

compatible

New error.

KeywordIndexBuilding
11 properties and 8 errors unchanged Open the full schema diff →