Skip to content

Update the apollo command for better compatabiliy with the chat APIs #1316

@josephjclark

Description

@josephjclark

Make openfn apollo global_chat work nicely. This steps away from the generic apollo command and adds logic specific to particular services.

This should make it possible to call apollo chat for testing and debug without needing a lightning UI (which would be super useful right now)

  • Maybe accept a session object or name, which maintains history across several chats
  • Maybe accept payload arguments like --@content "is this the way to amaraillo" to make it easy to configure payload keys without having to attach a JSON object (is this easier or harder??)
  • Make sure the chat message is nicely formatted
  • Consider serializing attachments to disk for easy compatibility, ie, write out workflow.yaml
  • Add an option to print metadata context, like rag results or tool usage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions