OpenAIServer.h File
Multi-model OpenAI-compatible HTTP server for NEAT GenAI models. More...
Included Headers
#include "genai/GenAITypes.h"
#include <cstdint>
#include <filesystem>
#include <memory>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | genai |
Classes Index
| struct | OpenAIServerOptions |
| class | OpenAIServer |
Description
Multi-model OpenAI-compatible HTTP server for NEAT GenAI models.
File Listing
The file content with the documentation metadata removed is:
7#include "genai/GenAITypes.h"
15namespace simaai::neat::genai {
19struct OpenAIServerOptions {
24class OpenAIServer {
26 explicit OpenAIServer(OpenAIServerOptions options = {});
27 ~OpenAIServer();
29 OpenAIServer(OpenAIServer&&) noexcept;
30 OpenAIServer& operator=(OpenAIServer&&) noexcept;
32 OpenAIServer(const OpenAIServer&) = delete;
33 OpenAIServer& operator=(const OpenAIServer&) = delete;
37 void add_model(std::string served_name, std::shared_ptr<GenAIModel> model);
38 bool remove_model(const std::string& served_name);
39 std::vector<std::string> model_names() const;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.