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
8namespace yaze {
9namespace cli {
10
11// Represents a request from the AI to call a tool.
12struct ToolCall {
13 std::string tool_name;
14 std::map<std::string, std::string> args;
15};
16
17// A structured response from an AI service.
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_
Main namespace for the application.
std::vector< std::string > commands
Definition common.h:26
std::string reasoning
Definition common.h:29
std::vector< ToolCall > tool_calls
Definition common.h:23
std::string text_response
Definition common.h:20
std::map< std::string, std::string > args
Definition common.h:14
std::string tool_name
Definition common.h:13