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

LaVague QA - Gradio UI #553

Open
paulpalmieri opened this issue Aug 7, 2024 · 2 comments
Open

LaVague QA - Gradio UI #553

paulpalmieri opened this issue Aug 7, 2024 · 2 comments
Assignees

Comments

@paulpalmieri
Copy link
Contributor

paulpalmieri commented Aug 7, 2024

UI to enable usage of LaVague QA. LaVague QA is a CLI tool wrapper around lavagueqa/lavague/qa/generator.py. We should be able to leverage TestGenerator to power the gradio.

Requirements

API key input:

  • the user must be able to enter an Open AI key
  • this key should be used by all LLMs (Web agent + test generator)
  • this field should be hidden when the user wants to generate tests.

Main UI

Inputs

  • enter a URL (mandatory)
  • enter a Gherkin file (mandatory)
  • "generate" button: uses lavague qa to generate a test with both fields above

Browser

  • a view of the browser should be shown
  • current LaVague steps should be shown (ideally we show progress for the test generation as well)

Outputs

  • when the agent is done and the test is generated, we should display it as a code block in place of the browser
  • allow users to easily copy the file or download it

Hosting

  • Gradio will use browserbase so that we don't need to manage driver infrastructure: Browserbase integration #550
  • Gradio will be hosted on Huggingface spaces
@paulpalmieri
Copy link
Contributor Author

@JoFrost let me know when you need Browserbase credentials :)

@JoFrost
Copy link
Member

JoFrost commented Aug 14, 2024

Adressed by the PR #570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants