pub struct CreateChatOptions {
pub human: Option<bool>,
pub temporary: Option<bool>,
pub system_prompt: Option<String>,
pub locked: Option<bool>,
pub repository: Option<Repository>,
pub inbox: Option<Inbox>,
}Expand description
The options argument of create_chat.
Fields§
§human: Option<bool>People only for good: sends never start a model reply.
temporary: Option<bool>Temporary for good: never listed, its replies read only the newest turns that fit, nothing in it becomes a memory, and it’s deleted by you or after a day without a message.
system_prompt: Option<String>Instructs every model reply in the chat.
locked: Option<bool>Only you can delete it or move it to another group; it still goes away with its group.
repository: Option<Repository>The Termite repository Parrot works in during replies: yours for a personal chat, the group’s for a group chat.
inbox: Option<Inbox>The Cicada inbox replies’ inbox tools work in, taking no inbox: one you can open for a personal chat, the group’s own for a group chat.
Trait Implementations§
Source§impl Clone for CreateChatOptions
impl Clone for CreateChatOptions
Source§impl Debug for CreateChatOptions
impl Debug for CreateChatOptions
Auto Trait Implementations§
impl Forget for CreateChatOptions
impl Freeze for CreateChatOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<u64>: Freeze,
PhantomData<SecretRequest>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
PhantomData<Platform>: Freeze,
PhantomData<ApiKey>: Freeze,
impl Move for CreateChatOptions
impl RefUnwindSafe for CreateChatOptions
impl Send for CreateChatOptions
impl Sync for CreateChatOptions
impl Unpin for CreateChatOptions
impl UnsafeUnpin for CreateChatOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<SecretRequest>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
PhantomData<Platform>: UnsafeUnpin,
PhantomData<ApiKey>: UnsafeUnpin,
impl UnwindSafe for CreateChatOptions
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