Prompt Tools 0.3.2
Loading...
Searching...
No Matches
Public Attributes | List of all members
prompt::EmbedResponse Struct Reference

#include <structs.hpp>

Public Attributes

std::vector< Embeddingembeddings
 
bool success { false }
 
std::string error
 
std::string model
 
int prompt_tokens { 0 }
 
int total_tokens { 0 }
 

Member Data Documentation

◆ embeddings

std::vector<Embedding> prompt::EmbedResponse::embeddings

◆ error

std::string prompt::EmbedResponse::error

◆ model

std::string prompt::EmbedResponse::model

◆ prompt_tokens

int prompt::EmbedResponse::prompt_tokens { 0 }

◆ success

bool prompt::EmbedResponse::success { false }

◆ total_tokens

int prompt::EmbedResponse::total_tokens { 0 }

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