summaryrefslogtreecommitdiffstats
path: root/src/client/mod.rs
blob: 19a0875aa380009c0cd4b7263789e1a24d6bf298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#[macro_use]
mod common;
mod message;
mod model_info;

pub use common::*;
pub use message::*;
pub use model_info::*;

register_client!(
    (openai, "openai", OpenAI, OpenAIConfig, OpenAIClient),
    (localai, "localai", LocalAI, LocalAIConfig, LocalAIClient),
    (
        azure_openai,
        "azure-openai",
        AzureOpenAI,
        AzureOpenAIConfig,
        AzureOpenAIClient
    ),
);