yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1
#ifndef YAZE_SRC_CLI_SERVICE_AI_COMMON_H_
2
#define YAZE_SRC_CLI_SERVICE_AI_COMMON_H_
3
4
#include <string>
5
#include <vector>
6
#include <map>
7
8
namespace
yaze
{
9
namespace
cli {
10
11
// Represents a request from the AI to call a tool.
12
struct
ToolCall
{
13
std::string
tool_name
;
14
std::map<std::string, std::string>
args
;
15
};
16
17
// A structured response from an AI service.
18
struct
AgentResponse
{
19
// A natural language response to the user.
20
std::string
text_response
;
21
22
// A list of tool calls the agent wants to make.
23
std::vector<ToolCall>
tool_calls
;
24
25
// A list of z3ed commands to be executed.
26
std::vector<std::string>
commands
;
27
28
// The AI's explanation of its thought process.
29
std::string
reasoning
;
30
};
31
32
}
// namespace cli
33
}
// namespace yaze
34
35
#endif
// YAZE_SRC_CLI_SERVICE_AI_COMMON_H_
yaze
Main namespace for the application.
Definition
asar_wrapper.cc:14
yaze::cli::AgentResponse
Definition
common.h:18
yaze::cli::AgentResponse::commands
std::vector< std::string > commands
Definition
common.h:26
yaze::cli::AgentResponse::reasoning
std::string reasoning
Definition
common.h:29
yaze::cli::AgentResponse::tool_calls
std::vector< ToolCall > tool_calls
Definition
common.h:23
yaze::cli::AgentResponse::text_response
std::string text_response
Definition
common.h:20
yaze::cli::ToolCall
Definition
common.h:12
yaze::cli::ToolCall::args
std::map< std::string, std::string > args
Definition
common.h:14
yaze::cli::ToolCall::tool_name
std::string tool_name
Definition
common.h:13
src
cli
service
ai
common.h
Generated by
1.9.8