yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
conversation_test.cc File Reference
#include "cli/handlers/commands.h"
#include "app/rom.h"
#include "app/core/project.h"
#include "cli/handlers/rom/mock_rom.h"
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "cli/handlers/agent/common.h"
#include "cli/service/agent/conversational_agent_service.h"
#include "nlohmann/json.hpp"

Go to the source code of this file.

Classes

struct  yaze::cli::agent::anonymous_namespace{conversation_test.cc}::ConversationTestCase
 

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::cli
 Namespace for the command line interface.
 
namespace  yaze::cli::agent
 
namespace  yaze::cli::agent::anonymous_namespace{conversation_test.cc}
 

Functions

 ABSL_DECLARE_FLAG (std::string, rom)
 
 ABSL_DECLARE_FLAG (bool, mock_rom)
 
absl::Status yaze::cli::agent::anonymous_namespace{conversation_test.cc}::LoadRomForAgent (Rom &rom)
 
std::vector< ConversationTestCaseyaze::cli::agent::anonymous_namespace{conversation_test.cc}::GetDefaultTestCases ()
 
void yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintTestHeader (const ConversationTestCase &test_case)
 
void yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintUserPrompt (const std::string &prompt)
 
void yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintAgentResponse (const ChatMessage &response, bool verbose)
 
bool yaze::cli::agent::anonymous_namespace{conversation_test.cc}::ValidateResponse (const ChatMessage &response, const ConversationTestCase &test_case)
 
absl::Status yaze::cli::agent::anonymous_namespace{conversation_test.cc}::RunTestCase (const ConversationTestCase &test_case, ConversationalAgentService &service, bool verbose)
 
absl::Status yaze::cli::agent::anonymous_namespace{conversation_test.cc}::LoadTestCasesFromFile (const std::string &file_path, std::vector< ConversationTestCase > *test_cases)
 
absl::Status yaze::cli::agent::HandleTestConversationCommand (const std::vector< std::string > &args)
 

Function Documentation

◆ ABSL_DECLARE_FLAG() [1/2]

ABSL_DECLARE_FLAG ( std::string  ,
rom   
)

◆ ABSL_DECLARE_FLAG() [2/2]

ABSL_DECLARE_FLAG ( bool  ,
mock_rom   
)