Guitar
Classes | Namespaces | Typedefs | Functions
GenerativeAI.h File Reference
#include <string>
#include <variant>
#include <vector>
Include dependency graph for GenerativeAI.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GenerativeAI::Unknown
 
struct  GenerativeAI::OpenAI
 
struct  GenerativeAI::Anthropic
 
struct  GenerativeAI::Google
 
struct  GenerativeAI::DeepSeek
 
struct  GenerativeAI::OpenRouter
 
struct  GenerativeAI::Ollama
 
struct  GenerativeAI::Credential
 
struct  GenerativeAI::Model
 
struct  GenerativeAI::Request
 

Namespaces

 GenerativeAI
 

Typedefs

typedef std::variant< Unknown, OpenAI, Anthropic, Google, DeepSeek, OpenRouter, Ollama > GenerativeAI::Provider
 

Functions

static std::vector< Provider > GenerativeAI::all_providers ()
 
static std::string GenerativeAI::provider_id (Provider const &provider)
 
static std::string GenerativeAI::provider_description (Provider const &provider)
 
static std::string GenerativeAI::env_name (Provider const &provider)
 
Request GenerativeAI::make_request (Provider const &provider, const Model &model, Credential const &cred)
 
std::vector< Model > GenerativeAI::available_models ()