pub struct Embeddings<'a> { /* private fields */ }
Expand description
A text embeddings creation request.
Construct with Embeddings::model
Implementations§
Source§impl<'a> Embeddings<'a>
impl<'a> Embeddings<'a>
Sourcepub fn model(model: EmbeddingsModel) -> EmbeddingsBuilder<'a>
pub fn model(model: EmbeddingsModel) -> EmbeddingsBuilder<'a>
Create an instance of Embeddings
using the builder syntax
Trait Implementations§
Source§impl<'a> Clone for Embeddings<'a>
impl<'a> Clone for Embeddings<'a>
Source§fn clone(&self) -> Embeddings<'a>
fn clone(&self) -> Embeddings<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for Embeddings<'a>
impl<'a> Debug for Embeddings<'a>
Source§impl OpenAIRequestProvider for Embeddings<'_>
impl OpenAIRequestProvider for Embeddings<'_>
Auto Trait Implementations§
impl<'a> Freeze for Embeddings<'a>
impl<'a> RefUnwindSafe for Embeddings<'a>
impl<'a> Send for Embeddings<'a>
impl<'a> Sync for Embeddings<'a>
impl<'a> Unpin for Embeddings<'a>
impl<'a> UnwindSafe for Embeddings<'a>
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