1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! Ceres Client - HTTP clients for external APIs
//!
//! This crate provides HTTP clients for interacting with:
//!
//! - [`ckan`] - CKAN open data portals
//! - [`portal`] - Unified portal client factory (enum dispatch over portal types)
//! - [`gemini`] - Google Gemini embeddings API
//! - [`openai`] - OpenAI embeddings API
//! - [`ollama`] - Ollama local embeddings
//!
//! # Overview
//!
//! The clients handle authentication, request building, response parsing,
//! and error handling for their respective APIs.
//!
//! # Portal Clients
//!
//! Multiple portal types are supported via [`PortalClientEnum`]:
//!
//! | Portal Type | Status | API |
//! |-------------|--------|-----|
//! | CKAN | Supported | [CKAN API](https://docs.ckan.org/en/2.9/api/) |
//! | DCAT-AP (udata REST) | Supported | [DCAT-AP](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe) |
//! | DCAT-AP (SPARQL) | Supported | SPARQL endpoint with DCAT vocabulary |
//! | Socrata | Planned | [Socrata API](https://dev.socrata.com/) |
//!
//! # Embedding Providers
//!
//! Multiple embedding providers are supported:
//!
//! | Provider | Model | Dimensions |
//! |----------|-------|------------|
//! | Gemini | gemini-embedding-001 | 768 |
//! | OpenAI | text-embedding-3-small | 1536 |
//! | OpenAI | text-embedding-3-large | 3072 |
//! | Ollama | nomic-embed-text | 768 |
//! | Ollama | mxbai-embed-large | 1024 |
// Re-export main client types
pub use ;
pub use DcatClient;
pub use GeminiClient;
pub use OllamaClient;
pub use OpenAIClient;
pub use ;
pub use MockEmbeddingClient;
pub use ;
pub use SparqlDcatClient;