pub struct StandardCoreBuilder { /* private fields */ }Implementations§
Source§impl StandardCoreBuilder
impl StandardCoreBuilder
pub fn build(self) -> Result<StandardCore>
Source§impl StandardCoreBuilder
impl StandardCoreBuilder
pub fn provider(self, provider: ProviderHandle) -> Self
pub fn model(self, model: ModelSpec) -> Self
pub fn max_turns(self, max_turns: usize) -> Self
pub fn session_spec(self, spec: SessionSpec) -> Self
pub fn store_factory(self, store_factory: Arc<dyn SessionStoreFactory>) -> Self
pub fn child_store_factory( self, store_factory: Arc<dyn SessionStoreFactory>, ) -> Self
pub fn attachment_store( self, attachment_store: Arc<dyn AttachmentStore>, ) -> Self
pub fn process_env_store( self, process_env_store: Arc<dyn ProcessExecutionEnvStore>, ) -> Self
pub fn effect_host(self, effect_host: Arc<dyn EffectHost>) -> Self
pub fn tools(self, tools: Arc<dyn ToolProvider>) -> Self
pub fn plugin(self, plugin: Arc<dyn PluginFactory>) -> Self
pub fn plugins(self, stack: PluginStack) -> Self
pub fn configure_plugins(self, configure: impl FnOnce(&mut PluginStack)) -> Self
pub fn trace_sink(self, trace_sink: Arc<dyn TraceSink>) -> Self
pub fn trace_jsonl_path(self, path: impl Into<PathBuf>) -> Self
pub fn trace_level(self, trace_level: TraceLevel) -> Self
pub fn trace_context(self, trace_context: TraceContext) -> Self
pub fn termination(self, termination: TerminationPolicy) -> Self
pub fn residency(self, residency: Residency) -> Self
pub fn live_replay_store( self, live_replay_store: Arc<dyn LiveReplayStore>, ) -> Self
pub fn process_registry( self, process_registry: Arc<dyn ProcessRegistry>, ) -> Self
pub fn trigger_store(self, store: Arc<dyn TriggerStore>) -> Self
pub fn process_work_driver(self, driver: ProcessWorkDriver) -> Self
pub fn queued_work_poke(self, poke: QueuedWorkPoke) -> Self
pub fn runtime_host_config(self, core: RuntimeHostConfig) -> Self
Trait Implementations§
Source§impl PromptLayerSink for StandardCoreBuilder
impl PromptLayerSink for StandardCoreBuilder
Source§fn prompt_layer_mut(&mut self) -> &mut PromptLayer
fn prompt_layer_mut(&mut self) -> &mut PromptLayer
Mutable access to the builder’s prompt layer, created on first use.
Source§fn prompt_template(self, template: PromptTemplate) -> Self
fn prompt_template(self, template: PromptTemplate) -> Self
Set the base prompt template.
Source§fn prompt_contribution(self, contribution: PromptContribution) -> Self
fn prompt_contribution(self, contribution: PromptContribution) -> Self
Add a single prompt contribution to its slot.
Source§fn replace_prompt_slot(
self,
slot: PromptSlot,
contributions: impl IntoIterator<Item = PromptContribution>,
) -> Self
fn replace_prompt_slot( self, slot: PromptSlot, contributions: impl IntoIterator<Item = PromptContribution>, ) -> Self
Replace all contributions in a slot.
Source§fn clear_prompt_slot(self, slot: PromptSlot) -> Self
fn clear_prompt_slot(self, slot: PromptSlot) -> Self
Clear all contributions from a slot.
Source§fn prompt_layer(self, layer: PromptLayer) -> Self
fn prompt_layer(self, layer: PromptLayer) -> Self
Replace the whole prompt layer.
Auto Trait Implementations§
impl !RefUnwindSafe for StandardCoreBuilder
impl !UnwindSafe for StandardCoreBuilder
impl Freeze for StandardCoreBuilder
impl Send for StandardCoreBuilder
impl Sync for StandardCoreBuilder
impl Unpin for StandardCoreBuilder
impl UnsafeUnpin for StandardCoreBuilder
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