ILLM interface.
More...
#include <yarp/dev/ILLM.h>
ILLM interface.
Provides methods to interact with a LLM.
Definition at line 24 of file ILLM.h.
◆ ~ILLM()
yarp::dev::ILLM::~ILLM |
( |
| ) |
|
|
virtualdefault |
◆ ask()
Performs a question.
- Parameters
-
question | the text of the question provided by the user |
answer | the returned answer |
- Returns
- true/false
Implemented in GPTDevice, FakeLLMDevice, and LLM_nwc_yarp.
◆ deleteConversation()
virtual bool yarp::dev::ILLM::deleteConversation |
( |
| ) |
|
|
pure virtual |
◆ getConversation()
◆ readPrompt()
virtual bool yarp::dev::ILLM::readPrompt |
( |
std::string & |
oPrompt | ) |
|
|
pure virtual |
◆ refreshConversation()
virtual bool yarp::dev::ILLM::refreshConversation |
( |
| ) |
|
|
pure virtual |
◆ setPrompt()
virtual bool yarp::dev::ILLM::setPrompt |
( |
const std::string & |
prompt | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files:
- src/libYARP_dev/src/yarp/dev/ILLM.h
- src/libYARP_dev/src/yarp/dev/ILLM.cpp