Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web ui doesn't support object prompts config #803

Open
kongmoumou opened this issue May 21, 2024 · 0 comments
Open

Web ui doesn't support object prompts config #803

kongmoumou opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kongmoumou
Copy link

I want to test different prompt for different model, and the promptfooconfig.yaml content like below ⬇️

prompts:
  prompt-1.yaml: prompt-1
  prompt-2.yaml: prompt-2
providers:
  - id: openai:gpt-4-turbo-preview
    prompts:
      - prompt-1
  - id: openai:gpt-4o
    prompts:
      - prompt-2

when using promptfoo cli, it works as expected. but it's not working while directly pasting yaml to web ui, error shows below ⬇️

image

@typpo typpo added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants