#[non_exhaustive]pub enum FoundationModel {
PublishedModel(String),
}Available on crate features
conversations or generators only.Expand description
The foundation model to use for generating suggestions. If a foundation model isn’t specified here, a model specifically tuned for the feature type (and version when applicable) will be used.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PublishedModel(String)
Optional. The published Large Language Model name.
- To use the latest model version, specify the model name without version
number. Example:
text-bison - To use a stable model version, specify the version number as well.
Example:
text-bison@002.
Trait Implementations§
Source§impl Clone for FoundationModel
impl Clone for FoundationModel
Source§fn clone(&self) -> FoundationModel
fn clone(&self) -> FoundationModel
Returns a duplicate 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 Debug for FoundationModel
impl Debug for FoundationModel
Source§impl PartialEq for FoundationModel
impl PartialEq for FoundationModel
impl StructuralPartialEq for FoundationModel
Auto Trait Implementations§
impl Freeze for FoundationModel
impl RefUnwindSafe for FoundationModel
impl Send for FoundationModel
impl Sync for FoundationModel
impl Unpin for FoundationModel
impl UnwindSafe for FoundationModel
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