JoinTheAlliance / bgent

Flexible, scalable and customizable agents to do your bidding.
https://bgent.org
69 stars 15 forks source link

Add 'metadata' jsonb to memories table and refactor actions into metadata, refactor Content and Metadata #30

Closed lalalune closed 4 months ago

lalalune commented 4 months ago

Right now we have a kind of messy situation with Content where it's a string sometimes, and a JSON object other times.

Instead, we should unify that and make content always be a string. All other content moves to the metadata field, also a JSONB column.

gpt3-bot commented 4 months ago

We're putting additional metadata as fields in the Content object instead.