A model behind an API.
More...
#include <provider.hpp>
◆ ~Provider()
| virtual pulsatrix::orch::Provider::~Provider |
( |
| ) |
|
|
virtualdefault |
◆ chat()
Sends request and returns the model's answer, streaming it to stream as it arrives.
- Exceptions
-
| ProviderError | if the provider answered with an error or the retries ran out. |
| HttpError | for a request that can't be sent at all (a bad URL, no TLS). |
◆ name()
| virtual std::string pulsatrix::orch::Provider::name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: