Robot

Solve a Triviaplaza quiz using OpenAI GPT-3

A robot that completes Triviaplaza's trivia quiz, asking OpenAI for the answers.

OpenAI
Playwright

This robot solves a Triviaplaza quiz using OpenAI ChatGPT.

The robot takes a trivia quiz about King Arthur from Triviaplaza.com. The robot reads the question and the answer options and uses the API interface to ask the OpenAI artificial intelligence which of the options it thinks is the right answer, which the robot chooses.

Note: By changing the address in ${url} variable in the Variables section, you can configure the robot to perform another quiz..

Note: You can also use the GPT-4 API by configuring the variable ${gpt-model} to use either gpt-4 or gpt-3.5-turbo

The robot uses the RPA.Browser.Playwright library for browser automation and custom keyword library for interacting with OpenAI API.

https://user-images.githubusercontent.com/84192057/220574818-bb99d51e-2f1b-43f5-af33-eb417d0fac26.mp4

Learning materials

Technical information

Last updated

March 21, 2023

License

Apache License 2.0