jkomoros / prompt-garden

A framework for gardening LLM prompts
Apache License 2.0
9 stars 0 forks source link

Ways to attach metadata to an embedding #58

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

E.g. url, token_count. Small-ish amounts of storage next to an embedding that are persisted across runs.

You could approximate it if embeddings whern used as a property name are converted into a hash of their text or something.

jkomoros commented 10 months ago

Ideally it should be possible to attach arbitrary types and even query it. Use cases: home-grown ACLs, "filename" grouping of embeddings, etc.