Files
hyungi_document_server/clients/ds-app/Sources/AI/Providers/SpecializedProvider.swift
T

28 lines
1.4 KiB
Swift

// SpecializedProvider.swift S2 scaffold (GPU : rerank / embed / vision / OCR).
//
// PR = **scaffold-only**: isAvailable=false, completenotImplemented(.specialized). HTTP client/API key/cost = 0.
// : .vision [.specialized, .onDevice] specialized **dict continue** ,
// - provider ****( 'specialized unavailable onDevice' log).
//
// vision = backend + fixture ** PR**( #1):
// = MacBook M5 Max Qwen VLM http://100.118.112.84:8810 (OpenAI , wake-on-call) VLM.
// GPU Ollama embedding(bge-m3) vision .
import Foundation
public struct SpecializedProvider: AIProvider {
public let id: AIProviderID = .specialized
public init() {}
/// scaffold . false.
public var isAvailable: Bool {
get async { false }
}
public func complete(_ request: AICompletionRequest) async throws -> AICompletionResponse {
// nil-skip notImplemented vision-chain .
// TODO(vision): .specialized M5 Max Qwen VLM(:8810, wake-on-call) call-shape + fixture PR.
throw AIProviderError.notImplemented(id)
}
}