Skip to content

String Constants for Assistants API #13

Description

@sevzas

This is a feature request.

It would be great if Forge.OpenAI had string constants defined for:

  1. RunResponse.Status . They are documented here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps It would also be nice to have a method "IsTerminalState" that takes a state and returns true if the state is "expired", "completed", "failed" or "cancelled".
  2. Message.Role - there are "system", "user" and "assistant".

This request is similar to what is already in place for Content.CONTENT_TYPE_XXXX

Feel free to close this request if it's out of scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions