Guitar
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GenerativeAI::Model Struct Reference

#include <GenerativeAI.h>

Collaboration diagram for GenerativeAI::Model:
Collaboration graph
[legend]

Public Member Functions

 Model ()=default
 
 Model (Provider const &provider, std::string const &model_uri)
 
void operator= (std::string const &)=delete
 
void parse_model (std::string const &name)
 
std::string long_name () const
 
std::string model_name () const
 
std::string host () const
 
std::string port () const
 

Static Public Member Functions

static Model from_name (std::string const &name)
 
static std::string default_model ()
 

Public Attributes

Provider provider
 
std::string long_name_
 
std::string model_name_
 
std::string host_
 
std::string port_
 

Constructor & Destructor Documentation

◆ Model() [1/2]

GenerativeAI::Model::Model ( )
default

◆ Model() [2/2]

GenerativeAI::Model::Model ( Provider const &  provider,
std::string const &  model_uri 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ default_model()

std::string GenerativeAI::Model::default_model ( )
static

◆ from_name()

Model GenerativeAI::Model::from_name ( std::string const &  name)
static
Here is the call graph for this function:

◆ host()

std::string GenerativeAI::Model::host ( ) const
inline

◆ long_name()

std::string GenerativeAI::Model::long_name ( ) const
inline

◆ model_name()

std::string GenerativeAI::Model::model_name ( ) const
inline

◆ operator=()

void GenerativeAI::Model::operator= ( std::string const &  )
delete

◆ parse_model()

void GenerativeAI::Model::parse_model ( std::string const &  name)
Here is the call graph for this function:

◆ port()

std::string GenerativeAI::Model::port ( ) const
inline

Member Data Documentation

◆ host_

std::string GenerativeAI::Model::host_

◆ long_name_

std::string GenerativeAI::Model::long_name_

◆ model_name_

std::string GenerativeAI::Model::model_name_

◆ port_

std::string GenerativeAI::Model::port_

◆ provider

Provider GenerativeAI::Model::provider

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