ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
llm::clientt Class Referenceabstract

Abstract LLM client. More...

#include <llm_client.h>

Inheritance diagram for llm::clientt:
[legend]

Public Member Functions

virtual ~clientt ()=default
virtual std::string complete (const std::vector< message_t > &messages)=0
const configt & config () const noexcept

Protected Member Functions

 clientt (configt config)

Protected Attributes

configt cfg

Detailed Description

Abstract LLM client.

Implementations provide a single chat-completion interface that consumes a message history and returns the assistant's response as plain text.

Constructor & Destructor Documentation

◆ ~clientt()

virtual llm::clientt::~clientt ( )
virtualdefault

◆ clientt()

llm::clientt::clientt ( configt config)
inlineexplicitprotected

Member Function Documentation

◆ complete()

virtual std::string llm::clientt::complete ( const std::vector< message_t > & messages)
pure virtual

Implemented in llm::cli_clientt.

◆ config()

const configt & llm::clientt::config ( ) const
inlinenoexcept

Member Data Documentation

◆ cfg

configt llm::clientt::cfg
protected

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