45d43f2645
- LlmEngineBridge.h/.mm: Objective-C++ wrapper around LiteRT-LM C++ API - SleepyAgent-Bridging-Header.h: Swift bridging header - Updated LlmEngine.swift to use the bridge - Added LITERT_INTEGRATION.md with detailed research findings Based on analysis of Google's litert-samples repository: - Google uses C++ bridge pattern for iOS (confirmed in image_segmentation example) - MediaPipe has working Swift API but is deprecated - LiteRT-LM Swift APIs are 'coming soon' The bridge pattern matches how Google AI Edge Gallery iOS app is likely implemented
14 lines
264 B
Objective-C
14 lines
264 B
Objective-C
//
|
|
// SleepyAgent-Bridging-Header.h
|
|
// SleepyAgent
|
|
//
|
|
// Bridging header for Objective-C++ LiteRT-LM bridge
|
|
//
|
|
|
|
#ifndef SleepyAgent_Bridging_Header_h
|
|
#define SleepyAgent_Bridging_Header_h
|
|
|
|
#import "LlmEngineBridge.h"
|
|
|
|
#endif /* SleepyAgent_Bridging_Header_h */
|