yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::VisionVerifierConfig Struct Reference

Configuration for vision verification. More...

#include <ai_vision_verifier.h>

Public Attributes

std::string model_provider = "gemini"
 
std::string model_name = "gemini-1.5-flash"
 
float temperature = 0.1f
 
std::string screenshot_dir = "/tmp/yaze_test_screenshots"
 
bool save_all_screenshots = true
 
bool include_screenshot_in_response = false
 
float confidence_threshold = 0.8f
 
int max_retries = 2
 
std::chrono::seconds timeout {30}
 
std::string system_prompt
 

Detailed Description

Configuration for vision verification.

Definition at line 44 of file ai_vision_verifier.h.

Member Data Documentation

◆ model_provider

std::string yaze::test::VisionVerifierConfig::model_provider = "gemini"

Definition at line 46 of file ai_vision_verifier.h.

◆ model_name

std::string yaze::test::VisionVerifierConfig::model_name = "gemini-1.5-flash"

Definition at line 47 of file ai_vision_verifier.h.

Referenced by yaze::test::AIVisionVerifier::CallVisionModel().

◆ temperature

float yaze::test::VisionVerifierConfig::temperature = 0.1f

Definition at line 48 of file ai_vision_verifier.h.

◆ screenshot_dir

std::string yaze::test::VisionVerifierConfig::screenshot_dir = "/tmp/yaze_test_screenshots"

◆ save_all_screenshots

bool yaze::test::VisionVerifierConfig::save_all_screenshots = true

Definition at line 52 of file ai_vision_verifier.h.

◆ include_screenshot_in_response

bool yaze::test::VisionVerifierConfig::include_screenshot_in_response = false

Definition at line 53 of file ai_vision_verifier.h.

◆ confidence_threshold

float yaze::test::VisionVerifierConfig::confidence_threshold = 0.8f

Definition at line 56 of file ai_vision_verifier.h.

◆ max_retries

int yaze::test::VisionVerifierConfig::max_retries = 2

Definition at line 57 of file ai_vision_verifier.h.

◆ timeout

std::chrono::seconds yaze::test::VisionVerifierConfig::timeout {30}

Definition at line 58 of file ai_vision_verifier.h.

◆ system_prompt

std::string yaze::test::VisionVerifierConfig::system_prompt
Initial value:
=
"You are a visual verification assistant for a SNES ROM editor called "
"yaze. "
"Your task is to analyze screenshots and verify that UI elements, game "
"states, "
"and visual properties match expected conditions. Be precise and "
"objective."

Definition at line 61 of file ai_vision_verifier.h.


The documentation for this struct was generated from the following file: