pub struct Ai;Expand description
Fluent AI Facade for Multi-Model LLM Interactions in Lumina Framework
Implementations§
Source§impl Ai
impl Ai
Sourcepub fn gemini() -> GeminiClient
pub fn gemini() -> GeminiClient
Initialize Google Gemini Client (Gemini 1.5 Pro / Flash)
Sourcepub fn openai() -> OpenAiClient
pub fn openai() -> OpenAiClient
Initialize OpenAI Client (GPT-4o, GPT-4o-mini, o1)
Sourcepub fn claude() -> ClaudeClient
pub fn claude() -> ClaudeClient
Initialize Anthropic Claude Client (Claude 3.5 / 3.7 Sonnet)
Auto Trait Implementations§
impl Forget for Ai
impl Freeze for Ai
impl Move for Ai
impl RefUnwindSafe for Ai
impl Send for Ai
impl Sync for Ai
impl Unpin for Ai
impl UnsafeUnpin for Ai
impl UnwindSafe for Ai
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more