Skip to content

Fix system prompt of analyze link #97

@gduquesnay

Description

@gduquesnay

Our 'analyze” link had a hard-coded system prompt “You are a helpful assistant” the prompt in the config.yml is being sent as the “user” message along with the transcript appended:

{"role": "user", "content": prompt + "\\n\\n" + transcript}, 

When the transcript is too short this creates a confusing prompt since it isn’t obvious that it IS the transcript rather than part of the instructions.

  • Allow for the system prompt to be customized while keeping the current "You are a helpful assistant" as the default.
  • Add a default empty string value for the "prompt"
  • Add unit tests for the analyze link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions