Skip to content

ActiveRecord models to persist Langchain::Assistant messages #58

@andreibondarev

Description

@andreibondarev

Description

Currently when using Langchain::Assistant the Messages, attached to a Thread, cannot be saved. A deeper integration with Rails via this gem would improve this.

Tasks

  • Create an ActiveRecord Message model.
  • Create an DB migration to create the underlying messages table.
  • Create a generator to generate both the DB migration and the ActiveRecord model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions