yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
conversational_agent_service.cc File Reference
#include "cli/service/agent/conversational_agent_service.h"
#include <algorithm>
#include <cctype>
#include <iostream>
#include <optional>
#include <set>
#include <string>
#include <vector>
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "app/rom.h"
#include "cli/service/agent/proposal_executor.h"
#include "cli/service/ai/service_factory.h"
#include "cli/util/terminal_colors.h"
#include "nlohmann/json.hpp"

Go to the source code of this file.

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{conversational_agent_service.cc}
 

Functions

 ABSL_DECLARE_FLAG (std::string, ai_provider)
 
std::string yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::TrimWhitespace (const std::string &input)
 
std::string yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::JsonValueToString (const nlohmann::json &value)
 
std::set< std::string > yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CollectObjectKeys (const nlohmann::json &array)
 
std::optional< ChatMessage::TableDatayaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildTableData (const nlohmann::json &data)
 
bool yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::IsExecutableCommand (absl::string_view command)
 
int yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CountExecutableCommands (const std::vector< std::string > &commands)
 
ChatMessage yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage (ChatMessage::Sender sender, const std::string &content)
 

Function Documentation

◆ ABSL_DECLARE_FLAG()

ABSL_DECLARE_FLAG ( std::string  ,
ai_provider   
)