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

#include <anthropic_ai_service.h>

Public Member Functions

 AnthropicConfig ()=default
 
 AnthropicConfig (const std::string &key)
 

Public Attributes

std::string api_key
 
std::string model = "claude-3-5-sonnet-20241022"
 
float temperature = 0.7f
 
int max_output_tokens = 4096
 
std::string system_instruction
 
bool use_function_calling = true
 
std::string prompt_version = "v3"
 
bool verbose = false
 

Detailed Description

Definition at line 18 of file anthropic_ai_service.h.

Constructor & Destructor Documentation

◆ AnthropicConfig() [1/2]

yaze::cli::AnthropicConfig::AnthropicConfig ( )
default

◆ AnthropicConfig() [2/2]

yaze::cli::AnthropicConfig::AnthropicConfig ( const std::string & key)
inlineexplicit

Definition at line 29 of file anthropic_ai_service.h.

Member Data Documentation

◆ api_key

std::string yaze::cli::AnthropicConfig::api_key

Definition at line 19 of file anthropic_ai_service.h.

◆ model

std::string yaze::cli::AnthropicConfig::model = "claude-3-5-sonnet-20241022"

Definition at line 20 of file anthropic_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().

◆ temperature

float yaze::cli::AnthropicConfig::temperature = 0.7f

Definition at line 21 of file anthropic_ai_service.h.

◆ max_output_tokens

int yaze::cli::AnthropicConfig::max_output_tokens = 4096

Definition at line 22 of file anthropic_ai_service.h.

◆ system_instruction

std::string yaze::cli::AnthropicConfig::system_instruction

Definition at line 23 of file anthropic_ai_service.h.

◆ use_function_calling

bool yaze::cli::AnthropicConfig::use_function_calling = true

Definition at line 24 of file anthropic_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().

◆ prompt_version

std::string yaze::cli::AnthropicConfig::prompt_version = "v3"

Definition at line 25 of file anthropic_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().

◆ verbose

bool yaze::cli::AnthropicConfig::verbose = false

Definition at line 26 of file anthropic_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().


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