Guitar
Classes | Enumerations | Functions
GenerativeAI Namespace Reference

Classes

struct  _MakeRequest
 
class  AbstractVisitor
 
struct  ProviderInfo
 
struct  Credential
 
struct  Model
 
struct  Request
 

Enumerations

enum class  AI {
  Unknown , OpenAI , Anthropic , Google ,
  DeepSeek , OpenRouter , Ollama , LMStudio
}
 

Functions

const std::vector< ProviderInfo > & provider_table ()
 
std::vector< Model > const & ai_model_presets ()
 
const ProviderInfoprovider_info (AI ai)
 
Request make_request (AI provider, const Model &model, Credential const &cred)
 

Enumeration Type Documentation

◆ AI

enum GenerativeAI::AI
strong
Enumerator
Unknown 
OpenAI 
Anthropic 
Google 
DeepSeek 
OpenRouter 
Ollama 
LMStudio 

Function Documentation

◆ ai_model_presets()

std::vector< Model > const & GenerativeAI::ai_model_presets ( )

◆ make_request()

Request GenerativeAI::make_request ( AI  provider,
const Model model,
Credential const &  cred 
)
Here is the call graph for this function:

◆ provider_info()

ProviderInfo const * GenerativeAI::provider_info ( AI  ai)
Here is the call graph for this function:

◆ provider_table()

std::vector< ProviderInfo > const & GenerativeAI::provider_table ( )
Here is the call graph for this function: