Guitar
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GenerativeAI::Models Struct Reference
Collaboration diagram for GenerativeAI::Models:
Collaboration graph
[legend]

Public Member Functions

Request operator() (Unknown const &provider) const
 
Request operator() (OpenAI const &provider) const
 
Request operator() (Anthropic const &provider) const
 
Request operator() (Google const &provider) const
 
Request operator() (DeepSeek const &provider) const
 
Request operator() (OpenRouter const &provider) const
 
Request operator() (Ollama const &provider) const
 
 Models (Model const &model, Credential const &cred)
 

Static Public Member Functions

static Request make_request (Provider const &provider, Model const &model, Credential const &cred)
 

Public Attributes

Model model_
 
Credential cred_
 

Constructor & Destructor Documentation

◆ Models()

GenerativeAI::Models::Models ( Model const &  model,
Credential const &  cred 
)
inline

Member Function Documentation

◆ make_request()

static Request GenerativeAI::Models::make_request ( Provider const &  provider,
Model const &  model,
Credential const &  cred 
)
inlinestatic

◆ operator()() [1/7]

Request GenerativeAI::Models::operator() ( Anthropic const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [2/7]

Request GenerativeAI::Models::operator() ( DeepSeek const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [3/7]

Request GenerativeAI::Models::operator() ( Google const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [4/7]

Request GenerativeAI::Models::operator() ( Ollama const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [5/7]

Request GenerativeAI::Models::operator() ( OpenAI const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [6/7]

Request GenerativeAI::Models::operator() ( OpenRouter const &  provider) const
inline
Here is the call graph for this function:

◆ operator()() [7/7]

Request GenerativeAI::Models::operator() ( Unknown const &  provider) const
inline

Member Data Documentation

◆ cred_

Credential GenerativeAI::Models::cred_

◆ model_

Model GenerativeAI::Models::model_

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