SYMBOL INDEX (2779 symbols across 247 files) FILE: benchmarks/fileloader.rs function run_fileloader (line 8) | async fn run_fileloader(num_files: usize) -> Result { function criterion_benchmark (line 22) | fn criterion_benchmark(c: &mut Criterion) { FILE: benchmarks/local_pipeline.rs function run_pipeline (line 11) | async fn run_pipeline() -> Result<()> { function criterion_benchmark (line 20) | fn criterion_benchmark(c: &mut Criterion) { FILE: benchmarks/node_cache_comparison.rs function run_pipeline (line 16) | async fn run_pipeline(node_cache: Box>) ->... function criterion_benchmark (line 25) | fn criterion_benchmark(c: &mut Criterion) { function start_redis (line 65) | fn start_redis() -> Container { FILE: examples/agent_can_fail_custom_schema.rs type FailureCategory (line 17) | enum FailureCategory { type RemediationStatus (line 25) | enum RemediationStatus { type FailureReport (line 33) | struct FailureReport { function failure_schema (line 43) | fn failure_schema() -> Schema { function main (line 48) | async fn main() -> Result<()> { FILE: examples/agents_mcp_tools.rs function main (line 13) | async fn main() -> Result<()> { FILE: examples/agents_resume.rs function main (line 6) | async fn main() -> Result<()> { FILE: examples/agents_with_human_in_the_loop.rs function guess_a_number (line 29) | async fn guess_a_number( function main (line 43) | async fn main() -> Result<()> { FILE: examples/aws_bedrock.rs function main (line 22) | async fn main() -> Result<(), Box> { FILE: examples/aws_bedrock_agent.rs type FormatTimestampRequest (line 23) | struct FormatTimestampRequest { function current_utc_time (line 31) | async fn current_utc_time(context: &dyn AgentContext) -> Result Result<()> { FILE: examples/dashscope.rs function main (line 18) | async fn main() -> anyhow::Result<()> { FILE: examples/describe_image.rs function main (line 11) | async fn main() -> Result<()> { FILE: examples/fastembed.rs function main (line 21) | async fn main() -> Result<(), Box> { FILE: examples/fluvio.rs function main (line 32) | async fn main() -> Result<(), Box> { FILE: examples/hello_agents.rs type CodeSearchRequest (line 30) | struct CodeSearchRequest { function search_code (line 43) | async fn search_code( constant READ_FILE (line 64) | const READ_FILE: &str = "Read a file"; function read_file (line 70) | async fn read_file(context: &dyn AgentContext, path: &str) -> Result Result<()> { FILE: examples/hybrid_search.rs function main (line 19) | async fn main() -> Result<(), Box> { FILE: examples/index_codebase.rs function main (line 31) | async fn main() -> Result<(), Box> { FILE: examples/index_codebase_reduced_context.rs function main (line 32) | async fn main() -> Result<(), Box> { FILE: examples/index_groq.rs function main (line 25) | async fn main() -> Result<(), Box> { FILE: examples/index_into_redis.rs function main (line 28) | async fn main() -> Result<(), Box> { FILE: examples/index_markdown_lots_of_metadata.rs function main (line 28) | async fn main() -> Result<(), Box> { FILE: examples/index_md_into_pgvector.rs function ask_query (line 16) | async fn ask_query( function main (line 52) | async fn main() -> Result<(), Box> { FILE: examples/index_ollama.rs function main (line 26) | async fn main() -> Result<(), Box> { FILE: examples/kafka.rs function main (line 23) | async fn main() -> Result<(), Box> { FILE: examples/lancedb.rs function main (line 16) | async fn main() -> Result<(), Box> { FILE: examples/langfuse.rs function main (line 24) | async fn main() -> Result<()> { function prompt_openai (line 48) | async fn prompt_openai() -> Result<()> { FILE: examples/query_pipeline.rs function main (line 12) | async fn main() -> Result<(), Box> { FILE: examples/reranking.rs function main (line 21) | async fn main() -> Result<(), Box> { FILE: examples/responses_api.rs type WeatherSummary (line 16) | struct WeatherSummary { type EchoArgs (line 22) | struct EchoArgs { function echo_tool (line 33) | async fn echo_tool( function main (line 41) | async fn main() -> Result<()> { FILE: examples/responses_api_reasoning.rs function reasoning_summary (line 9) | fn reasoning_summary(reasoning: Option<&[ReasoningItem]>) -> Option Result<()> { FILE: examples/scraping_index_to_markdown.rs function main (line 22) | async fn main() -> Result<(), Box> { FILE: examples/stop_with_args_custom_schema.rs type TaskStatus (line 16) | enum TaskStatus { type StopPayload (line 24) | struct StopPayload { function stop_schema (line 31) | fn stop_schema() -> Schema { function main (line 36) | async fn main() -> Result<()> { FILE: examples/store_multiple_vectors.rs function main (line 34) | async fn main() -> Result<(), Box> { FILE: examples/streaming_agents.rs function main (line 9) | async fn main() -> Result<()> { FILE: examples/structured_prompt.rs function main (line 7) | async fn main() -> Result<()> { FILE: examples/tasks.rs function main (line 26) | async fn main() -> Result<()> { FILE: examples/tool_custom_schema.rs type WorkflowTool (line 11) | struct WorkflowTool; type WorkflowInstruction (line 19) | struct WorkflowInstruction { type WorkflowAction (line 29) | enum WorkflowAction { method invoke (line 37) | async fn invoke( method name (line 47) | fn name<'tool>(&'tool self) -> Cow<'tool, str> { method tool_spec (line 51) | fn tool_spec(&self) -> ToolSpec { function workflow_schema (line 61) | fn workflow_schema() -> Schema { function main (line 65) | fn main() -> Result<()> { FILE: examples/usage_metrics.rs function main (line 25) | async fn main() -> Result<(), Box> { type PrintHandle (line 87) | struct PrintHandle(Key); method increment (line 90) | fn increment(&self, value: u64) { method absolute (line 94) | fn absolute(&self, value: u64) { method increment (line 100) | fn increment(&self, value: f64) { method decrement (line 104) | fn decrement(&self, value: f64) { method set (line 108) | fn set(&self, value: f64) { method record (line 114) | fn record(&self, value: f64) { type PrintRecorder (line 120) | struct PrintRecorder; method describe_counter (line 123) | fn describe_counter(&self, key_name: KeyName, unit: Option, descri... method describe_gauge (line 132) | fn describe_gauge(&self, key_name: KeyName, unit: Option, descript... method describe_histogram (line 141) | fn describe_histogram(&self, key_name: KeyName, unit: Option, desc... method register_counter (line 150) | fn register_counter(&self, key: &Key, _metadata: &Metadata<'_>) -> Count... method register_gauge (line 154) | fn register_gauge(&self, key: &Key, _metadata: &Metadata<'_>) -> Gauge { method register_histogram (line 158) | fn register_histogram(&self, key: &Key, _metadata: &Metadata<'_>) -> His... function init_print_logger (line 163) | fn init_print_logger() { FILE: swiftide-agents/src/agent.rs type Agent (line 46) | pub struct Agent { method fmt (line 162) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 349) | pub fn builder() -> AgentBuilder { method name (line 356) | pub fn name(&self) -> &str { method default_tools (line 362) | pub fn default_tools() -> HashSet> { method query (line 373) | pub async fn query(&mut self, query: impl Into) -> Result<(), ... method add_tool (line 382) | pub fn add_tool(&mut self, tool: Box) { method tools_mut (line 392) | pub fn tools_mut(&mut self) -> &mut HashSet> { method query_once (line 402) | pub async fn query_once(&mut self, query: impl Into) -> Result... method run (line 413) | pub async fn run(&mut self) -> Result<(), AgentError> { method run_once (line 424) | pub async fn run_once(&mut self) -> Result<(), AgentError> { method history (line 434) | pub async fn history(&self) -> Result, AgentError> { method run_agent (line 441) | pub(crate) async fn run_agent( method step (line 547) | async fn step( method invoke_tools (line 649) | async fn invoke_tools(&mut self, tool_calls: &[ToolCall]) -> Result<()... method hooks_by_type (line 741) | fn hooks_by_type(&self, hook_type: HookTypes) -> Vec<&Hook> { method find_tool_by_name (line 748) | fn find_tool_by_name(&self, tool_name: &str) -> Option> { method handle_control_tools (line 756) | async fn handle_control_tools(&mut self, tool_call: &ToolCall, output:... method system_prompt (line 783) | pub fn system_prompt(&self) -> Option<&SystemPrompt> { method system_prompt_mut (line 790) | pub fn system_prompt_mut(&mut self) -> Option<&mut SystemPrompt> { method tool_calls_over_limit (line 794) | fn tool_calls_over_limit(&mut self, tool_call: &ToolCall) -> bool { method add_message (line 820) | pub async fn add_message(&self, mut message: ChatMessage) -> Result<()... method stop (line 831) | pub async fn stop(&mut self, reason: impl Into) { method stop_with_error (line 846) | pub async fn stop_with_error(&mut self, error: &AgentError) { method context (line 856) | pub fn context(&self) -> &dyn AgentContext { method is_running (line 861) | pub fn is_running(&self) -> bool { method is_stopped (line 866) | pub fn is_stopped(&self) -> bool { method is_pending (line 871) | pub fn is_pending(&self) -> bool { method tools (line 876) | pub fn tools(&self) -> &HashSet> { method state (line 880) | pub fn state(&self) -> &state::State { method stop_reason (line 884) | pub fn stop_reason(&self) -> Option<&StopReason> { method has_unfulfilled_tool_calls (line 888) | async fn has_unfulfilled_tool_calls(&self) -> Result { method invoke_pending_tool_calls (line 897) | async fn invoke_pending_tool_calls(&mut self) -> Result<(), AgentError> { method flush_pending_user_messages (line 917) | async fn flush_pending_user_messages(&mut self) -> Result<(), AgentErr... method load_toolboxes (line 935) | async fn load_toolboxes(&mut self) -> Result<(), AgentError> { method clone (line 141) | fn clone(&self) -> Self { method context (line 190) | pub fn context(&mut self, context: impl AgentContext + 'static) -> &mut ... method system_prompt_mut (line 199) | pub fn system_prompt_mut(&mut self) -> Option<&mut SystemPrompt> { method no_system_prompt (line 204) | pub fn no_system_prompt(&mut self) -> &mut Self { method add_hook (line 211) | pub fn add_hook(&mut self, hook: Hook) -> &mut Self { method add_tool (line 219) | pub fn add_tool(&mut self, tool: impl Tool + 'static) -> &mut Self { method before_all (line 230) | pub fn before_all(&mut self, hook: impl BeforeAllFn + 'static) -> &mut S... method on_start (line 237) | pub fn on_start(&mut self, hook: impl OnStartFn + 'static) -> &mut Self { method on_stream (line 247) | pub fn on_stream(&mut self, hook: impl OnStreamFn + 'static) -> &mut Self { method before_completion (line 253) | pub fn before_completion(&mut self, hook: impl BeforeCompletionFn + 'sta... method after_tool (line 262) | pub fn after_tool(&mut self, hook: impl AfterToolFn + 'static) -> &mut S... method before_tool (line 267) | pub fn before_tool(&mut self, hook: impl BeforeToolFn + 'static) -> &mut... method after_completion (line 272) | pub fn after_completion(&mut self, hook: impl AfterCompletionFn + 'stati... method after_each (line 278) | pub fn after_each(&mut self, hook: impl AfterEachFn + 'static) -> &mut S... method on_new_message (line 284) | pub fn on_new_message(&mut self, hook: impl MessageHookFn + 'static) -> ... method on_stop (line 288) | pub fn on_stop(&mut self, hook: impl OnStopFn + 'static) -> &mut Self { method llm (line 293) | pub fn llm(&mut self, llm: &LLM) ... method without_default_stop_tool (line 304) | pub fn without_default_stop_tool(&mut self) -> &mut Self { method builder_default_tools (line 309) | fn builder_default_tools(&self) -> HashSet> { method tools (line 321) | pub fn tools>(&mut self, tools: I) ->... method add_toolbox (line 339) | pub fn add_toolbox(&mut self, toolbox: impl ToolBox + 'static) -> &mut S... function maybe_tool_call_without_output (line 950) | fn maybe_tool_call_without_output(messages: &[ChatMessage]) -> Option<&C... function test_agent_builder_defaults (line 986) | async fn test_agent_builder_defaults() { function test_agent_tool_calling_loop (line 1022) | async fn test_agent_tool_calling_loop() { function test_agent_tool_run_once (line 1068) | async fn test_agent_tool_run_once() { function test_agent_tool_via_toolbox_run_once (line 1100) | async fn test_agent_tool_via_toolbox_run_once() { function test_multiple_tool_calls (line 1132) | async fn test_multiple_tool_calls() { function test_agent_state_machine (line 1189) | async fn test_agent_state_machine() { function test_summary (line 1218) | async fn test_summary() { function test_agent_hooks (line 1279) | async fn test_agent_hooks() { function test_agent_loop_limit (line 1348) | async fn test_agent_loop_limit() { function test_tool_retry_mechanism (line 1395) | async fn test_tool_retry_mechanism() { function test_streaming (line 1455) | async fn test_streaming() { function test_recovering_agent_existing_history (line 1491) | async fn test_recovering_agent_existing_history() { function test_agent_with_approval_required_tool (line 1588) | async fn test_agent_with_approval_required_tool() { function test_agent_with_approval_required_tool_denied (line 1662) | async fn test_agent_with_approval_required_tool_denied() { function test_defers_user_message_until_pending_tool_calls_complete (line 1747) | async fn test_defers_user_message_until_pending_tool_calls_complete() { function test_removing_default_stop_tool (line 1785) | async fn test_removing_default_stop_tool() { FILE: swiftide-agents/src/default_context.rs type DefaultContext (line 32) | pub struct DefaultContext { method fmt (line 67) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from_executor (line 80) | pub fn from_executor>>(executor: T) -> D... method with_stop_on_assistant (line 89) | pub fn with_stop_on_assistant(&mut self, stop: bool) -> &mut Self { method with_message_history (line 94) | pub fn with_message_history(&mut self, backend: impl MessageHistory + ... method with_existing_messages (line 108) | pub async fn with_existing_messages>( method with_tool_feedback (line 124) | pub fn with_tool_feedback(&mut self, feedback: impl Into Self { method next_completion (line 134) | async fn next_completion(&self) -> Result>> { method current_new_messages (line 175) | async fn current_new_messages(&self) -> Result> { method history (line 187) | async fn history(&self) -> Result> { method add_messages (line 192) | async fn add_messages(&self, messages: Vec) -> Result<()> { method add_message (line 197) | async fn add_message(&self, item: ChatMessage) -> Result<()> { method exec_cmd (line 202) | async fn exec_cmd(&self, cmd: &Command) -> Result &Arc { method redrive (line 214) | async fn redrive(&self) -> Result<()> { method has_received_feedback (line 227) | async fn has_received_feedback(&self, tool_call: &ToolCall) -> Option) -> Result<()> { function filter_messages_since_summary (line 258) | fn filter_messages_since_summary(messages: Vec) -> Vec Option<&StopReason> { type StopReason (line 29) | pub enum StopReason { method as_requested_by_tool (line 54) | pub fn as_requested_by_tool(&self) -> Option<(&ToolCall, Option<&Value... method as_tool_calls_over_limit (line 62) | pub fn as_tool_calls_over_limit(&self) -> Option<&ToolCall> { method as_feedback_required (line 70) | pub fn as_feedback_required(&self) -> Option<(&ToolCall, Option<&serde... method as_error (line 78) | pub fn as_error(&self) -> Option<()> { method as_no_new_messages (line 86) | pub fn as_no_new_messages(&self) -> Option<()> { method as_other (line 94) | pub fn as_other(&self) -> Option<&str> { method from (line 109) | fn from(value: S) -> Self { method default (line 103) | fn default() -> Self { FILE: swiftide-agents/src/system_prompt.rs type SystemPrompt (line 23) | pub struct SystemPrompt { method builder (line 47) | pub fn builder() -> SystemPromptBuilder { method to_prompt (line 51) | pub fn to_prompt(&self) -> Prompt { method with_added_guideline (line 56) | pub fn with_added_guideline(&mut self, guideline: impl AsRef) -> ... method with_added_constraint (line 62) | pub fn with_added_constraint(&mut self, constraint: impl AsRef) -... method with_guidelines (line 68) | pub fn with_guidelines, S: AsRef>( method with_constraints (line 80) | pub fn with_constraints, S: AsRef>( method with_role (line 92) | pub fn with_role(&mut self, role: impl Into) -> &mut Self { method with_additional (line 98) | pub fn with_additional(&mut self, additional: impl Into) -> &m... method with_template (line 104) | pub fn with_template(&mut self, template: impl Into) -> &mut S... method from (line 111) | fn from(text: String) -> Self { method from (line 123) | fn from(text: &'static str) -> Self { method from (line 147) | fn from(prompt: Prompt) -> Self { method into (line 218) | fn into(self) -> Prompt { method from (line 135) | fn from(val: SystemPrompt) -> Self { method default (line 159) | fn default() -> Self { method add_guideline (line 171) | pub fn add_guideline(&mut self, guideline: &str) -> &mut Self { method add_constraint (line 178) | pub fn add_constraint(&mut self, constraint: &str) -> &mut Self { method guidelines (line 185) | pub fn guidelines, S: AsRef>( method constraints (line 198) | pub fn constraints, S: AsRef>( function default_prompt_template (line 212) | fn default_prompt_template() -> Prompt { function test_customization (line 240) | async fn test_customization() { function test_to_prompt (line 265) | async fn test_to_prompt() { function test_system_prompt_to_builder (line 290) | async fn test_system_prompt_to_builder() { function test_with_added_guideline_and_constraint (line 316) | fn test_with_added_guideline_and_constraint() { function test_with_guidelines_and_constraints_overwrites (line 328) | fn test_with_guidelines_and_constraints_overwrites() { function test_with_role_and_additional_and_template (line 344) | fn test_with_role_and_additional_and_template() { FILE: swiftide-agents/src/tasks/closures.rs type SyncFn (line 11) | pub struct SyncFn type AsyncFn (line 20) | pub struct AsyncFn function new (line 38) | pub fn new(f: F) -> Self { function new (line 56) | pub fn new(f: F) -> Self { function from (line 68) | fn from(f: F) -> Self { function from (line 81) | fn from(f: F) -> Self { type Input (line 93) | type Input = I; type Output (line 94) | type Output = O; type Error (line 95) | type Error = NodeError; method evaluate (line 97) | async fn evaluate( type Input (line 119) | type Input = I; type Output (line 120) | type Output = O; type Error (line 121) | type Error = NodeError; method evaluate (line 123) | async fn evaluate( FILE: swiftide-agents/src/tasks/errors.rs type TaskError (line 6) | pub enum TaskError { method missing_transition (line 30) | pub fn missing_transition(node_id: usize) -> Self { method missing_node (line 34) | pub fn missing_node(node_id: usize) -> Self { method missing_input (line 38) | pub fn missing_input(node_id: usize) -> Self { method missing_output (line 42) | pub fn missing_output(node_id: usize) -> Self { method type_error (line 46) | pub fn type_error(output: &T) -> Self { type NodeError (line 57) | pub struct NodeError { method fmt (line 64) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 74) | pub fn new( FILE: swiftide-agents/src/tasks/impls.rs type TaskAgent (line 19) | pub struct TaskAgent(Arc>); method from (line 22) | fn from(agent: Agent) -> Self { type Input (line 30) | type Input = Prompt; type Output (line 32) | type Output = (); type Error (line 34) | type Error = AgentError; method evaluate (line 36) | async fn evaluate( type Input (line 49) | type Input = Prompt; type Output (line 51) | type Output = String; type Error (line 53) | type Error = LanguageModelError; method evaluate (line 55) | async fn evaluate( type Input (line 69) | type Input = Prompt; type Output (line 71) | type Output = String; type Error (line 73) | type Error = LanguageModelError; method evaluate (line 75) | async fn evaluate( type Input (line 89) | type Input = ChatCompletionRequest<'static>; type Output (line 91) | type Output = ChatCompletionResponse; type Error (line 93) | type Error = LanguageModelError; method evaluate (line 95) | async fn evaluate( type Input (line 108) | type Input = ChatCompletionRequest<'static>; type Output (line 110) | type Output = ChatCompletionResponse; type Error (line 112) | type Error = LanguageModelError; method evaluate (line 114) | async fn evaluate( type Input (line 127) | type Input = Command; type Output (line 129) | type Output = CommandOutput; type Error (line 131) | type Error = CommandError; method evaluate (line 133) | async fn evaluate( type Input (line 146) | type Input = Command; type Output (line 148) | type Output = CommandOutput; type Error (line 150) | type Error = CommandError; method evaluate (line 152) | async fn evaluate( type Input (line 168) | type Input = I; type Output (line 170) | type Output = O; type Error (line 172) | type Error = E; method evaluate (line 174) | async fn evaluate( FILE: swiftide-agents/src/tasks/node.rs type NodeArg (line 11) | pub trait NodeArg: Send + Sync + DynClone + 'static {} type NoopNode (line 16) | pub struct NoopNode { method default (line 24) | fn default() -> Self { type TaskNode (line 47) | pub trait TaskNode: Send + Sync + DynClone + Any { type Output (line 33) | type Output = (); type Input (line 34) | type Input = Context; type Error (line 35) | type Error = NodeError; method evaluate (line 37) | async fn evaluate( method evaluate (line 52) | async fn evaluate( type Input (line 79) | type Input = Input; type Output (line 80) | type Output = Output; type Error (line 81) | type Error = Error; method evaluate (line 83) | async fn evaluate( type DynNodeId (line 59) | pub type DynNodeId = NodeId< type NodeId (line 97) | pub struct NodeId { function fmt (line 103) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type AnyNodeId (line 110) | pub type AnyNodeId = usize; function id (line 113) | pub fn id(&self) -> usize { function as_transition (line 118) | pub fn as_transition(&self) -> impl Fn(T::Input) -> MarkedTransitionPayl... function transitions_with (line 127) | pub fn transitions_with(&self, context: T::Input) -> MarkedTransitionPay... function new (line 133) | pub fn new(id: usize, _node: &T) -> Self { function as_any (line 141) | pub fn as_any(&self) -> AnyNodeId { function as_dyn (line 145) | pub fn as_dyn( method clone (line 156) | fn clone(&self) -> Self { FILE: swiftide-agents/src/tasks/task.rs type Task (line 24) | pub struct Task { method clone (line 33) | fn clone(&self) -> Self { method default (line 45) | fn default() -> Self { function new (line 51) | pub fn new() -> Self { function current_input (line 74) | pub fn current_input(&self) -> Option<&Input> { function current_output (line 81) | pub fn current_output(&self) -> Option<&Output> { function done (line 88) | pub fn done(&self) -> NodeId> { function transitions_to_done (line 93) | pub fn transitions_to_done( function starts_with (line 101) | pub fn starts_with + Clone + 'static>( function validate_transitions (line 114) | pub fn validate_transitions(&self) -> Result<(), TaskError> { function run (line 136) | pub async fn run(&mut self, input: impl Into) -> Result Result, TaskError> { function start_task (line 162) | async fn start_task(&mut self) -> Result, TaskError> { function current_node (line 228) | pub fn current_node(&self) -> Option<&T> { function node_at (line 233) | pub fn node_at(&self, node_id: NodeId) -> Opti... function node_at_index (line 238) | pub fn node_at_index(&self, index: usize) -> Opti... function current_transition (line 248) | fn current_transition( function transition_at_index (line 255) | fn transition_at_index( function register_node (line 268) | pub fn register_node(&mut self, node: T) -> NodeId function register_transition (line 297) | pub fn register_transition<'a, From, To, F>( function register_transition_async (line 352) | pub fn register_transition_async<'a, From, To, F>( type Error (line 409) | struct Error(String); method fmt (line 412) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type IntNode (line 418) | struct IntNode; type Input (line 421) | type Input = i32; type Output (line 422) | type Output = i32; type Error (line 423) | type Error = Error; method evaluate (line 425) | async fn evaluate( function sequential_3_node_task_reset_works (line 438) | async fn sequential_3_node_task_reset_works() { FILE: swiftide-agents/src/tasks/transition.rs type TransitionFn (line 11) | pub trait TransitionFn: type Transition (line 23) | pub(crate) struct Transition< method clone (line 41) | fn clone(&self) -> Self { function fmt (line 54) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type NextNode (line 63) | pub struct NextNode { method new (line 70) | pub fn new(node_id: NodeId, context: T::Input... type TransitionPayload (line 90) | pub enum TransitionPayload { method from (line 84) | fn from(next_node: NextNode) -> Self { method next_node (line 97) | pub fn next_node(node_id: &NodeId, context: T... method pause (line 101) | pub fn pause() -> Self { method error (line 105) | pub fn error(error: impl Into... type MarkedTransitionPayload (line 110) | pub struct MarkedTransitionPayload( function new (line 116) | pub fn new(payload: TransitionPayload) -> Self { function into_inner (line 120) | pub fn into_inner(self) -> TransitionPayload { type Target (line 126) | type Target = TransitionPayload; function deref (line 128) | fn deref(&self) -> &Self::Target { type AnyNodeTransition (line 134) | pub(crate) trait AnyNodeTransition: Any + Send + Sync + std::fmt::Debug ... method transition_is_set (line 135) | fn transition_is_set(&self) -> bool; method evaluate_next (line 137) | async fn evaluate_next( method node_id (line 142) | fn node_id(&self) -> usize; method evaluate_next (line 151) | async fn evaluate_next( method transition_is_set (line 164) | fn transition_is_set(&self) -> bool { method node_id (line 168) | fn node_id(&self) -> usize { FILE: swiftide-agents/src/test_utils.rs type Expectations (line 147) | type Expectations = Arc, Option... type MockTool (line 150) | pub struct MockTool { method default (line 157) | pub fn default() -> Self { method new (line 160) | pub fn new(name: &'static str) -> Self { method expect_invoke_ok (line 166) | pub fn expect_invoke_ok( method expect_invoke (line 175) | pub fn expect_invoke( method invoke (line 189) | async fn invoke( method name (line 211) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 215) | fn tool_spec(&self) -> ToolSpec { function from (line 225) | fn from(val: MockTool) -> Self { method drop (line 231) | fn drop(&mut self) { type MockHook (line 253) | pub struct MockHook { method new (line 260) | pub fn new(name: &'static str) -> Self { method expect_calls (line 268) | pub fn expect_calls(&mut self, expected_calls: usize) -> &mut Self { method hook_fn (line 274) | pub fn hook_fn(&self) -> impl BeforeAllFn + use<> { method on_start_fn (line 287) | pub fn on_start_fn(&self) -> impl OnStartFn + use<> { method before_completion_fn (line 299) | pub fn before_completion_fn(&self) -> impl BeforeCompletionFn + use<> { method after_completion_fn (line 312) | pub fn after_completion_fn(&self) -> impl AfterCompletionFn + use<> { method after_tool_fn (line 325) | pub fn after_tool_fn(&self) -> impl AfterToolFn + use<> { method before_tool_fn (line 338) | pub fn before_tool_fn(&self) -> impl BeforeToolFn + use<> { method message_hook_fn (line 351) | pub fn message_hook_fn(&self) -> impl MessageHookFn + use<> { method stop_hook_fn (line 364) | pub fn stop_hook_fn(&self) -> impl OnStopFn + use<> { method on_stream_fn (line 377) | pub fn on_stream_fn(&self) -> impl OnStreamFn + use<> { method drop (line 391) | fn drop(&mut self) { FILE: swiftide-agents/src/tools/arg_preprocessor.rs type ArgPreprocessor (line 8) | pub struct ArgPreprocessor; method preprocess_tool_calls (line 11) | pub fn preprocess_tool_calls(tool_calls: &mut [ToolCall]) { method preprocess (line 23) | pub fn preprocess(value: Option<&str>) -> Option> { function take_first_occurrence_in_object (line 29) | fn take_first_occurrence_in_object(value: &str) -> Cow<'_, str> { function test_preprocess_regular_json (line 53) | fn test_preprocess_regular_json() { function test_preprocess_json_with_duplicate_keys (line 68) | fn test_preprocess_json_with_duplicate_keys() { function test_no_preprocess_invalid_json (line 82) | fn test_no_preprocess_invalid_json() { function test_no_input (line 89) | fn test_no_input() { FILE: swiftide-agents/src/tools/control.rs type Stop (line 13) | pub struct Stop {} method invoke (line 17) | async fn invoke( method name (line 25) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 29) | fn tool_spec(&self) -> ToolSpec { function from (line 39) | fn from(val: Stop) -> Self { type StopWithArgs (line 46) | pub struct StopWithArgs { method with_parameters_schema (line 65) | pub fn with_parameters_schema(schema: Schema) -> Self { method parameters_schema (line 72) | fn parameters_schema(&self) -> Schema { method default (line 52) | fn default() -> Self { type DefaultStopWithArgsSpec (line 80) | struct DefaultStopWithArgsSpec { method invoke (line 86) | async fn invoke( method name (line 108) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 112) | fn tool_spec(&self) -> ToolSpec { function from (line 125) | fn from(val: StopWithArgs) -> Self { type AgentFailedArgsSpec (line 131) | struct AgentFailedArgsSpec { type AgentCanFail (line 139) | pub struct AgentCanFail { method with_parameters_schema (line 158) | pub fn with_parameters_schema(schema: Schema) -> Self { method parameters_schema (line 165) | fn parameters_schema(&self) -> Schema { method default (line 145) | fn default() -> Self { method invoke (line 174) | async fn invoke( method name (line 198) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 202) | fn tool_spec(&self) -> ToolSpec { function from (line 215) | fn from(val: AgentCanFail) -> Self { type ApprovalRequired (line 222) | pub struct ApprovalRequired(pub Box); method new (line 226) | pub fn new(tool: impl Tool + 'static) -> Self { method invoke (line 233) | async fn invoke( method name (line 250) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 254) | fn tool_spec(&self) -> ToolSpec { function from (line 260) | fn from(val: ApprovalRequired) -> Self { function dummy_tool_call (line 271) | fn dummy_tool_call(name: &str, args: Option<&str>) -> ToolCall { function test_stop_tool (line 280) | async fn test_stop_tool() { function test_stop_with_args_tool (line 289) | async fn test_stop_with_args_tool() { function test_agent_can_fail_tool (line 299) | async fn test_agent_can_fail_tool() { type CustomFailArgs (line 309) | struct CustomFailArgs { function test_agent_can_fail_custom_schema_in_spec (line 315) | fn test_agent_can_fail_custom_schema_in_spec() { function test_agent_can_fail_custom_schema_forwards_payload (line 323) | async fn test_agent_can_fail_custom_schema_forwards_payload() { function test_agent_can_fail_default_schema_matches_previous (line 337) | fn test_agent_can_fail_default_schema_matches_previous() { function test_approval_required_feedback_required (line 345) | async fn test_approval_required_feedback_required() { type CustomStopArgs (line 357) | struct CustomStopArgs { function test_stop_with_args_custom_schema_in_spec (line 362) | fn test_stop_with_args_custom_schema_in_spec() { function test_stop_with_args_custom_schema_forwards_payload (line 370) | async fn test_stop_with_args_custom_schema_forwards_payload() { function test_stop_with_args_default_schema_matches_previous (line 381) | fn test_stop_with_args_default_schema_matches_previous() { FILE: swiftide-agents/src/tools/local_executor.rs type LocalExecutor (line 23) | pub struct LocalExecutor { method new (line 54) | pub fn new(workdir: impl Into) -> Self { method builder (line 64) | pub fn builder() -> LocalExecutorBuilder { method resolve_workdir (line 68) | fn resolve_workdir(&self, cmd: &Command) -> PathBuf { method resolve_timeout (line 76) | fn resolve_timeout(&self, cmd: &Command) -> Option { method exec_shell (line 81) | async fn exec_shell( method exec_read_file (line 221) | async fn exec_read_file( method exec_write_file (line 251) | async fn exec_write_file( method collect_process_output (line 283) | async fn collect_process_output( method merge_output (line 312) | fn merge_output(stdout: &[String], stderr: &[String]) -> CommandOutput { method default (line 42) | fn default() -> Self { method exec_cmd (line 326) | async fn exec_cmd(&self, cmd: &Command) -> Result anyhow::Result<()> { function test_local_executor_echo_hello_world (line 410) | async fn test_local_executor_echo_hello_world() -> anyhow::Result<()> { function test_local_executor_shell_timeout (line 434) | async fn test_local_executor_shell_timeout() -> anyhow::Result<()> { function test_local_executor_default_timeout_applies (line 458) | async fn test_local_executor_default_timeout_applies() -> anyhow::Result... function test_local_executor_clear_env (line 479) | async fn test_local_executor_clear_env() -> anyhow::Result<()> { function test_local_executor_add_env (line 505) | async fn test_local_executor_add_env() -> anyhow::Result<()> { function test_local_executor_env_remove (line 533) | async fn test_local_executor_env_remove() -> anyhow::Result<()> { function test_local_executor_run_shebang (line 559) | async fn test_local_executor_run_shebang() -> anyhow::Result<()> { function test_local_executor_multiline_with_quotes (line 588) | async fn test_local_executor_multiline_with_quotes() -> anyhow::Result<(... function test_local_executor_write_and_read_file_commands (line 626) | async fn test_local_executor_write_and_read_file_commands() -> anyhow::R... function test_local_executor_stream_files (line 673) | async fn test_local_executor_stream_files() -> anyhow::Result<()> { function test_local_executor_honors_workdir (line 707) | async fn test_local_executor_honors_workdir() -> anyhow::Result<()> { function test_local_executor_command_current_dir (line 749) | async fn test_local_executor_command_current_dir() -> anyhow::Result<()> { function test_local_executor_current_dir (line 786) | async fn test_local_executor_current_dir() -> anyhow::Result<()> { function test_local_executor_current_dir_dyn (line 808) | async fn test_local_executor_current_dir_dyn() -> anyhow::Result<()> { FILE: swiftide-agents/src/tools/mcp.rs type ToolFilter (line 28) | pub enum ToolFilter { type McpToolbox (line 38) | pub struct McpToolbox { method with_blacklist (line 49) | pub fn with_blacklist, I: IntoIterator>( method with_whitelist (line 59) | pub fn with_whitelist, I: IntoIterator>( method with_filter (line 69) | pub fn with_filter(&mut self, filter: ToolFilter) -> &mut Self { method with_name (line 75) | pub fn with_name(&mut self, name: impl Into) -> &mut Self { method name (line 80) | pub fn name(&self) -> &str { method try_from_transport (line 89) | pub async fn try_from_transport< method from_running_service (line 106) | pub fn from_running_service( method default_client_info (line 116) | fn default_client_info() -> ClientInfo { method cancel (line 137) | pub async fn cancel(&mut self) -> Result<()> { method available_tools (line 158) | async fn available_tools(&self) -> Result>> { method name (line 238) | fn name(&self) -> Cow<'_, str> { type McpTool (line 244) | struct McpTool { method invoke (line 253) | async fn invoke( method name (line 327) | fn name(&self) -> std::borrow::Cow<'_, str> { method tool_spec (line 331) | fn tool_spec(&self) -> ToolSpec { constant SOCKET_PATH (line 343) | const SOCKET_PATH: &str = "/tmp/swiftide-mcp.sock"; constant EXPECTED_PREFIX (line 344) | const EXPECTED_PREFIX: &str = "rmcp"; function test_socket (line 348) | async fn test_socket() { function server (line 456) | async fn server(unix_listener: UnixListener) -> anyhow::Result<()> { function client (line 476) | async fn client() -> anyhow::Result { type Request (line 497) | pub struct Request { type OptRequest (line 503) | pub struct OptRequest { type Calculator (line 508) | pub struct Calculator { method new (line 514) | pub fn new() -> Self { method sum (line 522) | fn sum( method sub (line 533) | fn sub( method optional (line 544) | fn optional( method get_info (line 556) | fn get_info(&self) -> ServerInfo { FILE: swiftide-core/src/agent_traits.rs type ToolExecutor (line 30) | pub trait ToolExecutor: Send + Sync + DynClone { method exec_cmd (line 32) | async fn exec_cmd(&self, cmd: &Command) -> Result Result Result Result Result { function new (line 56) | pub fn new(executor: E, scope: impl Into) -> Self { function apply_scope (line 64) | fn apply_scope<'a>(&'a self, cmd: &'a Command) -> Cow<'a, Command> { function scoped_path (line 84) | fn scoped_path<'a>(&'a self, path: &'a Path) -> Cow<'a, Path> { function inner (line 93) | pub fn inner(&self) -> &E { function scope (line 98) | pub fn scope(&self) -> &Path { type ExecutorExt (line 126) | pub trait ExecutorExt { method scoped (line 128) | fn scoped(&self, path: impl Into) -> ScopedExecutor<&Self>; method scoped_owned (line 130) | fn scoped_owned(self, path: impl Into) -> ScopedExecutor method scoped (line 139) | fn scoped(&self, path: impl Into) -> ScopedExecutor<&Self> { method scoped_owned (line 143) | fn scoped_owned(self, path: impl Into) -> ScopedExecutor { type CommandError (line 197) | pub enum CommandError { method from (line 215) | fn from(err: std::io::Error) -> Self { type Command (line 232) | pub enum Command { method shell (line 252) | pub fn shell>(cmd: S) -> Self { method read_file (line 260) | pub fn read_file>(path: P) -> Self { method write_file (line 268) | pub fn write_file, S: Into>(path: P, content:... method with_current_dir (line 282) | pub fn with_current_dir>(mut self, path: P) -> Self { method current_dir (line 289) | pub fn current_dir>(&mut self, path: P) -> &mut Self { method clear_current_dir (line 301) | pub fn clear_current_dir(&mut self) -> &mut Self { method current_dir_path (line 312) | pub fn current_dir_path(&self) -> Option<&Path> { method with_timeout (line 322) | pub fn with_timeout(mut self, timeout: Duration) -> Self { method timeout (line 328) | pub fn timeout(&mut self, timeout: Duration) -> &mut Self { method clear_timeout (line 340) | pub fn clear_timeout(&mut self) -> &mut Self { method timeout_duration (line 352) | pub fn timeout_duration(&self) -> Option<&Duration> { type CommandOutput (line 363) | pub struct CommandOutput { method empty (line 370) | pub fn empty() -> Self { method new (line 376) | pub fn new(output: impl Into) -> Self { method is_empty (line 381) | pub fn is_empty(&self) -> bool { method fmt (line 387) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 393) | fn from(value: T) -> Self { method as_ref (line 401) | fn as_ref(&self) -> &str { type ToolFeedback (line 409) | pub enum ToolFeedback { method approved (line 415) | pub fn approved() -> Self { method refused (line 419) | pub fn refused() -> Self { method payload (line 423) | pub fn payload(&self) -> Option<&serde_json::Value> { method with_payload (line 432) | pub fn with_payload(self, payload: serde_json::Value) -> Self { type AgentContext (line 446) | pub trait AgentContext: Send + Sync { method next_completion (line 456) | async fn next_completion(&self) -> Result>>; method current_new_messages (line 459) | async fn current_new_messages(&self) -> Result>; method add_messages (line 462) | async fn add_messages(&self, item: Vec) -> Result<()>; method add_message (line 465) | async fn add_message(&self, item: ChatMessage) -> Result<()>; method exec_cmd (line 471) | async fn exec_cmd(&self, cmd: &Command) -> Result &Arc; method history (line 475) | async fn history(&self) -> Result>; method replace_history (line 478) | async fn replace_history(&self, items: Vec) -> Result<()>; method redrive (line 484) | async fn redrive(&self) -> Result<()>; method has_received_feedback (line 488) | async fn has_received_feedback(&self, tool_call: &ToolCall) -> Option<... method feedback_received (line 490) | async fn feedback_received(&self, tool_call: &ToolCall, feedback: &Too... method next_completion (line 495) | async fn next_completion(&self) -> Result>> { method current_new_messages (line 499) | async fn current_new_messages(&self) -> Result> { method add_messages (line 503) | async fn add_messages(&self, item: Vec) -> Result<()> { method add_message (line 507) | async fn add_message(&self, item: ChatMessage) -> Result<()> { method exec_cmd (line 512) | async fn exec_cmd(&self, cmd: &Command) -> Result &Arc { method history (line 520) | async fn history(&self) -> Result> { method replace_history (line 524) | async fn replace_history(&self, items: Vec) -> Result<()> { method redrive (line 528) | async fn redrive(&self) -> Result<()> { method has_received_feedback (line 532) | async fn has_received_feedback(&self, tool_call: &ToolCall) -> Option<... method feedback_received (line 536) | async fn feedback_received(&self, tool_call: &ToolCall, feedback: &Too... method next_completion (line 543) | async fn next_completion(&self) -> Result>> { method current_new_messages (line 547) | async fn current_new_messages(&self) -> Result> { method add_messages (line 551) | async fn add_messages(&self, item: Vec) -> Result<()> { method add_message (line 555) | async fn add_message(&self, item: ChatMessage) -> Result<()> { method exec_cmd (line 560) | async fn exec_cmd(&self, cmd: &Command) -> Result &Arc { method history (line 568) | async fn history(&self) -> Result> { method replace_history (line 572) | async fn replace_history(&self, items: Vec) -> Result<()> { method redrive (line 576) | async fn redrive(&self) -> Result<()> { method has_received_feedback (line 580) | async fn has_received_feedback(&self, tool_call: &ToolCall) -> Option<... method feedback_received (line 584) | async fn feedback_received(&self, tool_call: &ToolCall, feedback: &Too... method next_completion (line 591) | async fn next_completion(&self) -> Result>> { method current_new_messages (line 595) | async fn current_new_messages(&self) -> Result> { method add_messages (line 599) | async fn add_messages(&self, item: Vec) -> Result<()> { method add_message (line 603) | async fn add_message(&self, item: ChatMessage) -> Result<()> { method exec_cmd (line 608) | async fn exec_cmd(&self, cmd: &Command) -> Result &Arc { method history (line 616) | async fn history(&self) -> Result> { method replace_history (line 620) | async fn replace_history(&self, items: Vec) -> Result<()> { method redrive (line 624) | async fn redrive(&self) -> Result<()> { method has_received_feedback (line 628) | async fn has_received_feedback(&self, tool_call: &ToolCall) -> Option<... method feedback_received (line 632) | async fn feedback_received(&self, tool_call: &ToolCall, feedback: &Too... method next_completion (line 642) | async fn next_completion(&self) -> Result>> { method current_new_messages (line 646) | async fn current_new_messages(&self) -> Result> { method add_messages (line 650) | async fn add_messages(&self, _item: Vec) -> Result<()> { method add_message (line 654) | async fn add_message(&self, _item: ChatMessage) -> Result<()> { method exec_cmd (line 658) | async fn exec_cmd(&self, _cmd: &Command) -> Result &Arc { method history (line 668) | async fn history(&self) -> Result> { method replace_history (line 672) | async fn replace_history(&self, _items: Vec) -> Result<()> { method redrive (line 676) | async fn redrive(&self) -> Result<()> { method has_received_feedback (line 680) | async fn has_received_feedback(&self, _tool_call: &ToolCall) -> Option... method feedback_received (line 684) | async fn feedback_received( type MessageHistory (line 700) | pub trait MessageHistory: Send + Sync + std::fmt::Debug { method history (line 702) | async fn history(&self) -> Result>; method push_owned (line 705) | async fn push_owned(&self, item: ChatMessage) -> Result<()>; method overwrite (line 708) | async fn overwrite(&self, items: Vec) -> Result<()>; method push (line 711) | async fn push(&self, item: &ChatMessage) -> Result<()> { method extend (line 716) | async fn extend(&self, items: &[ChatMessage]) -> Result<()> { method extend_owned (line 722) | async fn extend_owned(&self, items: Vec) -> Result<()> { method history (line 733) | async fn history(&self) -> Result> { method push_owned (line 737) | async fn push_owned(&self, item: ChatMessage) -> Result<()> { method overwrite (line 743) | async fn overwrite(&self, items: Vec) -> Result<()> { FILE: swiftide-core/src/chat_completion/chat_completion_request.rs type ChatCompletionRequest (line 11) | pub struct ChatCompletionRequest<'a> { function builder (line 18) | pub fn builder() -> ChatCompletionRequestBuilder<'a> { function messages (line 23) | pub fn messages(&self) -> &[ChatMessage] { function tools_spec (line 28) | pub fn tools_spec(&self) -> &BTreeSet { function to_owned (line 33) | pub fn to_owned(&self) -> ChatCompletionRequest<'static> { function from (line 42) | fn from(messages: Vec) -> Self { function from (line 51) | fn from(messages: &'a [ChatMessage]) -> Self { function tools_spec (line 61) | pub fn tools_spec(&mut self, tools_spec: I) -> &mut Self function tools (line 70) | pub fn tools(&mut self, tools: I) -> &mut Self function tool (line 83) | pub fn tool(&mut self, tool: T) -> &mut Self function tool_specs (line 92) | pub fn tool_specs(&mut self, specs: I) -> &mut Self function message (line 102) | pub fn message(&mut self, message: impl Into) -> &mut Self { function messages_iter (line 115) | pub fn messages_iter(&mut self, messages: I) -> &mut Self function tool_specs_are_stored_in_deterministic_order (line 138) | fn tool_specs_are_stored_in_deterministic_order() { function schema_from_json (line 180) | fn schema_from_json(value: serde_json::Value) -> Schema { FILE: swiftide-core/src/chat_completion/chat_completion_response.rs type ChatCompletionResponse (line 15) | pub struct ChatCompletionResponse { method builder (line 389) | pub fn builder() -> ChatCompletionResponseBuilder { method message (line 393) | pub fn message(&self) -> Option<&str> { method tool_calls (line 397) | pub fn tool_calls(&self) -> Option<&[ToolCall]> { method append_message_delta (line 402) | pub fn append_message_delta(&mut self, message_delta: Option<&str>) ->... method append_tool_call_delta (line 430) | pub fn append_tool_call_delta( method append_usage_delta (line 481) | pub fn append_usage_delta( method finalize_tools_from_stream (line 504) | fn finalize_tools_from_stream(&mut self) { method default (line 40) | fn default() -> Self { type Usage (line 55) | pub struct Usage { method builder (line 69) | pub fn builder() -> UsageBuilder { method normalized (line 77) | pub fn normalized(&self) -> NormalizedUsage { method from (line 291) | fn from(usage: &CompletionUsage) -> Self { method from (line 340) | fn from(usage: &ResponseUsage) -> Self { method from (line 360) | fn from(usage: &EmbeddingUsage) -> Self { type UsageDetails (line 138) | pub struct UsageDetails { type NormalizedUsage (line 155) | pub struct NormalizedUsage { type NormalizedUsageDetails (line 169) | pub struct NormalizedUsageDetails { type NormalizedInputUsageDetails (line 178) | pub struct NormalizedInputUsageDetails { method is_empty (line 188) | fn is_empty(&self) -> bool { type NormalizedOutputUsageDetails (line 195) | pub struct NormalizedOutputUsageDetails { method is_empty (line 211) | fn is_empty(&self) -> bool { type PromptTokensDetails (line 221) | pub struct PromptTokensDetails { method is_empty (line 232) | pub fn is_empty(&self) -> bool { type CompletionTokensDetails (line 239) | pub struct CompletionTokensDetails { method is_empty (line 256) | pub fn is_empty(&self) -> bool { type InputTokenDetails (line 266) | pub struct InputTokenDetails { type OutputTokenDetails (line 274) | pub struct OutputTokenDetails { type ChatCompletionResponseDelta (line 372) | pub struct ChatCompletionResponseDelta { type ToolCallAccum (line 382) | pub struct ToolCallAccum { method maybe_message (line 529) | pub fn maybe_message>>(&mut self, message: T) -> ... method maybe_tool_calls (line 534) | pub fn maybe_tool_calls>>>(&mut self, tool_... FILE: swiftide-core/src/chat_completion/chat_message.rs type ReasoningItem (line 9) | pub struct ReasoningItem { type ReasoningStatus (line 27) | pub enum ReasoningStatus { type ChatMessageContentSource (line 35) | pub enum ChatMessageContentSource { method url (line 55) | pub fn url(url: impl Into) -> Self { method bytes (line 59) | pub fn bytes(data: impl Into>, media_type: Option) -> Self method s3 (line 69) | pub fn s3(uri: impl Into, bucket_owner: Option) -> Self method file_id (line 79) | pub fn file_id(file_id: impl Into) -> Self { method from (line 87) | fn from(value: String) -> Self { method from (line 93) | fn from(value: &str) -> Self { method from (line 101) | fn from(value: Vec) -> Self { method from (line 110) | fn from(value: &[u8]) -> Self { method fmt (line 119) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ChatMessageContentPart (line 144) | pub enum ChatMessageContentPart { method text (line 173) | pub fn text(text: impl Into) -> Self { method image (line 177) | pub fn image(source: impl Into) -> Self { method image_with_format (line 184) | pub fn image_with_format( method document (line 194) | pub fn document(source: impl Into) -> Self { method document_with_name (line 202) | pub fn document_with_name( method audio (line 213) | pub fn audio(source: impl Into) -> Self { method video (line 220) | pub fn video(source: impl Into) -> Self { method fmt (line 229) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ChatMessage (line 264) | pub enum ChatMessage { method fmt (line 278) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new_system (line 314) | pub fn new_system(message: impl Into) -> Self { method new_user (line 318) | pub fn new_user(message: impl Into) -> Self { method new_user_with_parts (line 322) | pub fn new_user_with_parts(parts: impl Into, output: impl In... method new_reasoning (line 337) | pub fn new_reasoning(message: ReasoningItem) -> Self { method new_summary (line 341) | pub fn new_summary(message: impl Into) -> Self { method to_owned (line 346) | pub fn to_owned(&self) -> Self { method as_ref (line 357) | fn as_ref(&self) -> &str { function summarize_user_parts (line 371) | fn summarize_user_parts(parts: &[ChatMessageContentPart]) -> (String, us... function truncate_data_url (line 386) | fn truncate_data_url(url: &str) -> Cow<'_, str> { FILE: swiftide-core/src/chat_completion/errors.rs type ToolError (line 14) | pub enum ToolError { method wrong_arguments (line 33) | pub fn wrong_arguments(e: impl Into) -> Self { method missing_arguments (line 38) | pub fn missing_arguments(tool_name: impl Into>) -> S... method execution_failed (line 43) | pub fn execution_failed(e: impl Into) -> Self { method unknown (line 48) | pub fn unknown(e: impl Into) -> Self { type BoxedError (line 53) | type BoxedError = Box; type LanguageModelError (line 56) | pub enum LanguageModelError { method permanent (line 66) | pub fn permanent(e: impl Into) -> Self { method transient (line 70) | pub fn transient(e: impl Into) -> Self { method context_length_exceeded (line 74) | pub fn context_length_exceeded(e: impl Into) -> Self { method from (line 80) | fn from(e: BoxedError) -> Self { method from (line 86) | fn from(e: anyhow::Error) -> Self { method from (line 94) | fn from(val: LanguageModelError) -> Self { FILE: swiftide-core/src/chat_completion/tool_schema.rs type StrictToolParametersSchema (line 6) | pub struct StrictToolParametersSchema { method try_from_raw (line 45) | pub(super) fn try_from_raw(schema: Option<&Schema>) -> Result Value { method as_json (line 62) | pub fn as_json(&self) -> &Value { type ToolSchemaError (line 11) | pub enum ToolSchemaError { function parse_schema_value (line 67) | fn parse_schema_value(value: &Value, path: &SchemaPath) -> Result) { function rewrite_nullable_one_of (line 130) | fn rewrite_nullable_one_of(schema: &mut Map) { function is_nullable_union (line 141) | fn is_nullable_union(entries: &[Value]) -> bool { function nullable_type_union (line 145) | fn nullable_type_union(entries: &[Value]) -> Option<&str> { function is_null_schema (line 168) | fn is_null_schema(value: &Value) -> bool { function extract_schema_annotations (line 175) | fn extract_schema_annotations(schema: &Map) -> Map &'static [&'static str] { function strip_ref_annotation_siblings (line 199) | fn strip_ref_annotation_siblings( function parse_object_schema (line 242) | fn parse_object_schema( function parse_non_object_schema (line 315) | fn parse_non_object_schema( function recurse_schema_children (line 324) | fn recurse_schema_children( function parse_schema_map (line 367) | fn parse_schema_map( function schema_is_object (line 392) | fn schema_is_object(schema: &Map) -> bool { function type_includes_object (line 400) | fn type_includes_object(value: Option<&Value>) -> bool { type SchemaPath (line 412) | pub(super) struct SchemaPath(Vec); method root (line 415) | fn root() -> Self { method with_key (line 419) | fn with_key(&self, key: impl Into) -> Self { method with_index (line 425) | fn with_index(&self, key: impl Into, index: usize) -> Self { method fmt (line 434) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type NestedCommentArgs (line 445) | struct NestedCommentArgs { type NestedCommentRequest (line 451) | struct NestedCommentRequest { type FreeformObject (line 466) | struct FreeformObject(serde_json::Map); method schema_name (line 469) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 473) | fn json_schema(_generator: &mut schemars::SchemaGenerator) -> Schema { type CreateViewArgs (line 484) | struct CreateViewArgs { type CreateViewRequest (line 490) | struct CreateViewRequest { function strict_tool_schema_rejects_nested_freeform_object_wrappers (line 495) | fn strict_tool_schema_rejects_nested_freeform_object_wrappers() { function strict_tool_schema_rewrites_nullable_type_unions_to_any_of (line 506) | fn strict_tool_schema_rewrites_nullable_type_unions_to_any_of() { function strict_tool_schema_rewrites_nullable_one_of_to_any_of (line 532) | fn strict_tool_schema_rewrites_nullable_one_of_to_any_of() { function strict_tool_schema_strips_ref_annotation_siblings (line 561) | fn strict_tool_schema_strips_ref_annotation_siblings() { function strict_tool_schema_preserves_nullable_numeric_constraints_on_the_non_null_branch (line 594) | fn strict_tool_schema_preserves_nullable_numeric_constraints_on_the_non_... function strict_tool_schema_moves_nullable_array_constraints_into_the_array_branch (line 630) | fn strict_tool_schema_moves_nullable_array_constraints_into_the_array_br... function strict_tool_schema_preserves_optional_nested_fields_before_provider_shaping (line 659) | fn strict_tool_schema_preserves_optional_nested_fields_before_provider_s... FILE: swiftide-core/src/chat_completion/tools.rs type ToolOutput (line 14) | pub enum ToolOutput { method text (line 32) | pub fn text(text: impl Into) -> Self { method feedback_required (line 36) | pub fn feedback_required(feedback: Option) -> Self { method stop (line 40) | pub fn stop() -> Self { method stop_with_args (line 44) | pub fn stop_with_args(output: impl Into) -> Self { method agent_failed (line 48) | pub fn agent_failed(output: impl Into) -> Self { method fail (line 52) | pub fn fail(text: impl Into) -> Self { method content (line 56) | pub fn content(&self) -> Option<&str> { method as_text (line 64) | pub fn as_text(&self) -> Option<&str> { method as_fail (line 72) | pub fn as_fail(&self) -> Option<&str> { method as_stop (line 80) | pub fn as_stop(&self) -> Option<&serde_json::Value> { method as_agent_failed (line 88) | pub fn as_agent_failed(&self) -> Option<&serde_json::Value> { method as_feedback_required (line 96) | pub fn as_feedback_required(&self) -> Option<&serde_json::Value> { method from (line 105) | fn from(value: S) -> Self { method fmt (line 110) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ToolCall (line 137) | pub struct ToolCall { method hash (line 146) | fn hash(&self, state: &mut H) { method fmt (line 153) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 165) | pub fn builder() -> ToolCallBuilder { method id (line 169) | pub fn id(&self) -> &str { method name (line 173) | pub fn name(&self) -> &str { method args (line 177) | pub fn args(&self) -> Option<&str> { method with_args (line 181) | pub fn with_args(&mut self, args: Option) { method maybe_args (line 187) | pub fn maybe_args>>(&mut self, args: T) -> &mut S... method maybe_id (line 192) | pub fn maybe_id>>(&mut self, id: T) -> &mut Self { method maybe_name (line 197) | pub fn maybe_name>>(&mut self, name: T) -> &mut S... type ToolSpec (line 210) | pub struct ToolSpec { method builder (line 237) | pub fn builder() -> ToolSpecBuilder { method strict_parameters_schema (line 247) | pub fn strict_parameters_schema(&self) -> Result Result(&self, state: &mut H) { type ToolSpecError (line 223) | pub enum ToolSpecError { type ToolSpecBuildError (line 229) | pub enum ToolSpecBuildError { method build (line 274) | pub fn build(&self) -> Result { method eq (line 298) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 308) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 314) | fn cmp(&self, other: &Self) -> Ordering { function tool_spec_schema_key (line 330) | fn tool_spec_schema_key(spec: &ToolSpec) -> String { function canonicalize_json (line 343) | pub fn canonicalize_json(value: JsonValue) -> JsonValue { type ExampleArgs (line 373) | struct ExampleArgs { type NestedCommentArgs (line 378) | struct NestedCommentArgs { type NestedCommentRequest (line 384) | struct NestedCommentRequest { type FreeformObject (line 399) | struct FreeformObject(serde_json::Map); method schema_name (line 402) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 406) | fn json_schema(_generator: &mut schemars::SchemaGenerator) -> Schema { type CreateViewArgs (line 417) | struct CreateViewArgs { type CreateViewRequest (line 423) | struct CreateViewRequest { function tool_spec_serializes_schema (line 428) | fn tool_spec_serializes_schema() { function tool_spec_is_hashable (line 444) | fn tool_spec_is_hashable() { function tool_spec_hash_is_stable_across_schema_key_order (line 460) | fn tool_spec_hash_is_stable_across_schema_key_order() { function tool_spec_order_is_stable_across_schema_key_order (line 503) | fn tool_spec_order_is_stable_across_schema_key_order() { function strict_parameters_schema_returns_canonical_nested_schema (line 542) | fn strict_parameters_schema_returns_canonical_nested_schema() { function strict_parameters_schema_sets_additional_properties_false_on_nested_typed_objects (line 573) | fn strict_parameters_schema_sets_additional_properties_false_on_nested_t... function tool_spec_builder_rejects_nested_freeform_objects_in_strict_mode (line 598) | fn tool_spec_builder_rejects_nested_freeform_objects_in_strict_mode() { function strict_parameters_schema_preserves_optional_nested_fields (line 612) | fn strict_parameters_schema_preserves_optional_nested_fields() { FILE: swiftide-core/src/chat_completion/traits.rs type ChatCompletionStream (line 16) | pub type ChatCompletionStream = type ChatCompletion (line 19) | pub trait ChatCompletion: Send + Sync + DynClone { method complete (line 20) | async fn complete( method complete_stream (line 27) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -... method complete (line 34) | async fn complete( method complete_stream (line 41) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -... method complete (line 48) | async fn complete( method complete_stream (line 55) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -... method complete (line 65) | async fn complete( method complete_stream (line 72) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -... function from (line 81) | fn from(llm: &LLM) -> Self { type Tool (line 97) | pub trait Tool: Send + Sync + DynClone { method invoke (line 99) | async fn invoke( method name (line 105) | fn name(&self) -> Cow<'_, str>; method tool_spec (line 107) | fn tool_spec(&self) -> ToolSpec; method boxed (line 109) | fn boxed<'a>(self) -> Box method invoke (line 186) | async fn invoke( method name (line 193) | fn name(&self) -> Cow<'_, str> { method tool_spec (line 196) | fn tool_spec(&self) -> ToolSpec { type ToolBox (line 125) | pub trait ToolBox: Send + Sync + DynClone { method available_tools (line 126) | async fn available_tools(&self) -> Result>>; method name (line 128) | fn name(&self) -> Cow<'_, str> { method boxed (line 132) | fn boxed<'a>(self) -> Box method available_tools (line 142) | async fn available_tools(&self) -> Result>> { method available_tools (line 149) | async fn available_tools(&self) -> Result>> { method available_tools (line 156) | async fn available_tools(&self) -> Result>> { method available_tools (line 163) | async fn available_tools(&self) -> Result>> { method available_tools (line 170) | async fn available_tools(&self) -> Result>> { method available_tools (line 177) | async fn available_tools(&self) -> Result>> { method eq (line 206) | fn eq(&self, other: &Self) -> bool { function hash (line 212) | fn hash(&self, state: &mut H) { FILE: swiftide-core/src/document.rs type Document (line 15) | pub struct Document { method fmt (line 52) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 61) | fn from(value: T) -> Self { method new (line 67) | pub fn new(content: impl Into, metadata: Option) -> ... method builder (line 74) | pub fn builder() -> DocumentBuilder { method content (line 78) | pub fn content(&self) -> &str { method metadata (line 82) | pub fn metadata(&self) -> &Metadata { method bytes (line 86) | pub fn bytes(&self) -> &[u8] { function from (line 22) | fn from(document: Document) -> Self { function from (line 31) | fn from(document: &Document) -> Self { method partial_cmp (line 40) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 46) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { function test_document_creation (line 97) | fn test_document_creation() { function test_document_default_metadata (line 107) | fn test_document_default_metadata() { function test_document_from_str (line 116) | fn test_document_from_str() { function test_document_partial_ord (line 125) | fn test_document_partial_ord() { function test_document_ord (line 133) | fn test_document_ord() { function test_document_debug (line 141) | fn test_document_debug() { function test_document_to_json (line 152) | fn test_document_to_json() { function test_document_ref_to_json (line 163) | fn test_document_ref_to_json() { FILE: swiftide-core/src/indexing_decorators.rs type BackoffConfiguration (line 18) | pub struct BackoffConfiguration { method default (line 31) | fn default() -> Self { type LanguageModelWithBackOff (line 42) | pub struct LanguageModelWithBackOff { function new (line 48) | pub fn new(client: P, config: BackoffConfiguration) -> Self { function strategy (line 55) | pub(crate) fn strategy(&self) -> backoff::ExponentialBackoff { method prompt (line 67) | async fn prompt(&self, prompt: Prompt) -> Result &'static str { method embed (line 97) | async fn embed(&self, input: Vec) -> Result &'static str { method complete (line 108) | async fn complete( method complete_stream (line 131) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -> ... type MockSimplePrompt (line 166) | struct MockSimplePrompt { type MockErrorType (line 173) | enum MockErrorType { type MockChatCompletion (line 180) | struct MockChatCompletion { method complete (line 188) | async fn complete( method prompt (line 223) | async fn prompt(&self, _prompt: Prompt) -> Result &'static str { function test_language_model_with_backoff_retries_transient_errors (line 252) | async fn test_language_model_with_backoff_retries_transient_errors() { function test_language_model_with_backoff_does_not_retry_permanent_errors (line 277) | async fn test_language_model_with_backoff_does_not_retry_permanent_error... function test_language_model_with_backoff_does_not_retry_context_length_errors (line 306) | async fn test_language_model_with_backoff_does_not_retry_context_length_... function test_language_model_with_backoff_retries_chat_completion_transient_errors (line 335) | async fn test_language_model_with_backoff_retries_chat_completion_transi... function test_language_model_with_backoff_does_not_retry_chat_completion_permanent_errors (line 365) | async fn test_language_model_with_backoff_does_not_retry_chat_completion... function test_language_model_with_backoff_does_not_retry_chat_completion_context_length_errors (line 396) | async fn test_language_model_with_backoff_does_not_retry_chat_completion... FILE: swiftide-core/src/indexing_defaults.rs type IndexingDefaults (line 6) | pub struct IndexingDefaults(Arc); method simple_prompt (line 14) | pub fn simple_prompt(&self) -> Option<&dyn SimplePrompt> { method from_simple_prompt (line 18) | pub fn from_simple_prompt(simple_prompt: Box) -> Self { type IndexingDefaultsInner (line 9) | pub struct IndexingDefaultsInner { FILE: swiftide-core/src/indexing_stream.rs type IndexingStream (line 21) | pub struct IndexingStream { type Item (line 27) | type Item = Result>; method poll_next (line 29) | fn poll_next( function into (line 39) | fn into(self) -> IndexingStream { function into (line 45) | fn into(self) -> IndexingStream { function into (line 57) | fn into(self) -> IndexingStream { function into (line 66) | fn into(self) -> IndexingStream { function into (line 72) | fn into(self) -> IndexingStream { function from (line 80) | fn from(err: anyhow::Error) -> Self { function empty (line 86) | pub fn empty() -> Self { function iter (line 96) | pub fn iter(iter: I) -> Self function from_nodes (line 106) | pub fn from_nodes(nodes: Vec>) -> Self { FILE: swiftide-core/src/indexing_traits.rs type Transformer (line 29) | pub trait Transformer: Send + Sync + DynClone { method transform_node (line 33) | async fn transform_node(&self, node: Node) -> Result Option { method name (line 40) | fn name(&self) -> &'static str { type Input (line 70) | type Input = I; type Output (line 71) | type Output = O; method transform_node (line 73) | async fn transform_node(&self, node: Node) -> Result Option { method name (line 79) | fn name(&self) -> &'static str { type Input (line 86) | type Input = I; type Output (line 87) | type Output = O; method transform_node (line 89) | async fn transform_node(&self, node: Node) -> Result Option { method name (line 95) | fn name(&self) -> &'static str { type Input (line 102) | type Input = I; type Output (line 103) | type Output = O; method transform_node (line 105) | async fn transform_node(&self, node: Node) -> Result Option { type Input (line 120) | type Input = String; type Output (line 121) | type Output = String; method transform_node (line 123) | async fn transform_node(&self, node: Node) -> Result>) -> Inde... method concurrency (line 138) | fn concurrency(&self) -> Option { method name (line 142) | fn name(&self) -> &'static str { method batch_size (line 148) | fn batch_size(&self) -> Option { type Input (line 181) | type Input = String; type Output (line 182) | type Output = String; method batch_transform (line 184) | async fn batch_transform(&self, nodes: Vec>) -> IndexingS... type Input (line 193) | type Input = I; type Output (line 194) | type Output = O; method batch_transform (line 196) | async fn batch_transform(&self, nodes: Vec>) -> Inde... method concurrency (line 199) | fn concurrency(&self) -> Option { method name (line 202) | fn name(&self) -> &'static str { type Input (line 211) | type Input = I; type Output (line 212) | type Output = O; method batch_transform (line 214) | async fn batch_transform(&self, nodes: Vec>) -> Inde... method concurrency (line 217) | fn concurrency(&self) -> Option { method name (line 220) | fn name(&self) -> &'static str { type Input (line 227) | type Input = I; type Output (line 228) | type Output = O; method batch_transform (line 230) | async fn batch_transform(&self, nodes: Vec>) -> Inde... method concurrency (line 233) | fn concurrency(&self) -> Option { type Loader (line 239) | pub trait Loader: DynClone + Send + Sync { method into_stream (line 242) | fn into_stream(self) -> IndexingStream; method into_stream_boxed (line 255) | fn into_stream_boxed(self: Box) -> IndexingStream { method name (line 261) | fn name(&self) -> &'static str { type Output (line 289) | type Output = O; method into_stream (line 291) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 295) | fn into_stream_boxed(self: Box) -> IndexingStream { method name (line 298) | fn name(&self) -> &'static str { type Output (line 304) | type Output = O; method into_stream (line 306) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 310) | fn into_stream_boxed(self: Box) -> IndexingStream { type ChunkerTransformer (line 317) | pub trait ChunkerTransformer: Send + Sync + DynClone { method transform_node (line 321) | async fn transform_node(&self, node: Node) -> IndexingStr... method concurrency (line 324) | fn concurrency(&self) -> Option { method name (line 328) | fn name(&self) -> &'static str { type Input (line 357) | type Input = I; type Output (line 358) | type Output = O; method transform_node (line 360) | async fn transform_node(&self, node: Node) -> IndexingStream { method concurrency (line 363) | fn concurrency(&self) -> Option { method name (line 366) | fn name(&self) -> &'static str { type Input (line 373) | type Input = I; type Output (line 374) | type Output = O; method transform_node (line 376) | async fn transform_node(&self, node: Node) -> IndexingStream { method concurrency (line 379) | fn concurrency(&self) -> Option { method name (line 382) | fn name(&self) -> &'static str { type Input (line 389) | type Input = I; type Output (line 390) | type Output = O; method transform_node (line 392) | async fn transform_node(&self, node: Node) -> IndexingStream { method concurrency (line 395) | fn concurrency(&self) -> Option { method transform_node (line 405) | async fn transform_node(&self, node: Node) -> IndexingStream) -> bool; method set (line 423) | async fn set(&self, node: &Node); method clear (line 426) | async fn clear(&self) -> Result<()> { method name (line 430) | fn name(&self) -> &'static str { type Input (line 460) | type Input = T; method get (line 462) | async fn get(&self, node: &Node) -> bool { method set (line 465) | async fn set(&self, node: &Node) { method clear (line 468) | async fn clear(&self) -> Result<()> { method name (line 471) | fn name(&self) -> &'static str { type Input (line 478) | type Input = T; method get (line 479) | async fn get(&self, node: &Node) -> bool { method set (line 482) | async fn set(&self, node: &Node) { method clear (line 485) | async fn clear(&self) -> Result<()> { method name (line 488) | fn name(&self) -> &'static str { type Input (line 495) | type Input = T; method get (line 496) | async fn get(&self, node: &Node) -> bool { method set (line 499) | async fn set(&self, node: &Node) { method clear (line 502) | async fn clear(&self) -> Result<()> { type EmbeddingModel (line 510) | pub trait EmbeddingModel: Send + Sync + Debug + DynClone { method embed (line 511) | async fn embed(&self, input: Vec) -> Result &'static str { method embed (line 539) | async fn embed(&self, input: Vec) -> Result &'static str { method embed (line 550) | async fn embed(&self, input: Vec) -> Result &'static str { method embed (line 561) | async fn embed(&self, input: Vec) -> Result &'static str { method sparse_embed (line 601) | async fn sparse_embed( method name (line 608) | fn name(&self) -> &'static str { method sparse_embed (line 615) | async fn sparse_embed( method name (line 622) | fn name(&self) -> &'static str { method sparse_embed (line 629) | async fn sparse_embed( type SimplePrompt (line 639) | pub trait SimplePrompt: Debug + Send + Sync + DynClone { method prompt (line 641) | async fn prompt(&self, prompt: Prompt) -> Result &'static str { method prompt (line 669) | async fn prompt(&self, prompt: Prompt) -> Result &'static str { method prompt (line 680) | async fn prompt(&self, prompt: Prompt) -> Result &'static str { method prompt (line 691) | async fn prompt(&self, prompt: Prompt) -> Result Result<()>; method store (line 703) | async fn store(&self, node: Node) -> Result>) -> Indexing... method batch_size (line 705) | fn batch_size(&self) -> Option { method name (line 709) | fn name(&self) -> &'static str { type Input (line 742) | type Input = I; type Output (line 743) | type Output = O; method setup (line 745) | async fn setup(&self) -> Result<()> { method store (line 748) | async fn store(&self, node: Node) -> Result> { method batch_store (line 751) | async fn batch_store(&self, nodes: Vec>) -> IndexingStream { method batch_size (line 754) | fn batch_size(&self) -> Option { method name (line 757) | fn name(&self) -> &'static str { type Input (line 764) | type Input = I; type Output (line 765) | type Output = O; method setup (line 767) | async fn setup(&self) -> Result<()> { method store (line 770) | async fn store(&self, node: Node) -> Result> { method batch_store (line 773) | async fn batch_store(&self, nodes: Vec>) -> IndexingStream { method batch_size (line 776) | fn batch_size(&self) -> Option { method name (line 779) | fn name(&self) -> &'static str { type Input (line 786) | type Input = I; type Output (line 787) | type Output = O; method setup (line 789) | async fn setup(&self) -> Result<()> { method store (line 792) | async fn store(&self, node: Node) -> Result> { method batch_store (line 795) | async fn batch_store(&self, nodes: Vec>) -> IndexingStream { method batch_size (line 798) | fn batch_size(&self) -> Option { type WithIndexingDefaults (line 805) | pub trait WithIndexingDefaults { method with_indexing_defaults (line 806) | fn with_indexing_defaults(&mut self, _indexing_defaults: IndexingDefau... method with_indexing_defaults (line 817) | fn with_indexing_defaults(&mut self, indexing_defaults: IndexingDefaul... type WithBatchIndexingDefaults (line 811) | pub trait WithBatchIndexingDefaults { method with_indexing_defaults (line 812) | fn with_indexing_defaults(&mut self, _indexing_defaults: IndexingDefau... method with_indexing_defaults (line 823) | fn with_indexing_defaults(&mut self, indexing_defaults: IndexingDefaul... type StructuredPrompt (line 839) | pub trait StructuredPrompt: Debug + Send + Sync + DynClone { method structured_prompt (line 840) | async fn structured_prompt( method name (line 845) | fn name(&self) -> &'static str { method structured_prompt (line 876) | async fn structured_prompt( type DynStructuredPrompt (line 856) | pub trait DynStructuredPrompt: Debug + Send + Sync + DynClone { method structured_prompt_dyn (line 857) | async fn structured_prompt_dyn( method name (line 863) | fn name(&self) -> &'static str { FILE: swiftide-core/src/metadata.rs type Metadata (line 13) | pub struct Metadata { method fmt (line 18) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method iter (line 37) | pub fn iter(&self) -> impl Iterator(&mut self, key: K, value: V) method get (line 49) | pub fn get(&self, key: impl AsRef) -> Option<&serde_json::Value> { method into_values (line 53) | pub fn into_values(self) -> IntoValues { method keys (line 57) | pub fn keys(&self) -> impl Iterator { method values (line 61) | pub fn values(&self) -> impl Iterator { method is_empty (line 65) | pub fn is_empty(&self) -> bool { method extend (line 75) | fn extend>(&mut self, iter: T) { method from (line 86) | fn from(items: Vec<(K, V)>) -> Self { method from (line 100) | fn from(items: (K, V)) -> Self { method from (line 115) | fn from(items: &'a [(K, V)]) -> Self { method from (line 130) | fn from(mut arr: [(K, V); N]) -> Self { method deserialize (line 160) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result Self::IntoIter { type Item (line 152) | type Item = (&'iter String, &'iter serde_json::Value); type IntoIter (line 153) | type IntoIter = std::collections::btree_map::Iter<'iter, String, serde_j... method into_iter (line 154) | fn into_iter(self) -> Self::IntoIter { function test_insert_and_get (line 177) | fn test_insert_and_get() { function test_iter (line 187) | fn test_iter() { function test_extend (line 199) | fn test_extend() { function test_from_vec (line 208) | fn test_from_vec() { function test_into_values (line 216) | fn test_into_values() { FILE: swiftide-core/src/metrics.rs function lazy_init (line 8) | pub fn lazy_init() { function emit_usage (line 21) | pub fn emit_usage( FILE: swiftide-core/src/node.rs type Chunk (line 39) | pub trait Chunk: Clone + Send + Sync + Debug + AsRef<[u8]> + 'static {} type Node (line 49) | pub struct Node { type TextNode (line 76) | pub type TextNode = Node; function maybe_sparse_vectors (line 79) | pub fn maybe_sparse_vectors( function maybe_vectors (line 87) | pub fn maybe_vectors( method fmt (line 101) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function build_from_other (line 139) | pub fn build_from_other(node: &Node) -> NodeBuilder { function builder (line 153) | pub fn builder() -> NodeBuilder { function new (line 160) | pub fn new(chunk: impl Into) -> Node { function with_metadata (line 170) | pub fn with_metadata(&mut self, metadata: impl Into) -> &mut S... function with_vectors (line 175) | pub fn with_vectors( function with_sparse_vectors (line 183) | pub fn with_sparse_vectors( function id (line 197) | pub fn id(&self) -> uuid::Uuid { function as_embeddables (line 211) | pub fn as_embeddables(&self) -> Vec<(EmbeddedField, String)> { function combine_chunk_with_metadata (line 240) | fn combine_chunk_with_metadata(&self) -> String { method hash (line 263) | fn hash(&self, state: &mut H) { function from (line 270) | fn from(value: T) -> Self { type EmbedMode (line 278) | pub enum EmbedMode { type EmbeddedField (line 293) | pub enum EmbeddedField { method sparse_field_name (line 307) | pub fn sparse_field_name(&self) -> String { method field_name (line 312) | pub fn field_name(&self) -> String { method into (line 319) | fn into(self) -> String { function field_name_tests (line 332) | fn field_name_tests(embedded_field: &EmbeddedField, expected: [&str; 2]) { function test_debugging_node_with_utf8_char_boundary (line 338) | fn test_debugging_node_with_utf8_char_boundary() { function test_build_from_other_without_vectors (line 349) | fn test_build_from_other_without_vectors() { function test_build_from_other_with_vectors (line 363) | fn test_build_from_other_with_vectors() { FILE: swiftide-core/src/prompt.rs type Prompt (line 45) | pub struct Prompt { method extend (line 72) | pub fn extend(other: &Tera) -> Result<()> { method from_compiled_template (line 79) | pub fn from_compiled_template(name: impl Into>) -> P... method with_node (line 88) | pub fn with_node(mut self, node: &TextNode) -> Self { method with_context (line 96) | pub fn with_context(mut self, new_context: impl Into) -... method with_context_value (line 105) | pub fn with_context_value(mut self, key: &str, value: impl Into Result { method from (line 149) | fn from(prompt: &'static str) -> Self { method from (line 158) | fn from(prompt: String) -> Self { type TemplateRef (line 53) | enum TemplateRef { function test_prompt (line 173) | async fn test_prompt() { function test_prompt_with_node (line 180) | async fn test_prompt_with_node() { function test_one_off_from_string (line 188) | async fn test_one_off_from_string() { function test_extending_with_custom_repository (line 196) | async fn test_extending_with_custom_repository() { function test_coercion_to_prompt (line 212) | async fn test_coercion_to_prompt() { function test_assume_rendered_unless_context_methods_called (line 236) | async fn test_assume_rendered_unless_context_methods_called() { FILE: swiftide-core/src/query.rs type Query (line 21) | pub struct Query { function fmt (line 45) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function builder (line 64) | pub fn builder() -> QueryBuilder { function original (line 69) | pub fn original(&self) -> &str { function current (line 74) | pub fn current(&self) -> &str { function transition_to (line 78) | fn transition_to(self, new_state: NEWSTATE) -> Que... function history (line 91) | pub fn history(&self) -> &Vec { function documents (line 96) | pub fn documents(&self) -> &[Document] { function documents_mut (line 101) | pub fn documents_mut(&mut self) -> &mut Vec { function retrieved_documents (line 108) | pub fn retrieved_documents(mut self, documents: Vec) -> Query<... function new (line 124) | pub fn new(query: impl Into) -> Self { function transformed_query (line 132) | pub fn transformed_query(&mut self, new_query: impl Into) { function new (line 146) | pub fn new() -> Self { function transformed_response (line 151) | pub fn transformed_response(&mut self, new_response: impl Into) { function answered (line 165) | pub fn answered(mut self, answer: impl Into) -> Query Self { function answer (line 178) | pub fn answer(&self) -> &str { type QueryState (line 184) | pub trait QueryState: Send + Sync + Default {} type CanRetrieve (line 186) | pub trait CanRetrieve: QueryState {} type Pending (line 194) | pub struct Pending; type Retrieved (line 198) | pub struct Retrieved; type Answered (line 202) | pub struct Answered; function from (line 213) | fn from(original: T) -> Self { type TransformationEvent (line 225) | pub enum TransformationEvent { method is_retrieval (line 239) | pub fn is_retrieval(&self) -> bool { method is_transformation (line 244) | pub fn is_transformation(&self) -> bool { method before (line 249) | pub fn before(&self) -> &str { method after (line 257) | pub fn after(&self) -> &str { method documents (line 265) | pub fn documents(&self) -> Option<&[Document]> { method fmt (line 274) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_query_initial_state (line 306) | fn test_query_initial_state() { function test_query_transformed_query (line 314) | fn test_query_transformed_query() { function test_query_retrieved_documents (line 328) | fn test_query_retrieved_documents() { function test_query_transformed_response (line 349) | fn test_query_transformed_response() { function test_query_answered (line 368) | fn test_query_answered() { FILE: swiftide-core/src/query_evaluation.rs type QueryEvaluation (line 4) | pub enum QueryEvaluation { method fmt (line 12) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 23) | fn from(val: Query) -> Self { method from (line 29) | fn from(val: Query) -> Self { method retrieve_documents_query (line 36) | pub fn retrieve_documents_query(self) -> Option Option> { function test_from_retrieved (line 58) | fn test_from_retrieved() { function test_from_answered (line 69) | fn test_from_answered() { function test_retrieve_documents_query (line 80) | fn test_retrieve_documents_query() { function test_answer_query (line 91) | fn test_answer_query() { FILE: swiftide-core/src/query_stream.rs type QueryStream (line 18) | pub struct QueryStream<'stream, STATE: 'stream + QueryState> { method default (line 27) | fn default() -> Self { type Item (line 38) | type Item = Result>; method poll_next (line 40) | fn poll_next( function from (line 52) | fn from(val: Pin>> + Send>>) -... FILE: swiftide-core/src/query_traits.rs type TransformQuery (line 20) | pub trait TransformQuery: Send + Sync + DynClone { method transform_query (line 21) | async fn transform_query( method name (line 26) | fn name(&self) -> &'static str { method transform_query (line 58) | async fn transform_query( method transform_query (line 68) | async fn transform_query( method name (line 75) | fn name(&self) -> &'static str { method transform_query (line 82) | async fn transform_query( method name (line 89) | fn name(&self) -> &'static str { type SearchStrategy (line 95) | pub trait SearchStrategy: Clone + Send + Sync + Default {} type Retrieve (line 99) | pub trait Retrieve: Send + Sync + DynClone { method retrieve (line 100) | async fn retrieve( method name (line 106) | fn name(&self) -> &'static str { function retrieve (line 116) | async fn retrieve( function name (line 124) | fn name(&self) -> &'static str { function retrieve (line 131) | async fn retrieve( function name (line 139) | fn name(&self) -> &'static str { method retrieve (line 150) | async fn retrieve( type TransformResponse (line 161) | pub trait TransformResponse: Send + Sync + DynClone { method transform_response (line 162) | async fn transform_response(&self, query: Query) method name (line 165) | fn name(&self) -> &'static str { method transform_response (line 194) | async fn transform_response(&self, query: Query) -> Result<... method transform_response (line 201) | async fn transform_response(&self, query: Query) -> Result<... method name (line 205) | fn name(&self) -> &'static str { method transform_response (line 212) | async fn transform_response(&self, query: Query) -> Result<... method name (line 216) | fn name(&self) -> &'static str { type Answer (line 223) | pub trait Answer: Send + Sync + DynClone { method answer (line 224) | async fn answer(&self, query: Query) -> Result &'static str { method answer (line 254) | async fn answer(&self, query: Query) -> Result) -> Result &'static str { method answer (line 272) | async fn answer(&self, query: Query) -> Result &'static str { type EvaluateQuery (line 285) | pub trait EvaluateQuery: Send + Sync + DynClone { method evaluate (line 286) | async fn evaluate(&self, evaluation: QueryEvaluation) -> Result<()>; method evaluate (line 307) | async fn evaluate(&self, evaluation: QueryEvaluation) -> Result<()> { method evaluate (line 314) | async fn evaluate(&self, evaluation: QueryEvaluation) -> Result<()> { FILE: swiftide-core/src/search_strategies/custom_strategy.rs type QueryGenerator (line 14) | type QueryGenerator = Arc) -> Result = Arc< type CustomStrategy (line 25) | pub struct CustomStrategy { method default (line 34) | fn default() -> Self { method clone (line 44) | fn clone(&self) -> Self { function from_query (line 55) | pub fn from_query( function from_async_query (line 66) | pub fn from_async_query( function build_query (line 86) | pub async fn build_query(&self, query_node: &Query) -> ... FILE: swiftide-core/src/search_strategies/hybrid_search.rs type HybridSearch (line 13) | pub struct HybridSearch { method default (line 37) | fn default() -> Self { function from_filter (line 50) | pub fn from_filter(filter: FILTER) -> Self { function with_filter (line 57) | pub fn with_filter( function with_top_k (line 71) | pub fn with_top_k(&mut self, top_k: u64) -> &mut Self { function top_k (line 76) | pub fn top_k(&self) -> u64 { function with_top_n (line 81) | pub fn with_top_n(&mut self, top_n: u64) -> &mut Self { function top_n (line 86) | pub fn top_n(&self) -> u64 { function with_dense_vector_field (line 92) | pub fn with_dense_vector_field( function dense_vector_field (line 101) | pub fn dense_vector_field(&self) -> &EmbeddedField { function with_sparse_vector_field (line 107) | pub fn with_sparse_vector_field( function sparse_vector_field (line 116) | pub fn sparse_vector_field(&self) -> &EmbeddedField { function filter (line 120) | pub fn filter(&self) -> Option<&FILTER> { FILE: swiftide-core/src/search_strategies/mod.rs constant DEFAULT_TOP_K (line 10) | pub(crate) const DEFAULT_TOP_K: u64 = 10; constant DEFAULT_TOP_N (line 11) | pub(crate) const DEFAULT_TOP_N: u64 = 10; type SearchFilter (line 17) | pub trait SearchFilter: Clone + Sync + Send {} FILE: swiftide-core/src/search_strategies/similarity_single_embedding.rs type SimilaritySingleEmbedding (line 10) | pub struct SimilaritySingleEmbedding { method default (line 20) | fn default() -> Self { function into_concrete_filter (line 30) | pub fn into_concrete_filter(&self) -> SimilaritySi... function from_filter (line 39) | pub fn from_filter(filter: FILTER) -> Self { function with_top_k (line 47) | pub fn with_top_k(&mut self, top_k: u64) -> &mut Self { function top_k (line 54) | pub fn top_k(&self) -> u64 { function with_filter (line 59) | pub fn with_filter( function filter (line 69) | pub fn filter(&self) -> &Option { FILE: swiftide-core/src/statistics.rs constant TWO_POW_32_F64 (line 32) | const TWO_POW_32_F64: f64 = 4_294_967_296.0; function lock_recover (line 34) | fn lock_recover(mutex: &Mutex) -> MutexGuard<'_, T> { function u64_to_f64 (line 40) | fn u64_to_f64(value: u64) -> f64 { type ModelUsage (line 50) | pub struct ModelUsage { method new (line 64) | pub fn new() -> Self { method record (line 69) | pub fn record(&mut self, prompt_tokens: u64, completion_tokens: u64) { type PipelineStats (line 81) | pub struct PipelineStats { method new (line 101) | pub fn new() -> Self { method duration (line 110) | pub fn duration(&self) -> Option { method nodes_per_second (line 122) | pub fn nodes_per_second(&self) -> Option { method total_tokens (line 132) | pub fn total_tokens(&self) -> u64 { method total_requests (line 138) | pub fn total_requests(&self) -> u64 { method total_prompt_tokens (line 144) | pub fn total_prompt_tokens(&self) -> u64 { method total_completion_tokens (line 150) | pub fn total_completion_tokens(&self) -> u64 { type StatsCollector (line 160) | pub struct StatsCollector { method new (line 179) | pub fn new() -> Self { method start (line 192) | pub fn start(&self) { method complete (line 198) | pub fn complete(&self) { method increment_nodes_processed (line 204) | pub fn increment_nodes_processed(&self, count: u64) { method increment_nodes_failed (line 209) | pub fn increment_nodes_failed(&self, count: u64) { method increment_nodes_stored (line 214) | pub fn increment_nodes_stored(&self, count: u64) { method increment_transformations (line 219) | pub fn increment_transformations(&self, count: u64) { method record_token_usage (line 233) | pub fn record_token_usage( method get_stats (line 246) | pub fn get_stats(&self) -> PipelineStats { method default (line 171) | fn default() -> Self { method clone (line 260) | fn clone(&self) -> Self { function test_stats_collector (line 280) | fn test_stats_collector() { function test_model_usage (line 303) | fn test_model_usage() { function test_record_token_usage (line 316) | fn test_record_token_usage() { function test_empty_stats (line 337) | fn test_empty_stats() { function test_stats_collector_clone (line 348) | fn test_stats_collector_clone() { function test_pipeline_stats_duration_while_running (line 368) | fn test_pipeline_stats_duration_while_running() { FILE: swiftide-core/src/stream_backoff.rs type TokioSleeper (line 21) | pub(crate) struct TokioSleeper; type Sleep (line 23) | type Sleep = ::tokio::time::Sleep; method sleep (line 24) | fn sleep(&self, dur: Duration) -> Self::Sleep { type StreamBackoff (line 31) | pub struct StreamBackoff { type State (line 41) | enum State { function new (line 51) | pub fn new(stream: S, backoff: B, sleeper: Sl) -> Self { type Item (line 65) | type Item = Result; method poll_next (line 67) | fn poll_next( function stream_should_back_off (line 132) | async fn stream_should_back_off() { function backoff_time_should_update (line 149) | async fn backoff_time_should_update() { function backoff_should_close_when_requested (line 178) | async fn backoff_should_close_when_requested() { type LinearBackoff (line 192) | struct LinearBackoff { method new (line 198) | fn new(interval: Duration) -> Self { method next_backoff (line 207) | fn next_backoff(&mut self) -> Option { method reset (line 212) | fn reset(&mut self) { FILE: swiftide-core/src/test_utils.rs type Expectations (line 41) | type Expectations = Arc< type MockChatCompletion (line 51) | pub struct MockChatCompletion { method new (line 63) | pub fn new() -> Self { method expect_complete (line 70) | pub fn expect_complete( method default (line 57) | fn default() -> Self { method complete (line 83) | async fn complete( method complete_stream (line 138) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -> ... method drop (line 168) | fn drop(&mut self) { function pretty_expectation (line 203) | fn pretty_expectation( function pretty_request (line 226) | fn pretty_request(request: &ChatCompletionRequest<'_>) -> String { function pretty_response (line 234) | fn pretty_response(response: &ChatCompletionResponse) -> String { FILE: swiftide-core/src/token_estimation.rs type EstimateTokens (line 28) | pub trait EstimateTokens { method estimate (line 29) | async fn estimate(&self, value: impl Estimatable) -> Result; method estimate (line 52) | async fn estimate(&self, value: impl Estimatable) -> Result { type CharEstimator (line 48) | pub struct CharEstimator; type Estimatable (line 81) | pub trait Estimatable: Send + Sync { method for_estimate (line 87) | fn for_estimate(&self) -> Result>>; method additional_tokens (line 90) | fn additional_tokens(&self) -> usize { method for_estimate (line 96) | fn for_estimate(&self) -> Result>> { method for_estimate (line 102) | fn for_estimate(&self) -> Result>> { method for_estimate (line 108) | fn for_estimate(&self) -> Result>> { method for_estimate (line 115) | fn for_estimate(&self) -> Result>> { method additional_tokens (line 168) | fn additional_tokens(&self) -> usize { method for_estimate (line 174) | fn for_estimate(&self) -> Result>> { method additional_tokens (line 190) | fn additional_tokens(&self) -> usize { function estimate_counts_characters_and_additional_tokens (line 201) | async fn estimate_counts_characters_and_additional_tokens() { function estimate_prompt_renders_before_counting (line 208) | async fn estimate_prompt_renders_before_counting() { function estimate_chat_message_includes_role_tokens (line 216) | async fn estimate_chat_message_includes_role_tokens() { function estimate_slice_adds_reply_priming_tokens (line 224) | async fn estimate_slice_adds_reply_priming_tokens() { function assistant_tool_calls_are_included_in_estimate (line 237) | async fn assistant_tool_calls_are_included_in_estimate() { function assistant_without_content_or_tools_uses_none_marker (line 252) | async fn assistant_without_content_or_tools_uses_none_marker() { FILE: swiftide-core/src/type_aliases.rs type Embedding (line 5) | pub type Embedding = Vec; type Embeddings (line 6) | pub type Embeddings = Vec; type SparseEmbedding (line 9) | pub struct SparseEmbedding { method fmt (line 16) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SparseEmbeddings (line 13) | pub type SparseEmbeddings = Vec; FILE: swiftide-core/src/util.rs function safe_truncate_utf8 (line 6) | pub fn safe_truncate_utf8(s: impl AsRef, max_chars: usize) -> String { function debug_long_utf8 (line 24) | pub fn debug_long_utf8(s: impl AsRef, max_chars: usize) -> String { function test_safe_truncate_str_with_utf8_char_boundary (line 39) | fn test_safe_truncate_str_with_utf8_char_boundary() { FILE: swiftide-indexing/src/loaders/file_loader.rs type FileLoader (line 25) | pub struct FileLoader { method new (line 40) | pub fn new(root: impl AsRef) -> Self { method with_extensions (line 57) | pub fn with_extensions(mut self, extensions: &[impl AsRef]) -> Se... method list_nodes (line 72) | pub fn list_nodes(&self) -> Vec { method iter (line 77) | pub fn iter(&self) -> impl Iterator> +... type Iter (line 85) | struct Iter { method new (line 118) | fn new(root: &Path, include_extensions: Option>) -> Self { method load (line 129) | fn load(&self, entry: &DirEntry) -> Option> { type Item (line 95) | type Item = anyhow::Result; method next (line 97) | fn next(&mut self) -> Option { function read_node (line 159) | fn read_node(entry: &DirEntry) -> anyhow::Result { type Output (line 177) | type Output = String; method into_stream (line 187) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 191) | fn into_stream_boxed(self: Box) -> IndexingStream { function test_with_extensions (line 204) | fn test_with_extensions() { function test_ignores_invalid_utf8 (line 210) | async fn test_ignores_invalid_utf8() { FILE: swiftide-indexing/src/persist/memory_storage.rs type MemoryStorage (line 27) | pub struct MemoryStorage { function key (line 36) | fn key(&self) -> String { function get (line 41) | pub async fn get(&self, key: impl AsRef) -> Option> { function get_all_values (line 46) | pub async fn get_all_values(&self) -> Vec> { function get_all (line 51) | pub async fn get_all(&self) -> Vec<(String, Node)> { type Input (line 63) | type Input = T; type Output (line 64) | type Output = T; method setup (line 65) | async fn setup(&self) -> Result<()> { method store (line 72) | async fn store(&self, node: Node) -> Result> { method batch_store (line 81) | async fn batch_store(&self, nodes: Vec>) -> IndexingStream { method batch_size (line 91) | fn batch_size(&self) -> Option { function test_memory_storage (line 103) | async fn test_memory_storage() { function test_inserting_multiple_nodes (line 111) | async fn test_inserting_multiple_nodes() { function test_batch_store (line 125) | async fn test_batch_store() { FILE: swiftide-indexing/src/pipeline.rs constant DEFAULT_BATCH_SIZE (line 60) | const DEFAULT_BATCH_SIZE: usize = 256; type Pipeline (line 75) | pub struct Pipeline { type DynStorageSetupFn (line 85) | type DynStorageSetupFn = method default (line 91) | fn default() -> Self { function from_loader (line 113) | pub fn from_loader(loader: impl Loader + 'static) -> Self { function with_default_llm_client (line 124) | pub fn with_default_llm_client(mut self, client: impl SimplePrompt + 'st... function from_stream (line 138) | pub fn from_stream(stream: impl Into>) -> Self { function with_concurrency (line 156) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { function with_embed_mode (line 174) | pub fn with_embed_mode(mut self, embed_mode: EmbedMode) -> Self { function filter_cached (line 196) | pub fn filter_cached(mut self, cache: impl NodeCache + 'stati... function then (line 233) | pub fn then( function then_in_batch (line 277) | pub fn then_in_batch( function then_chunk (line 323) | pub fn then_chunk( function then_expand (line 366) | pub fn then_expand( function then_store_with (line 409) | pub fn then_store_with( function split_by (line 493) | pub fn split_by

(self, predicate: P) -> (Self, Self) function merge (line 545) | pub fn merge(self, other: Self) -> Self { function throttle (line 559) | pub fn throttle(mut self, duration: impl Into) -> Self { function filter_errors (line 571) | pub fn filter_errors(mut self) -> Self { function filter (line 591) | pub fn filter(mut self, filter: F) -> Self function log_all (line 611) | pub fn log_all(self) -> Self { function stats (line 631) | pub fn stats(&self) -> swiftide_core::statistics::PipelineStats { function stats_collector (line 640) | pub fn stats_collector(&self) -> &StatsCollector { function log_errors (line 648) | pub fn log_errors(mut self) -> Self { function log_nodes (line 661) | pub fn log_nodes(mut self) -> Self { function run (line 683) | pub async fn run(mut self) -> Result<()> { function test_simple_run (line 744) | async fn test_simple_run() { function test_skipping_errors (line 811) | async fn test_skipping_errors() { function test_concurrent_calls_with_simple_transformer (line 837) | async fn test_concurrent_calls_with_simple_transformer() { function test_arbitrary_closures_as_transformer (line 876) | async fn test_arbitrary_closures_as_transformer() { function test_arbitrary_closures_as_batch_transformer (line 902) | async fn test_arbitrary_closures_as_batch_transformer() { function test_filter_closure (line 929) | async fn test_filter_closure() { function test_split_and_merge (line 957) | async fn test_split_and_merge() { function test_all_steps_should_work_as_dyn_box (line 1019) | async fn test_all_steps_should_work_as_dyn_box() { function test_pipeline_statistics (line 1058) | async fn test_pipeline_statistics() { function test_stats_collector_access (line 1095) | async fn test_stats_collector_access() { FILE: swiftide-indexing/src/transformers/chunk_markdown.rs constant DEFAULT_MAX_CHAR_SIZE (line 9) | const DEFAULT_MAX_CHAR_SIZE: usize = 2056; type ChunkMarkdown (line 21) | pub struct ChunkMarkdown { method fmt (line 52) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 68) | pub fn builder() -> ChunkMarkdownBuilder { method from_max_characters (line 74) | pub fn from_max_characters(max_characters: usize) -> Self { method from_chunk_range (line 85) | pub fn from_chunk_range(range: std::ops::Range) -> Self { method with_concurrency (line 91) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { method min_size (line 96) | fn min_size(&self) -> usize { method default (line 62) | fn default() -> Self { method default_client (line 102) | fn default_client(&self) -> Arc> { type Input (line 116) | type Input = String; type Output (line 117) | type Output = String; method transform_node (line 120) | async fn transform_node(&self, node: TextNode) -> IndexingStream { method concurrency (line 141) | fn concurrency(&self) -> Option { constant MARKDOWN (line 151) | const MARKDOWN: &str = r" function test_transforming_with_max_characters_and_trimming (line 166) | async fn test_transforming_with_max_characters_and_trimming() { function test_always_within_range (line 190) | async fn test_always_within_range() { function test_builder (line 218) | fn test_builder() { FILE: swiftide-indexing/src/transformers/chunk_text.rs constant DEFAULT_MAX_CHAR_SIZE (line 9) | const DEFAULT_MAX_CHAR_SIZE: usize = 2056; type ChunkText (line 22) | pub struct ChunkText { method builder (line 62) | pub fn builder() -> ChunkTextBuilder { method from_max_characters (line 68) | pub fn from_max_characters(max_characters: usize) -> Self { method from_chunk_range (line 79) | pub fn from_chunk_range(range: std::ops::Range) -> Self { method with_concurrency (line 85) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { method min_size (line 90) | fn min_size(&self) -> usize { method default (line 56) | fn default() -> Self { method default_client (line 96) | fn default_client(&self) -> Arc> { type Input (line 109) | type Input = String; type Output (line 110) | type Output = String; method transform_node (line 113) | async fn transform_node(&self, node: TextNode) -> IndexingStream { method concurrency (line 134) | fn concurrency(&self) -> Option { constant TEXT (line 144) | const TEXT: &str = r" function test_transforming_with_max_characters_and_trimming (line 153) | async fn test_transforming_with_max_characters_and_trimming() { function test_always_within_range (line 173) | async fn test_always_within_range() { function test_builder (line 201) | fn test_builder() { FILE: swiftide-indexing/src/transformers/embed.rs type Embed (line 15) | pub struct Embed { method fmt (line 22) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 40) | pub fn new(model: impl EmbeddingModel + 'static) -> Self { method with_concurrency (line 49) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { method with_batch_size (line 64) | pub fn with_batch_size(mut self, batch_size: usize) -> Self { type Input (line 75) | type Input = String; type Output (line 76) | type Output = String; method batch_transform (line 92) | async fn batch_transform(&self, mut nodes: Vec) -> IndexingStr... method concurrency (line 136) | fn concurrency(&self) -> Option { method batch_size (line 140) | fn batch_size(&self) -> Option { type TestData (line 159) | struct TestData<'a> { function batch_transform (line 259) | async fn batch_transform(test_data: Vec>) { function test_returns_error_properly_if_embed_fails (line 316) | async fn test_returns_error_properly_if_embed_fails() { FILE: swiftide-indexing/src/transformers/metadata_keywords.rs type MetadataKeywords (line 17) | pub struct MetadataKeywords {} type Input (line 21) | type Input = String; type Output (line 22) | type Output = String; method transform_node (line 41) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 50) | fn concurrency(&self) -> Option { function test_template (line 62) | async fn test_template() { function test_metadata_keywords (line 70) | async fn test_metadata_keywords() { FILE: swiftide-indexing/src/transformers/metadata_qa_text.rs type MetadataQAText (line 18) | pub struct MetadataQAText { type Input (line 25) | type Input = String; type Output (line 26) | type Output = String; method transform_node (line 45) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 59) | fn concurrency(&self) -> Option { function test_template (line 71) | async fn test_template() { function test_metadata_qacode (line 82) | async fn test_metadata_qacode() { FILE: swiftide-indexing/src/transformers/metadata_summary.rs type MetadataSummary (line 18) | pub struct MetadataSummary {} type Input (line 22) | type Input = String; type Output (line 23) | type Output = String; method transform_node (line 41) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 51) | fn concurrency(&self) -> Option { function test_template (line 63) | async fn test_template() { function test_metadata_summary (line 71) | async fn test_metadata_summary() { FILE: swiftide-indexing/src/transformers/metadata_title.rs type MetadataTitle (line 17) | pub struct MetadataTitle {} type Input (line 21) | type Input = String; type Output (line 22) | type Output = String; method transform_node (line 40) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 50) | fn concurrency(&self) -> Option { function test_template (line 62) | async fn test_template() { function test_metadata_title (line 70) | async fn test_metadata_title() { FILE: swiftide-indexing/src/transformers/sparse_embed.rs type SparseEmbed (line 16) | pub struct SparseEmbed { method fmt (line 23) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 40) | pub fn new(model: impl SparseEmbeddingModel + 'static) -> Self { method with_concurrency (line 49) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { method with_batch_size (line 64) | pub fn with_batch_size(mut self, batch_size: usize) -> Self { type Input (line 75) | type Input = String; type Output (line 76) | type Output = String; method batch_transform (line 91) | async fn batch_transform(&self, mut nodes: Vec) -> IndexingStr... method concurrency (line 135) | fn concurrency(&self) -> Option { method batch_size (line 139) | fn batch_size(&self) -> Option { type TestData (line 160) | struct TestData<'a> { function batch_transform (line 260) | async fn batch_transform(test_data: Vec>) { function test_returns_error_properly_if_sparse_embed_fails (line 343) | async fn test_returns_error_properly_if_sparse_embed_fails() { FILE: swiftide-integrations/src/anthropic/chat_completion.rs method complete (line 28) | async fn complete( method complete_stream (line 116) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -> ... function append_delta_from_chunk (line 189) | fn append_delta_from_chunk(chunk: &MessagesStreamEvent, lock: &mut ChatC... method build_request (line 240) | fn build_request( function messages_to_antropic (line 279) | fn messages_to_antropic(messages: &[ChatMessage]) -> Result> { function tool_result_to_anthropic (line 312) | fn tool_result_to_anthropic( function message_to_antropic (line 324) | fn message_to_antropic(message: &ChatMessage) -> Result> { function tools_to_anthropic (line 391) | fn tools_to_anthropic( type FakeTool (line 426) | struct FakeTool(); type AlphaTool (line 429) | struct AlphaTool(); type LocationArgs (line 432) | struct LocationArgs { type NestedCommentArgs (line 438) | struct NestedCommentArgs { type NestedCommentRequest (line 444) | struct NestedCommentRequest { method invoke (line 459) | async fn invoke( method name (line 470) | fn name(&self) -> std::borrow::Cow<'_, str> { method tool_spec (line 474) | fn tool_spec(&self) -> ToolSpec { method invoke (line 486) | async fn invoke( method name (line 497) | fn name(&self) -> std::borrow::Cow<'_, str> { method tool_spec (line 501) | fn tool_spec(&self) -> ToolSpec { function test_complete_without_tools (line 512) | async fn test_complete_without_tools() { function test_complete_with_tools (line 553) | async fn test_complete_with_tools() { function test_build_request_orders_tools_deterministically (line 632) | fn test_build_request_orders_tools_deterministically() { function test_complete_with_system_prompt (line 658) | async fn test_complete_with_system_prompt() { function test_tools_to_anthropic (line 714) | fn test_tools_to_anthropic() { function test_tools_to_anthropic_preserves_optional_nested_fields (line 734) | fn test_tools_to_anthropic_preserves_optional_nested_fields() { function test_build_request_groups_adjacent_tool_outputs (line 768) | fn test_build_request_groups_adjacent_tool_outputs() { FILE: swiftide-integrations/src/anthropic/mod.rs type Anthropic (line 11) | pub struct Anthropic { method fmt (line 42) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 66) | pub fn builder() -> AnthropicBuilder { type Options (line 52) | pub struct Options { method default (line 58) | fn default() -> Self { method on_usage (line 73) | pub fn on_usage(&mut self, func: F) -> &mut Self method on_usage_async (line 88) | pub fn on_usage_async(&mut self, func: F) -> &mut Self method client (line 116) | pub fn client(&mut self, client: async_anthropic::Client) -> &mut Self { method default_prompt_model (line 128) | pub fn default_prompt_model(&mut self, model: impl Into) -> &mut... FILE: swiftide-integrations/src/anthropic/simple_prompt.rs method prompt (line 17) | async fn prompt( function test_simple_prompt_with_mock (line 102) | async fn test_simple_prompt_with_mock() { FILE: swiftide-integrations/src/anthropic/tool_schema.rs type AnthropicToolSchema (line 4) | pub(super) struct AnthropicToolSchema(Value); method into_value (line 7) | pub(super) fn into_value(self) -> Value { type Error (line 13) | type Error = ToolSpecError; method try_from (line 15) | fn try_from(spec: &ToolSpec) -> Result { FILE: swiftide-integrations/src/aws_bedrock_v2/chat_completion.rs type ConverseInputParts (line 40) | type ConverseInputParts = ( type ExtractedMessage (line 47) | type ExtractedMessage = (Option, Option>, Vec) -> ... function build_converse_input (line 386) | fn build_converse_input( function user_message_from_text (line 469) | fn user_message_from_text(text: String) -> Result( function image_format_from_source (line 652) | fn image_format_from_source( function document_format_from_source (line 665) | fn document_format_from_source( function audio_format_from_source (line 678) | fn audio_format_from_source( function video_format_from_source (line 691) | fn video_format_from_source( function resolve_format (line 704) | fn resolve_format( function infer_image_format_from_source (line 720) | fn infer_image_format_from_source(source: &ChatMessageContentSource) -> ... function infer_document_format_from_source (line 729) | fn infer_document_format_from_source(source: &ChatMessageContentSource) ... function infer_audio_format_from_source (line 738) | fn infer_audio_format_from_source(source: &ChatMessageContentSource) -> ... function infer_video_format_from_source (line 747) | fn infer_video_format_from_source(source: &ChatMessageContentSource) -> ... function infer_format_from_source (line 756) | fn infer_format_from_source( function s3_location (line 782) | fn s3_location(uri: &str, bucket_owner: Option<&str>) -> Result bool { function parse_data_url (line 795) | fn parse_data_url(url: &str) -> Option<(&str, &str)> { function decode_data_url_bytes (line 802) | fn decode_data_url_bytes(encoded: &str) -> Result, LanguageModel... function extension_from_url (line 808) | fn extension_from_url(url: &str) -> Option<&str> { function mapped_format (line 815) | fn mapped_format(value: &str, mappings: &[(&'static str, &'static str)])... function message_from_blocks (line 821) | fn message_from_blocks( function tool_output_to_result_block (line 832) | fn tool_output_to_result_block( function tool_output_to_content_block (line 851) | fn tool_output_to_content_block( function tool_call_args_to_document (line 867) | fn tool_call_args_to_document(args: Option<&str>) -> Result( function tool_spec_to_bedrock (line 898) | fn tool_spec_to_bedrock(spec: &ToolSpec, strict: bool) -> Result String { function apply_stream_event (line 992) | fn apply_stream_event( function assistant_reasoning_message_from_item (line 1044) | fn assistant_reasoning_message_from_item( function reasoning_item_from_reasoning_text (line 1077) | fn reasoning_item_from_reasoning_text( function apply_reasoning_delta (line 1091) | fn apply_reasoning_delta( function ensure_reasoning_item (line 1115) | fn ensure_reasoning_item( function json_value_to_document (line 1140) | fn json_value_to_document(value: &serde_json::Value) -> Result anyhow::Result { constant IMAGE_MEDIA_TYPE_FORMATS (line 1156) | const IMAGE_MEDIA_TYPE_FORMATS: &[(&str, &str)] = &[ constant IMAGE_EXTENSION_FORMATS (line 1164) | const IMAGE_EXTENSION_FORMATS: &[(&str, &str)] = &[ constant DOCUMENT_MEDIA_TYPE_FORMATS (line 1172) | const DOCUMENT_MEDIA_TYPE_FORMATS: &[(&str, &str)] = &[ constant DOCUMENT_EXTENSION_FORMATS (line 1191) | const DOCUMENT_EXTENSION_FORMATS: &[(&str, &str)] = &[ constant AUDIO_MEDIA_TYPE_FORMATS (line 1205) | const AUDIO_MEDIA_TYPE_FORMATS: &[(&str, &str)] = &[ constant AUDIO_EXTENSION_FORMATS (line 1223) | const AUDIO_EXTENSION_FORMATS: &[(&str, &str)] = &[ constant VIDEO_MEDIA_TYPE_FORMATS (line 1241) | const VIDEO_MEDIA_TYPE_FORMATS: &[(&str, &str)] = &[ constant VIDEO_EXTENSION_FORMATS (line 1252) | const VIDEO_EXTENSION_FORMATS: &[(&str, &str)] = &[ type WeatherArgs (line 1296) | struct WeatherArgs { type NestedCommentArgs (line 1302) | struct NestedCommentArgs { type NestedCommentRequest (line 1308) | struct NestedCommentRequest { function response_with_text_and_tool_call (line 1321) | fn response_with_text_and_tool_call() -> ConverseOutput { function test_complete_maps_text_and_tool_calls (line 1358) | async fn test_complete_maps_text_and_tool_calls() { function test_complete_tracks_langfuse_failure_metadata_on_converse_error (line 1413) | fn test_complete_tracks_langfuse_failure_metadata_on_converse_error() { function test_complete_passes_additional_model_fields (line 1464) | async fn test_complete_passes_additional_model_fields() { function test_complete_passes_reasoning_effort_for_claude_opus_4_5 (line 1525) | async fn test_complete_passes_reasoning_effort_for_claude_opus_4_5() { function test_complete_respects_tool_strict_option (line 1603) | async fn test_complete_respects_tool_strict_option() { function test_complete_stream_requires_model (line 1656) | async fn test_complete_stream_requires_model() { function test_complete_stream_tracks_langfuse_failure_metadata_on_stream_error (line 1678) | fn test_complete_stream_tracks_langfuse_failure_metadata_on_stream_error... function test_complete_stream_rejects_system_only_messages (line 1725) | async fn test_complete_stream_rejects_system_only_messages() { function test_complete_stream_returns_upstream_stream_error (line 1747) | async fn test_complete_stream_returns_upstream_stream_error() { function test_complete_green_path_with_wiremock (line 1794) | async fn test_complete_green_path_with_wiremock() { function test_complete_stream_green_path_with_wiremock (line 1852) | async fn test_complete_stream_green_path_with_wiremock() { function test_tool_config_from_specs_builds_schema (line 1933) | fn test_tool_config_from_specs_builds_schema() { function test_tool_config_from_specs_can_disable_strict (line 1968) | fn test_tool_config_from_specs_can_disable_strict() { function test_tool_config_from_specs_does_not_apply_openai_required_workaround (line 1999) | fn test_tool_config_from_specs_does_not_apply_openai_required_workaround... function test_tool_config_from_specs_orders_tools_deterministically (line 2064) | fn test_tool_config_from_specs_orders_tools_deterministically() { function test_response_to_chat_completion_maps_reasoning_content (line 2099) | fn test_response_to_chat_completion_maps_reasoning_content() { function test_build_converse_input_replays_reasoning_items (line 2134) | fn test_build_converse_input_replays_reasoning_items() { function test_build_converse_input_groups_adjacent_tool_outputs (line 2165) | fn test_build_converse_input_groups_adjacent_tool_outputs() { function test_build_converse_input_maps_image_part (line 2218) | fn test_build_converse_input_maps_image_part() { function test_build_converse_input_maps_audio_part (line 2246) | fn test_build_converse_input_maps_audio_part() { function test_build_converse_input_maps_video_part (line 2274) | fn test_build_converse_input_maps_video_part() { function test_build_converse_input_rejects_audio_http_url (line 2299) | fn test_build_converse_input_rejects_audio_http_url() { function test_build_converse_input_rejects_document_without_text (line 2313) | fn test_build_converse_input_rejects_document_without_text() { function test_apply_stream_event_accumulates_deltas (line 2330) | fn test_apply_stream_event_accumulates_deltas() { FILE: swiftide-integrations/src/aws_bedrock_v2/mod.rs type AwsBedrock (line 41) | pub struct AwsBedrock { method fmt (line 71) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 210) | pub fn builder() -> AwsBedrockBuilder { method options (line 215) | pub fn options(&self) -> &Options { method options_mut (line 220) | pub fn options_mut(&mut self) -> &mut Options { method prompt_model (line 224) | fn prompt_model(&self) -> Result<&str, LanguageModelError> { method report_usage (line 231) | async fn report_usage(&self, model: &str, usage: &Usage) -> Result<(),... method track_completion (line 254) | async fn track_completion( method track_failure (line 281) | fn track_failure( type ReasoningEffort (line 86) | pub enum ReasoningEffort { method as_str (line 94) | fn as_str(self) -> &'static str { type Options (line 106) | pub struct Options { method builder (line 164) | pub fn builder() -> OptionsBuilder { method tool_strict_enabled (line 168) | pub fn tool_strict_enabled(&self) -> bool { method merge (line 172) | pub fn merge(&mut self, other: Options) { method default_config (line 302) | fn default_config(&self) -> aws_config::SdkConfig { method default_client (line 306) | fn default_client(&self) -> Arc { method client (line 311) | pub fn client(&mut self, client: Client) -> &mut Self { method default_prompt_model (line 317) | pub fn default_prompt_model(&mut self, model: impl Into) -> &mut... method default_options (line 333) | pub fn default_options(&mut self, options: impl Into) -> &mut S... method on_usage (line 345) | pub fn on_usage(&mut self, func: F) -> &mut Self method on_usage_async (line 360) | pub fn on_usage_async(&mut self, func: F) -> &mut Self method test_client (line 381) | pub fn test_client(&mut self, client: impl BedrockConverse + 'static) ->... type BedrockConverse (line 390) | trait BedrockConverse: std::fmt::Debug + Send + Sync { method converse (line 391) | async fn converse( method converse_stream (line 403) | async fn converse_stream( method converse (line 418) | async fn converse( method converse_stream (line 449) | async fn converse_stream( function converse_error_to_language_model_error (line 479) | fn converse_error_to_language_model_error( function converse_stream_error_to_language_model_error (line 497) | fn converse_stream_error_to_language_model_error( function converse_stream_output_error_to_language_model_error (line 516) | fn converse_stream_output_error_to_language_model_error( function sdk_error_to_language_model_error (line 533) | fn sdk_error_to_language_model_error( function error_chain_message (line 560) | fn error_chain_message(error: &(dyn std::error::Error + 'static)) -> Str... function inference_config_from_options (line 567) | fn inference_config_from_options(options: &Options) -> Option Result { function push_unique_string (line 672) | fn push_unique_string(values: &mut Vec, value: String) { function usage_from_bedrock (line 678) | fn usage_from_bedrock(usage: &TokenUsage) -> Usage { function context_length_exceeded_if_empty (line 699) | fn context_length_exceeded_if_empty( function i32_to_u32 (line 718) | fn i32_to_u32(value: i32) -> Option { function langfuse_json (line 723) | fn langfuse_json(value: &T) -> Option { function langfuse_json_redacted (line 728) | fn langfuse_json_redacted(value: &T) -> Option Option { function usage (line 804) | fn usage(total_tokens: u32) -> Usage { function test_options_builder_and_merge_only_overrides_present_fields (line 814) | fn test_options_builder_and_merge_only_overrides_present_fields() { function test_tool_strict_enabled_defaults_to_true (line 865) | fn test_tool_strict_enabled_defaults_to_true() { function test_builder_default_options_and_prompt_model_merge_branches (line 877) | fn test_builder_default_options_and_prompt_model_merge_branches() { function test_track_completion_invokes_sync_usage_callback (line 907) | async fn test_track_completion_invokes_sync_usage_callback() { function test_track_completion_invokes_async_usage_callback (line 934) | async fn test_track_completion_invokes_async_usage_callback() { function test_inference_config_from_options_builds_only_when_values_are_set (line 967) | fn test_inference_config_from_options_builds_only_when_values_are_set() { function test_additional_model_request_fields_merges_reasoning_effort_and_betas (line 986) | fn test_additional_model_request_fields_merges_reasoning_effort_and_beta... function test_additional_model_request_fields_requires_object_when_merging_typed_fields (line 1056) | fn test_additional_model_request_fields_requires_object_when_merging_typ... function test_usage_from_bedrock_prefers_cache_read_and_falls_back_to_cache_write (line 1072) | fn test_usage_from_bedrock_prefers_cache_read_and_falls_back_to_cache_wr... function test_usage_from_bedrock_defaults_negative_counts_to_zero (line 1110) | fn test_usage_from_bedrock_defaults_negative_counts_to_zero() { function test_context_length_exceeded_only_when_empty_and_context_limit_hit (line 1127) | fn test_context_length_exceeded_only_when_empty_and_context_limit_hit() { function test_sdk_error_mapping_classifies_transient_transport_failures (line 1147) | fn test_sdk_error_mapping_classifies_transient_transport_failures() { function test_converse_error_mapping_distinguishes_transient_and_permanent_service_errors (line 1177) | fn test_converse_error_mapping_distinguishes_transient_and_permanent_ser... function test_converse_stream_error_mapping_distinguishes_transient_and_permanent_service_errors (line 1192) | fn test_converse_stream_error_mapping_distinguishes_transient_and_perman... function test_converse_stream_output_error_mapping_distinguishes_transient_and_permanent_service_errors (line 1211) | fn test_converse_stream_output_error_mapping_distinguishes_transient_and... function test_error_chain_message_collects_nested_sources (line 1233) | fn test_error_chain_message_collects_nested_sources() { function test_converse_error_mapping_model_not_ready_and_stream_internal_server_are_transient (line 1242) | fn test_converse_error_mapping_model_not_ready_and_stream_internal_serve... FILE: swiftide-integrations/src/aws_bedrock_v2/simple_prompt.rs method prompt (line 21) | async fn prompt(&self, prompt: Prompt) -> Result ConverseOutput { function test_prompt_requires_model (line 79) | async fn test_prompt_requires_model() { function test_prompt_uses_converse_api_and_extracts_text (line 93) | async fn test_prompt_uses_converse_api_and_extracts_text() { function test_prompt_maps_context_window_stop_reason (line 146) | async fn test_prompt_maps_context_window_stop_reason() { function test_prompt_invokes_usage_callback (line 174) | async fn test_prompt_invokes_usage_callback() { function test_prompt_green_path_with_wiremock (line 235) | async fn test_prompt_green_path_with_wiremock() { function test_prompt_returns_error_when_completion_has_no_text (line 285) | async fn test_prompt_returns_error_when_completion_has_no_text() { function smoke_live_bedrock_reasoning_effort_prompt (line 325) | async fn smoke_live_bedrock_reasoning_effort_prompt() { FILE: swiftide-integrations/src/aws_bedrock_v2/structured_prompt.rs method structured_prompt_dyn (line 22) | async fn structured_prompt_dyn( type StructuredOutput (line 176) | struct StructuredOutput { function test_structured_prompt_parses_json_response (line 181) | async fn test_structured_prompt_parses_json_response() { function test_structured_prompt_passes_reasoning_effort_in_additional_model_request_fields (line 252) | async fn test_structured_prompt_passes_reasoning_effort_in_additional_mo... function test_structured_prompt_tracks_langfuse_failure_metadata_on_converse_error (line 340) | fn test_structured_prompt_tracks_langfuse_failure_metadata_on_converse_e... function test_structured_prompt_reports_usage (line 392) | async fn test_structured_prompt_reports_usage() { function test_structured_prompt_green_path_with_wiremock (line 445) | async fn test_structured_prompt_green_path_with_wiremock() { function test_structured_prompt_returns_error_when_response_has_no_text (line 518) | async fn test_structured_prompt_returns_error_when_response_has_no_text() { function test_structured_prompt_returns_error_on_invalid_json_payload (line 560) | async fn test_structured_prompt_returns_error_on_invalid_json_payload() { FILE: swiftide-integrations/src/aws_bedrock_v2/test_utils.rs constant TEST_MODEL_ID (line 6) | pub(crate) const TEST_MODEL_ID: &str = "bedrock-test-model"; function bedrock_client_for_mock_server (line 8) | pub(crate) fn bedrock_client_for_mock_server(endpoint_url: &str) -> Clie... function converse_stream_event (line 19) | pub(crate) fn converse_stream_event(event_type: &str, payload: &Value) -... type RecordedTracingEvent (line 42) | pub(crate) type RecordedTracingEvent = std::collections::HashMap( FILE: swiftide-integrations/src/aws_bedrock_v2/tool_schema.rs type AwsBedrockToolSchema (line 4) | pub(super) struct AwsBedrockToolSchema(Value); method into_value (line 7) | pub(super) fn into_value(self) -> Value { type Error (line 13) | type Error = ToolSpecError; method try_from (line 15) | fn try_from(spec: &ToolSpec) -> Result { FILE: swiftide-integrations/src/dashscope/config.rs constant DASHSCOPE_API_BASE (line 5) | const DASHSCOPE_API_BASE: &str = "https://dashscope.aliyuncs.com/compati... type DashscopeConfig (line 9) | pub struct DashscopeConfig { method headers (line 29) | fn headers(&self) -> HeaderMap { method url (line 43) | fn url(&self, path: &str) -> String { method api_base (line 47) | fn api_base(&self) -> &str { method api_key (line 51) | fn api_key(&self) -> &SecretString { method query (line 55) | fn query(&self) -> Vec<(&str, &str)> { method default (line 15) | fn default() -> Self { function get_api_key (line 23) | fn get_api_key() -> String { FILE: swiftide-integrations/src/dashscope/mod.rs type Dashscope (line 7) | pub type Dashscope = openai::GenericOpenAI; method builder (line 9) | pub fn builder() -> DashscopeBuilder { type DashscopeBuilder (line 14) | pub type DashscopeBuilder = openai::GenericOpenAIBuilder; type DashscopeBuilderError (line 15) | pub type DashscopeBuilderError = openai::GenericOpenAIBuilderError; method default (line 19) | fn default() -> Self { function test_default_prompt_model (line 28) | fn test_default_prompt_model() { FILE: swiftide-integrations/src/duckdb/mod.rs constant DEFAULT_INDEXING_SCHEMA (line 19) | const DEFAULT_INDEXING_SCHEMA: &str = include_str!("schema.sql"); constant DEFAULT_UPSERT_QUERY (line 20) | const DEFAULT_UPSERT_QUERY: &str = include_str!("upsert.sql"); constant DEFAULT_HYBRID_QUERY (line 21) | const DEFAULT_HYBRID_QUERY: &str = include_str!("hybrid_query.sql"); type Duckdb (line 36) | pub struct Duckdb { function fmt (line 92) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function builder (line 102) | pub fn builder() -> DuckdbBuilder { function table_name (line 112) | pub fn table_name(&self) -> &str { function cache_table (line 117) | pub fn cache_table(&self) -> &str { function connection (line 122) | pub fn connection(&self) -> &Mutex { function create_vector_indices (line 139) | pub fn create_vector_indices(&self) -> Result<()> { function lazy_create_cache (line 167) | pub async fn lazy_create_cache(&self) -> anyhow::Result<()> { function node_key (line 194) | pub fn node_key(&self, node: &swiftide_core::indexing::Node) -> String { function hybrid_query_sql (line 198) | fn hybrid_query_sql( function wrap_and_escape (line 243) | fn wrap_and_escape(s: &str) -> String { function connection (line 260) | pub fn connection(&mut self, connection: impl Into) ... function with_vector (line 265) | pub fn with_vector(&mut self, field: EmbeddedField, size: usize) -> &mut... function default_schema (line 272) | fn default_schema(&self) -> String { function default_node_upsert_sql (line 281) | fn default_node_upsert_sql(&self) -> String { FILE: swiftide-integrations/src/duckdb/node_cache.rs type Input (line 29) | type Input = T; method get (line 31) | async fn get(&self, node: &Node) -> bool { method set (line 59) | async fn set(&self, node: &Node) { method clear (line 97) | async fn clear(&self) -> anyhow::Result<()> { function setup_duckdb (line 115) | fn setup_duckdb() -> Duckdb { function test_get_set (line 123) | async fn test_get_set() { function test_clear (line 133) | async fn test_clear() { FILE: swiftide-integrations/src/duckdb/persist.rs type TextNodeValues (line 24) | enum TextNodeValues<'a> { method to_sql (line 34) | fn to_sql(&self) -> duckdb::Result> { function install_extensions (line 62) | fn install_extensions(&self, conn: &duckdb::Connection) -> Result<()> { function store_node_on_stmt (line 71) | fn store_node_on_stmt(&self, stmt: &mut Statement<'_>, node: &Node) -... type Input (line 100) | type Input = T; type Output (line 101) | type Output = T; method setup (line 103) | async fn setup(&self) -> Result<()> { method store (line 150) | async fn store(&self, node: indexing::Node) -> Result>) -> indexing::... function test_persisting_nodes (line 204) | async fn test_persisting_nodes() { function test_with_metadata (line 308) | async fn test_with_metadata() { function test_running_setup_twice (line 363) | async fn test_running_setup_twice() { function test_persisted (line 376) | async fn test_persisted() { FILE: swiftide-integrations/src/duckdb/retrieve.rs function retrieve (line 17) | async fn retrieve( function retrieve (line 80) | async fn retrieve( function retrieve (line 119) | async fn retrieve( function test_duckdb_retrieving_documents (line 168) | async fn test_duckdb_retrieving_documents() { function test_duckdb_retrieving_documents_hybrid (line 207) | async fn test_duckdb_retrieving_documents_hybrid() { FILE: swiftide-integrations/src/duckdb/schema.sql type table_name (line 5) | CREATE TABLE IF NOT EXISTS {{table_name}} ( FILE: swiftide-integrations/src/fastembed/embedding_model.rs method embed (line 9) | async fn embed(&self, input: Vec) -> Result Self { method from (line 30) | fn from(val: SparseTextEmbedding) -> Self { constant DEFAULT_BATCH_SIZE (line 38) | const DEFAULT_BATCH_SIZE: usize = 256; type FastEmbed (line 66) | pub struct FastEmbed { method fmt (line 77) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method try_default (line 90) | pub fn try_default() -> Result { method try_default_sparse (line 99) | pub fn try_default_sparse() -> Result { method builder (line 107) | pub fn builder() -> FastEmbedBuilder { method embedding_model (line 114) | pub fn embedding_model(mut self, fastembed: impl Into) -> std::fmt::Result { method builder (line 62) | pub fn builder() -> RerankBuilder { method default (line 68) | fn default() -> Self { method transform_response (line 83) | async fn transform_response( function test_rerank_transform_response (line 138) | async fn test_rerank_transform_response() { FILE: swiftide-integrations/src/fastembed/sparse_embedding_model.rs method sparse_embed (line 9) | async fn sparse_embed( FILE: swiftide-integrations/src/fluvio/loader.rs type Output (line 14) | type Output = String; method into_stream (line 17) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 47) | fn into_stream_boxed(self: Box) -> IndexingStream { type FluvioCluster (line 70) | struct FluvioCluster { method start (line 83) | pub async fn start() -> Result { method connect_spu_to_sc (line 138) | async fn connect_spu_to_sc(&self) { method forward_logs_to_tracing (line 159) | pub fn forward_logs_to_tracing(&self) { method client (line 167) | pub fn client(&self) -> &fluvio::Fluvio { method create_topic (line 171) | pub async fn create_topic(&self, topic_name: impl Into) -> Res... method log_stdout (line 178) | fn log_stdout(reader: Pin>) { method log_stderr (line 189) | fn log_stderr(reader: Pin>) { method ansii_regex (line 200) | fn ansii_regex() -> Regex { method endpoint (line 204) | pub fn endpoint(&self) -> String { function test_fluvio_loader (line 210) | async fn test_fluvio_loader() { FILE: swiftide-integrations/src/fluvio/mod.rs type Fluvio (line 32) | pub struct Fluvio { method from_consumer_config (line 43) | pub fn from_consumer_config(config: impl Into) -> F... method builder (line 50) | pub fn builder() -> FluvioBuilder { method fluvio_config (line 56) | pub fn fluvio_config(&mut self, config: &FluvioConfig) -> &mut Self { FILE: swiftide-integrations/src/gemini/config.rs constant GEMINI_API_BASE (line 5) | const GEMINI_API_BASE: &str = "https://generativelanguage.googleapis.com... type GeminiConfig (line 9) | pub struct GeminiConfig { method headers (line 26) | fn headers(&self) -> HeaderMap { method url (line 40) | fn url(&self, path: &str) -> String { method api_base (line 44) | fn api_base(&self) -> &str { method api_key (line 48) | fn api_key(&self) -> &SecretString { method query (line 52) | fn query(&self) -> Vec<(&str, &str)> { method default (line 15) | fn default() -> Self { FILE: swiftide-integrations/src/gemini/mod.rs type Gemini (line 23) | pub type Gemini = openai::GenericOpenAI; method builder (line 29) | pub fn builder() -> GeminiBuilder { type GeminiBuilder (line 24) | pub type GeminiBuilder = openai::GenericOpenAIBuilder; type GeminiBuilderError (line 25) | pub type GeminiBuilderError = openai::GenericOpenAIBuilderError; method default (line 35) | fn default() -> Self { FILE: swiftide-integrations/src/groq/config.rs constant GROQ_API_BASE (line 5) | const GROQ_API_BASE: &str = "https://api.groq.com/openai/v1"; type GroqConfig (line 9) | pub struct GroqConfig { method headers (line 26) | fn headers(&self) -> HeaderMap { method url (line 40) | fn url(&self, path: &str) -> String { method api_base (line 44) | fn api_base(&self) -> &str { method api_key (line 48) | fn api_key(&self) -> &SecretString { method query (line 52) | fn query(&self) -> Vec<(&str, &str)> { method default (line 15) | fn default() -> Self { FILE: swiftide-integrations/src/groq/mod.rs type Groq (line 21) | pub type Groq = openai::GenericOpenAI; method builder (line 27) | pub fn builder() -> GroqBuilder { type GroqBuilder (line 22) | pub type GroqBuilder = openai::GenericOpenAIBuilder; type GroqBuilderError (line 23) | pub type GroqBuilderError = openai::GenericOpenAIBuilderError; method default (line 33) | fn default() -> Self { FILE: swiftide-integrations/src/kafka/loader.rs type Output (line 12) | type Output = String; method into_stream (line 15) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 49) | fn into_stream_boxed(self: Box) -> IndexingStream { function msg_metadata (line 54) | fn msg_metadata(node: &mut Node, message: &BorrowedMessage) { type KafkaBroker (line 94) | struct KafkaBroker { method start (line 102) | pub async fn start() -> Result { method create_topic (line 127) | pub async fn create_topic(&self, topic: impl AsRef) -> Result<()> { method admin_client (line 144) | fn admin_client(&self) -> AdminClient { method producer (line 148) | fn producer(&self) -> FutureProducer { function test_kafka_loader (line 154) | async fn test_kafka_loader() { FILE: swiftide-integrations/src/kafka/mod.rs type Kafka (line 35) | pub struct Kafka { method from_client_config (line 55) | pub fn from_client_config(config: impl Into, topic: impl... method builder (line 68) | pub fn builder() -> KafkaBuilder { method producer (line 72) | fn producer(&self) -> Result> { method topic_exists (line 78) | fn topic_exists(&self) -> Result { method create_topic (line 87) | async fn create_topic(&self) -> Result<()> { method persist_key_for_node (line 106) | fn persist_key_for_node(&self, node: &TextNode) -> Result { method persist_value_for_node (line 119) | fn persist_value_for_node(&self, node: &TextNode) -> Result { method node_to_key_payload (line 127) | fn node_to_key_payload(&self, node: &TextNode) -> Result<(String, Stri... FILE: swiftide-integrations/src/kafka/persist.rs type Input (line 16) | type Input = String; type Output (line 17) | type Output = String; method setup (line 19) | async fn setup(&self) -> Result<()> { method batch_size (line 30) | fn batch_size(&self) -> Option { method store (line 34) | async fn store(&self, node: TextNode) -> Result { method batch_store (line 46) | async fn batch_store(&self, nodes: Vec) -> IndexingStream LanceDBPoolManagerBuilder { type LanceDBConnectionPool (line 19) | pub type LanceDBConnectionPool = deadpool::managed::Pool Result { method recycle (line 52) | async fn recycle( FILE: swiftide-integrations/src/lancedb/mod.rs type LanceDB (line 45) | pub struct LanceDB { method fmt (line 91) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { method builder (line 99) | pub fn builder() -> LanceDBBuilder { method get_connection (line 108) | pub async fn get_connection(&self) -> Result Result { method with_vector (line 130) | pub fn with_vector(&mut self, config: impl Into) -> &mut S... method with_metadata (line 144) | pub fn with_metadata(&mut self, config: impl Into) -> &m... method default_fields (line 156) | fn default_fields(&self) -> Vec { method default_schema_from_fields (line 160) | fn default_schema_from_fields(&self) -> Arc { method default_connection_pool (line 201) | fn default_connection_pool(&self) -> Result> { type FieldConfig (line 218) | pub enum FieldConfig { method field_name (line 226) | pub fn field_name(&self) -> String { type VectorConfig (line 237) | pub struct VectorConfig { method field_name (line 243) | pub fn field_name(&self) -> String { method from (line 252) | fn from(val: EmbeddedField) -> Self { type MetadataConfig (line 261) | pub struct MetadataConfig { method from (line 267) | fn from(val: T) -> Self { function normalize_field_name (line 275) | pub(crate) fn normalize_field_name(field: &str) -> String { FILE: swiftide-integrations/src/lancedb/persist.rs type Input (line 23) | type Input = String; type Output (line 24) | type Output = String; method setup (line 27) | async fn setup(&self) -> Result<()> { method store (line 47) | async fn store(&self, node: TextNode) -> Result { method batch_store (line 57) | async fn batch_store(&self, nodes: Vec) -> IndexingStream Option { method store_nodes (line 67) | async fn store_nodes(&self, nodes: &[TextNode]) -> Result<()> { method extract_arrow_batches_from_nodes (line 95) | fn extract_arrow_batches_from_nodes( function setup (line 175) | async fn setup() -> (TempDir, LanceDB) { function test_no_error_when_table_exists (line 191) | async fn test_no_error_when_table_exists() { FILE: swiftide-integrations/src/lancedb/retrieve.rs method retrieve (line 28) | async fn retrieve( method retrieve (line 80) | async fn retrieve( method retrieve (line 100) | async fn retrieve( method retrieve_from_record_batches (line 127) | fn retrieve_from_record_batches(batches: &[RecordBatch]) -> Vec { function setup (line 188) | async fn setup() -> (TempDir, LanceDB) { function test_retrieve_multiple_docs_and_filter (line 204) | async fn test_retrieve_multiple_docs_and_filter() { FILE: swiftide-integrations/src/ollama/config.rs constant OLLAMA_API_BASE (line 6) | const OLLAMA_API_BASE: &str = "http://localhost:11434/v1"; type OllamaConfig (line 10) | pub struct OllamaConfig { method builder (line 16) | pub fn builder() -> OllamaConfigBuilder { method with_api_base (line 20) | pub fn with_api_base(&mut self, api_base: &str) -> &mut Self { method headers (line 37) | fn headers(&self) -> HeaderMap { method url (line 41) | fn url(&self, path: &str) -> String { method api_base (line 45) | fn api_base(&self) -> &str { method api_key (line 49) | fn api_key(&self) -> &SecretString { method query (line 53) | fn query(&self) -> Vec<(&str, &str)> { method default (line 28) | fn default() -> Self { FILE: swiftide-integrations/src/ollama/mod.rs type Ollama (line 22) | pub type Ollama = openai::GenericOpenAI; method builder (line 29) | pub fn builder() -> OllamaBuilder { type OllamaBuilder (line 23) | pub type OllamaBuilder = openai::GenericOpenAIBuilder; type OllamaBuilderError (line 24) | pub type OllamaBuilderError = openai::GenericOpenAIBuilderError; method default (line 34) | fn default() -> Self { function test_default_prompt_model (line 44) | fn test_default_prompt_model() { function test_default_embed_model (line 56) | fn test_default_embed_model() { function test_default_models (line 68) | fn test_default_models() { function test_building_via_default_prompt_model (line 85) | fn test_building_via_default_prompt_model() { function test_building_via_default_embed_model (line 98) | fn test_building_via_default_embed_model() { function test_building_via_default_models (line 111) | fn test_building_via_default_models() { FILE: swiftide-integrations/src/open_router/config.rs constant OPENROUTER_API_BASE (line 6) | const OPENROUTER_API_BASE: &str = "https://openrouter.ai/api/v1"; type OpenRouterConfig (line 11) | pub struct OpenRouterConfig { method builder (line 22) | pub fn builder() -> OpenRouterConfigBuilder { method with_api_base (line 25) | pub fn with_api_base(&mut self, api_base: &str) -> &mut Self { method with_api_key (line 31) | pub fn with_api_key(&mut self, api_key: impl Into) -> &m... method with_site_url (line 36) | pub fn with_site_url(&mut self, site_url: &str) -> &mut Self { method with_site_name (line 42) | pub fn with_site_name(&mut self, site_name: &str) -> &mut Self { method headers (line 63) | fn headers(&self) -> HeaderMap { method url (line 92) | fn url(&self, path: &str) -> String { method api_base (line 96) | fn api_base(&self) -> &str { method api_key (line 100) | fn api_key(&self) -> &SecretString { method query (line 104) | fn query(&self) -> Vec<(&str, &str)> { method default (line 50) | fn default() -> Self { FILE: swiftide-integrations/src/open_router/mod.rs type OpenRouter (line 22) | pub type OpenRouter = openai::GenericOpenAI; method builder (line 29) | pub fn builder() -> OpenRouterBuilder { type OpenRouterBuilder (line 23) | pub type OpenRouterBuilder = openai::GenericOpenAIBuilder Self { function test_default_prompt_model (line 45) | fn test_default_prompt_model() { function test_default_models (line 57) | fn test_default_models() { function test_building_via_default_prompt_model (line 69) | fn test_building_via_default_prompt_model() { FILE: swiftide-integrations/src/openai/chat_completion.rs method complete (line 52) | async fn complete( method complete_stream (line 161) | async fn complete_stream(&self, request: &ChatCompletionRequest<'_>) -> ... function complete_via_responses_api (line 351) | async fn complete_via_responses_api( function complete_stream_via_responses_api (line 384) | async fn complete_stream_via_responses_api( function track_completion (line 442) | pub(crate) fn track_completion( function langfuse_json (line 484) | pub(crate) fn langfuse_json(value: &T) -> Option<... function langfuse_json_redacted (line 489) | pub(crate) fn langfuse_json_redacted(value: &T) -... function redact_image_urls (line 496) | fn redact_image_urls(value: &mut serde_json::Value) { function truncate_data_url (line 521) | fn truncate_data_url(url: &str) -> Option { function langfuse_json (line 543) | pub(crate) fn langfuse_json(_value: &T) -> Option { function tools_to_openai (line 547) | fn tools_to_openai(spec: &ToolSpec) -> Result { function message_to_openai (line 564) | fn message_to_openai( function user_parts_to_openai (line 638) | fn user_parts_to_openai( function part_to_openai_user_content_part (line 649) | fn part_to_openai_user_content_part( function source_to_openai_url (line 694) | fn source_to_openai_url(source: &ChatMessageContentSource) -> Result) -> Result; method builder (line 298) | pub fn builder() -> OpenAIBuilder { type OpenAIBuilder (line 73) | pub type OpenAIBuilder = GenericOpenAIBuilder; type GenericOpenAI (line 78) | pub struct GenericOpenAI< function fmt (line 130) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Options (line 144) | pub struct Options { method builder (line 212) | pub fn builder() -> OptionsBuilder { method merge (line 217) | pub fn merge(&mut self, other: &Options) { method from (line 258) | fn from(value: OptionsBuilder) -> Self { method from (line 277) | fn from(value: &mut OptionsBuilder) -> Self { function on_usage (line 312) | pub fn on_usage(&mut self, func: F) -> &mut Self function on_usage_async (line 327) | pub fn on_usage_async(&mut self, func: F) -> &mut Self function client (line 352) | pub fn client(&mut self, client: async_openai::Client) -> &mut Self { function default_embed_model (line 364) | pub fn default_embed_model(&mut self, model: impl Into) -> &mut ... function for_end_user (line 377) | pub fn for_end_user(&mut self, user: impl Into) -> &mut Self { function parallel_tool_calls (line 394) | pub fn parallel_tool_calls(&mut self, parallel_tool_calls: Option)... function default_prompt_model (line 413) | pub fn default_prompt_model(&mut self, model: impl Into) -> &mut... function default_options (line 428) | pub fn default_options(&mut self, options: impl Into) -> &mut S... function estimate_tokens (line 447) | pub async fn estimate_tokens(&self, value: impl Estimatable) -> Result) ->... function with_default_embed_model (line 459) | pub fn with_default_embed_model(&mut self, model: impl Into) -> ... function client (line 468) | pub fn client(&self) -> &Arc> { function options (line 473) | pub fn options(&self) -> &Options { function options_mut (line 478) | pub fn options_mut(&mut self) -> &mut Options { function is_responses_api_enabled (line 483) | pub fn is_responses_api_enabled(&self) -> bool { function chat_completion_request_defaults (line 487) | fn chat_completion_request_defaults(&self) -> CreateChatCompletionReques... function embed_request_defaults (line 523) | fn embed_request_defaults(&self) -> CreateEmbeddingRequestArgs { function openai_error_to_language_model_error (line 540) | pub fn openai_error_to_language_model_error(e: OpenAIError) -> LanguageM... function is_rate_limited_stream_error (line 576) | fn is_rate_limited_stream_error(error: &StreamError) -> bool { function test_default_embed_and_prompt_model (line 599) | fn test_default_embed_and_prompt_model() { function test_use_responses_api_flag (line 630) | fn test_use_responses_api_flag() { function test_context_length_exceeded_error (line 637) | fn test_context_length_exceeded_error() { function test_api_error_permanent (line 657) | fn test_api_error_permanent() { function test_file_save_error_is_permanent (line 677) | fn test_file_save_error_is_permanent() { function test_file_read_error_is_permanent (line 690) | fn test_file_read_error_is_permanent() { function test_stream_error_is_permanent (line 703) | fn test_stream_error_is_permanent() { function test_invalid_argument_is_permanent (line 717) | fn test_invalid_argument_is_permanent() { function test_options_merge_overrides_set_fields (line 730) | fn test_options_merge_overrides_set_fields() { function test_chat_completion_request_defaults_omits_reasoning_effort (line 752) | fn test_chat_completion_request_defaults_omits_reasoning_effort() { function test_embed_request_defaults_sets_user_and_dimensions (line 792) | fn test_embed_request_defaults_sets_user_and_dimensions() { FILE: swiftide-integrations/src/openai/responses_api.rs type LmResult (line 26) | type LmResult = Result; function build_responses_request_from_chat (line 28) | pub(super) fn build_responses_request_from_chat( function base_request_args (line 65) | fn base_request_args(client: &GenericOpenAI, model: &str) -> LmRes... function convert_metadata (line 127) | fn convert_metadata(value: &serde_json::Value) -> Option Result { function chat_messages_to_input_items (line 159) | fn chat_messages_to_input_items( function message_item (line 259) | fn message_item(role: Role, content: String) -> LmResult { function message_item_with_content (line 263) | fn message_item_with_content(role: Role, content: EasyInputContent) -> L... function user_parts_to_easy_input_content (line 274) | fn user_parts_to_easy_input_content( function part_to_input_content (line 284) | fn part_to_input_content(part: &ChatMessageContentPart) -> LmResult String { type ResponsesStreamState (line 374) | pub(super) struct ResponsesStreamState { method apply_event (line 387) | fn apply_event( method emit (line 510) | fn emit(&mut self, stream_full: bool, finished: bool) -> ResponsesStre... method take_final (line 532) | fn take_final(&mut self, stream_full: bool) -> Option Self { type Item (line 568) | type Item = LmResult; method poll_next (line 570) | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll LmResu... function metadata_to_chat_completion (line 651) | pub(super) fn metadata_to_chat_completion( function collect_message_text_from_items (line 682) | fn collect_message_text_from_items(output: &[OutputItem]) -> Option Option<... function collect_tool_calls_from_items (line 724) | fn collect_tool_calls_from_items(output: &[OutputItem]) -> LmResult Vec LmR... function tool_calls_from_iter (line 795) | fn tool_calls_from_iter<'a, I>(calls: I) -> LmResult> function function_call_identifier (line 805) | fn function_call_identifier(function_call: &FunctionToolCall) -> &str { function build_responses_request_from_prompt (line 816) | pub(super) fn build_responses_request_from_prompt( function build_responses_request_from_prompt_with_schema (line 842) | pub(super) fn build_responses_request_from_prompt_with_schema( function expect_emit (line 900) | fn expect_emit( function expect_no_emit (line 911) | fn expect_no_emit( function sample_usage (line 922) | fn sample_usage() -> ResponsesUsage { type WeatherArgs (line 936) | struct WeatherArgs { type NestedCommentArgs (line 943) | struct NestedCommentArgs { type NestedCommentRequest (line 950) | struct NestedCommentRequest { function sample_tool_spec (line 963) | fn sample_tool_spec() -> ToolSpec { function sample_tool_spec_named (line 972) | fn sample_tool_spec_named(name: &str) -> ToolSpec { function test_user_parts_to_easy_input_content_with_image (line 982) | fn test_user_parts_to_easy_input_content_with_image() { function output_message (line 999) | fn output_message(id: &str, parts: &[&str]) -> OutputMessage { function response_with_message_tool_reasoning (line 1017) | fn response_with_message_tool_reasoning(message: &str) -> Response { function test_build_responses_request_includes_tools_and_options (line 1051) | fn test_build_responses_request_includes_tools_and_options() { function test_build_responses_request_sets_additional_properties_false_for_custom_tool_schema (line 1110) | fn test_build_responses_request_sets_additional_properties_false_for_cus... function test_build_responses_request_sets_nested_required_for_typed_request_objects (line 1170) | fn test_build_responses_request_sets_nested_required_for_typed_request_o... function test_build_responses_request_reasoning_is_stateless_with_summary_and_encrypted_content (line 1236) | fn test_build_responses_request_reasoning_is_stateless_with_summary_and_... function test_chat_messages_to_input_items_keeps_tool_calls_without_content (line 1264) | fn test_chat_messages_to_input_items_keeps_tool_calls_without_content() { function test_chat_messages_to_input_items_includes_reasoning_with_encrypted_content (line 1290) | fn test_chat_messages_to_input_items_includes_reasoning_with_encrypted_c... function test_chat_messages_to_input_items_ignores_empty_assistant (line 1316) | fn test_chat_messages_to_input_items_ignores_empty_assistant() { function test_tool_call_from_function_call_uses_id_when_call_id_missing (line 1324) | fn test_tool_call_from_function_call_uses_id_when_call_id_missing() { function test_collect_message_text_helpers_join_parts (line 1340) | fn test_collect_message_text_helpers_join_parts() { function test_metadata_to_chat_completion_respects_existing_fields (line 1363) | fn test_metadata_to_chat_completion_respects_existing_fields() { function test_tool_output_preserves_structured_values (line 1427) | fn test_tool_output_preserves_structured_values() { function test_response_to_chat_completion_maps_outputs (line 1474) | fn test_response_to_chat_completion_maps_outputs() { function test_response_to_chat_completion_collects_reasoning_summary_and_encrypted_content (line 1520) | fn test_response_to_chat_completion_collects_reasoning_summary_and_encry... function test_stream_accumulator_handles_text_and_tool_events (line 1556) | fn test_stream_accumulator_handles_text_and_tool_events() { function test_stream_state_take_final_only_once (line 1668) | fn test_stream_state_take_final_only_once() { function test_stream_state_ignores_events_after_completion (line 1675) | fn test_stream_state_ignores_events_after_completion() { function test_stream_state_message_item_added_collects_text (line 1717) | fn test_stream_state_message_item_added_collects_text() { function test_stream_state_output_item_done_emits_tool_call (line 1746) | fn test_stream_state_output_item_done_emits_tool_call() { function test_stream_state_duplicate_arguments_done_no_emit (line 1795) | fn test_stream_state_duplicate_arguments_done_no_emit() { function test_stream_state_response_failed_and_error (line 1847) | fn test_stream_state_response_failed_and_error() { function test_response_to_chat_completion_failed_status_errors (line 1886) | fn test_response_to_chat_completion_failed_status_errors() { function test_convert_metadata_rejects_non_string_values (line 1905) | fn test_convert_metadata_rejects_non_string_values() { function test_base_request_args_runs_with_seed_and_presence_penalty (line 1911) | fn test_base_request_args_runs_with_seed_and_presence_penalty() { function test_normalize_responses_function_call_id (line 1927) | fn test_normalize_responses_function_call_id() { FILE: swiftide-integrations/src/openai/simple_prompt.rs method prompt (line 51) | async fn prompt(&self, prompt: Prompt) -> Result Result (MockServer, OpenAI) { function test_structured_prompt_with_wiremock (line 294) | async fn test_structured_prompt_with_wiremock() { function test_structured_prompt_with_wiremock_as_box (line 310) | async fn test_structured_prompt_with_wiremock_as_box() { function test_structured_prompt_via_responses_api (line 330) | async fn test_structured_prompt_via_responses_api() { function test_structured_prompt_via_responses_api_invalid_json_errors (line 390) | async fn test_structured_prompt_via_responses_api_invalid_json_errors() { FILE: swiftide-integrations/src/openai/tool_schema.rs type SchemaNormalizer (line 5) | type SchemaNormalizer = fn(&mut Value) -> Result<(), OpenAiToolSchemaErr... type SchemaValidator (line 6) | type SchemaValidator = fn(&Value) -> Result<(), OpenAiToolSchemaError>; type OpenAiToolSchema (line 9) | pub(super) struct OpenAiToolSchema(Value); method into_value (line 12) | pub(super) fn into_value(self) -> Value { type Error (line 18) | type Error = OpenAiToolSchemaError; method try_from (line 20) | fn try_from(spec: &ToolSpec) -> Result { type OpenAiToolSchemaError (line 27) | pub(super) enum OpenAiToolSchemaError { method from (line 37) | fn from(value: ToolSpecError) -> Self { type OpenAiSchemaPipeline (line 42) | struct OpenAiSchemaPipeline; method apply (line 45) | fn apply(mut schema: Value) -> Result { function strip_schema_metadata (line 63) | fn strip_schema_metadata(schema: &mut Value) -> Result<(), OpenAiToolSch... function strip_rust_numeric_formats (line 70) | fn strip_rust_numeric_formats(schema: &mut Value) -> Result<(), OpenAiTo... function complete_required_arrays (line 85) | fn complete_required_arrays(schema: &mut Value) -> Result<(), OpenAiTool... function validate_openai_compatibility (line 100) | fn validate_openai_compatibility(schema: &Value) -> Result<(), OpenAiToo... function is_rust_numeric_format (line 119) | fn is_rust_numeric_format(format: &str) -> bool { function walk_schema_mut (line 138) | fn walk_schema_mut( function walk_schema_children_mut (line 151) | fn walk_schema_children_mut( function walk_schema (line 185) | fn walk_schema( function walk_schema_children (line 198) | fn walk_schema_children( type SchemaPath (line 233) | struct SchemaPath(Vec); method root (line 236) | fn root() -> Self { method with_key (line 240) | fn with_key(&self, key: impl Into) -> Self { method with_index (line 246) | fn with_index(&self, key: impl Into, index: usize) -> Self { method fmt (line 255) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type NestedCommentArgs (line 270) | struct NestedCommentArgs { type NestedCommentRequest (line 276) | struct NestedCommentRequest { function openai_tool_schema_strips_schema_metadata_and_rust_formats (line 290) | fn openai_tool_schema_strips_schema_metadata_and_rust_formats() { function openai_tool_schema_adds_recursive_required_arrays (line 324) | fn openai_tool_schema_adds_recursive_required_arrays() { function openai_tool_schema_rejects_non_nullable_one_of (line 348) | fn openai_tool_schema_rejects_non_nullable_one_of() { FILE: swiftide-integrations/src/parquet/loader.rs type Output (line 15) | type Output = String; method into_stream (line 17) | fn into_stream(self) -> IndexingStream { method into_stream_boxed (line 98) | fn into_stream_boxed(self: Box) -> IndexingStream { function test_parquet_loader (line 112) | async fn test_parquet_loader() { FILE: swiftide-integrations/src/parquet/mod.rs type Parquet (line 19) | pub struct Parquet { method builder (line 27) | pub fn builder() -> ParquetBuilder { FILE: swiftide-integrations/src/pgvector/fixtures.rs type PgVectorTestData (line 71) | pub(crate) struct PgVectorTestData<'a> { function to_node (line 84) | pub(crate) fn to_node(&self) -> indexing::TextNode { function create_test_vector (line 102) | pub(crate) fn create_test_vector( type TestContext (line 132) | pub(crate) struct TestContext { method setup_with_cfg (line 142) | pub(crate) async fn setup_with_cfg( FILE: swiftide-integrations/src/pgvector/mod.rs constant DB_POOL_CONN_MAX (line 43) | const DB_POOL_CONN_MAX: u32 = 10; constant DB_POOL_CONN_RETRY_MAX (line 46) | const DB_POOL_CONN_RETRY_MAX: u32 = 3; constant DB_POOL_CONN_RETRY_DELAY_SECS (line 49) | const DB_POOL_CONN_RETRY_DELAY_SECS: u64 = 3; constant BATCH_SIZE (line 52) | const BATCH_SIZE: usize = 50; type PgVector (line 61) | pub struct PgVector { method fmt (line 104) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method builder (line 119) | pub fn builder() -> PgVectorBuilder { method get_pool (line 137) | pub async fn get_pool(&self) -> Result<&PgPool> { method get_table_name (line 141) | pub fn get_table_name(&self) -> &str { method with_vector (line 156) | pub fn with_vector(&mut self, config: impl Into) -> &mut S... method with_metadata (line 178) | pub fn with_metadata(&mut self, config: impl Into) -> &m... method default_fields (line 187) | pub fn default_fields() -> Vec { function test_metadata_filter_with_vector_search (line 206) | async fn test_metadata_filter_with_vector_search() { function test_vector_similarity_search_accuracy (line 282) | async fn test_vector_similarity_search_accuracy() { function test_persist_nodes (line 390) | async fn test_persist_nodes( FILE: swiftide-integrations/src/pgvector/persist.rs type Input (line 22) | type Input = String; type Output (line 23) | type Output = String; method setup (line 25) | async fn setup(&self) -> Result<()> { method store (line 57) | async fn store(&self, node: TextNode) -> Result { method batch_store (line 67) | async fn batch_store(&self, nodes: Vec) -> IndexingStream Option { function test_persist_setup_no_error_when_table_exists (line 83) | async fn test_persist_setup_no_error_when_table_exists() { FILE: swiftide-integrations/src/pgvector/pgv_table_types.rs type VectorConfig (line 24) | pub struct VectorConfig { method new (line 30) | pub fn new(embedded_field: &EmbeddedField) -> Self { method from (line 42) | fn from(val: EmbeddedField) -> Self { type MetadataConfig (line 52) | pub struct MetadataConfig { method new (line 58) | pub fn new>(original_field: T) -> Self { method from (line 68) | fn from(val: T) -> Self { type FieldConfig (line 78) | pub enum FieldConfig { method field_name (line 90) | pub fn field_name(&self) -> &str { type BulkUpsertData (line 104) | struct BulkUpsertData<'a> { type FieldMapping (line 112) | struct FieldMapping<'a> { function new (line 118) | fn new(fields: &'a [FieldConfig], size: usize) -> Self { function get_metadata_index (line 148) | fn get_metadata_index(&self, field: &str) -> Option { function get_vector_index (line 155) | fn get_vector_index(&self, field: &str) -> Option { method generate_create_table_sql (line 175) | pub fn generate_create_table_sql(&self) -> Result { method create_index_sql (line 211) | pub fn create_index_sql(&self) -> Result { method store_nodes (line 251) | pub async fn store_nodes(&self, nodes: &[TextNode]) -> Result<()> { method prepare_bulk_data (line 276) | fn prepare_bulk_data<'a>(&'a self, nodes: &'a [TextNode]) -> Result Result { method bind_bulk_data_to_query (line 389) | fn bind_bulk_data_to_query<'a>( method get_vector_column_name (line 426) | pub fn get_vector_column_name(&self) -> Result { method normalize_field_name (line 444) | pub fn normalize_field_name(field: &str) -> String { method is_valid_identifier (line 470) | pub(crate) fn is_valid_identifier(identifier: &str) -> bool { method is_reserved_keyword (line 492) | pub(crate) fn is_reserved_keyword(word: &str) -> bool { method create_pool (line 507) | async fn create_pool(&self) -> Result { method pool_get_or_initialize (line 542) | pub async fn pool_get_or_initialize(&self) -> Result<&PgPool> { function test_valid_identifiers (line 564) | fn test_valid_identifiers() { function test_invalid_identifiers (line 572) | fn test_invalid_identifiers() { FILE: swiftide-integrations/src/pgvector/retrieve.rs type VectorSearchResult (line 20) | struct VectorSearchResult { method from_row (line 33) | fn from_row(row: &sqlx::postgres::PgRow) -> Result { method from (line 27) | fn from(val: VectorSearchResult) -> Self { method retrieve (line 65) | async fn retrieve( method retrieve (line 143) | async fn retrieve( method retrieve (line 159) | async fn retrieve( function test_retrieve_multiple_docs_and_filter (line 197) | async fn test_retrieve_multiple_docs_and_filter() { function test_retrieve_docs_with_metadata (line 260) | async fn test_retrieve_docs_with_metadata() { FILE: swiftide-integrations/src/qdrant/indexing_node.rs type Error (line 23) | type Error = anyhow::Error; function try_into (line 35) | fn try_into(self) -> Result { function try_create_vectors (line 71) | fn try_create_vectors( function try_into_point_struct_test (line 192) | fn try_into_point_struct_test( FILE: swiftide-integrations/src/qdrant/mod.rs constant DEFAULT_COLLECTION_NAME (line 21) | const DEFAULT_COLLECTION_NAME: &str = "swiftide"; constant DEFAULT_QDRANT_URL (line 22) | const DEFAULT_QDRANT_URL: &str = "http://localhost:6334"; constant DEFAULT_BATCH_SIZE (line 23) | const DEFAULT_BATCH_SIZE: usize = 50; type Qdrant (line 37) | pub struct Qdrant { method builder (line 65) | pub fn builder() -> QdrantBuilder { method try_from_url (line 85) | pub fn try_from_url(url: impl AsRef) -> Result { method create_index_if_not_exists (line 105) | pub async fn create_index_if_not_exists(&self) -> Result<()> { method create_vectors_config (line 132) | fn create_vectors_config(&self) -> Result Option qdrant::Vecto... method client (line 184) | pub fn client(&self) -> &Arc { method fmt (line 250) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method default_client (line 191) | fn default_client(&self) -> Result> { method with_vector (line 209) | pub fn with_vector(mut self, vector: impl Into) -> QdrantB... method with_sparse_vector (line 227) | pub fn with_sparse_vector(mut self, vector: impl Into HashMap { type VectorConfig (line 263) | pub struct VectorConfig { method builder (line 280) | pub fn builder() -> VectorConfigBuilder { method from (line 286) | fn from(value: EmbeddedField) -> Self { type SparseVectorConfig (line 296) | pub struct SparseVectorConfig { method from (line 301) | fn from(value: EmbeddedField) -> Self { type Distance (line 308) | pub type Distance = qdrant::Distance; type NodeWithVectors (line 311) | struct NodeWithVectors<'a> { function new (line 317) | pub fn new(node: &'a TextNode, vector_fields: HashSet<&'a EmbeddedField>... FILE: swiftide-integrations/src/qdrant/persist.rs type Input (line 17) | type Input = String; type Output (line 18) | type Output = String; method batch_size (line 25) | fn batch_size(&self) -> Option { method setup (line 39) | async fn setup(&self) -> Result<()> { method store (line 60) | async fn store(&self, node: TextNode) -> Result { method batch_store (line 89) | async fn batch_store(&self, nodes: Vec) -> IndexingStream HashSet<&EmbeddedField> { FILE: swiftide-integrations/src/qdrant/retrieve.rs method retrieve (line 24) | async fn retrieve( method retrieve (line 68) | async fn retrieve( method retrieve (line 90) | async fn retrieve( function scored_point_into_document (line 140) | fn scored_point_into_document(scored_point: ScoredPoint) -> Result ( function test_retrieve_multiple_docs_and_filter (line 213) | async fn test_retrieve_multiple_docs_and_filter() { function test_hybrid_search (line 272) | async fn test_hybrid_search() { function test_hybrid_search_with_filter (line 290) | async fn test_hybrid_search_with_filter() { FILE: swiftide-integrations/src/redb/mod.rs type Redb (line 29) | pub struct Redb { method fmt (line 49) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method builder (line 73) | pub fn builder() -> RedbBuilder { method node_key (line 76) | pub fn node_key(&self, node: &swiftide_core::indexing::TextNode) -> St... method table_definition (line 80) | pub fn table_definition(&self) -> redb::TableDefinition<'_, String, bo... method database (line 84) | pub fn database(&self) -> &redb::Database { method default_database (line 60) | fn default_database(&self) -> Result { FILE: swiftide-integrations/src/redb/node_cache.rs type Input (line 31) | type Input = String; method get (line 33) | async fn get(&self, node: &TextNode) -> bool { method set (line 65) | async fn set(&self, node: &TextNode) { method clear (line 77) | async fn clear(&self) -> Result<()> { function setup_redb (line 93) | fn setup_redb() -> Redb { function test_get_set (line 102) | async fn test_get_set() { function test_clear (line 110) | async fn test_clear() { FILE: swiftide-integrations/src/redis/message_history.rs method history (line 9) | async fn history(&self) -> Result> { method push_owned (line 29) | async fn push_owned(&self, item: ChatMessage) -> Result<()> { method extend_owned (line 43) | async fn extend_owned(&self, items: Vec) -> Result<()> { method overwrite (line 61) | async fn overwrite(&self, items: Vec) -> Result<()> { function serialize_messages (line 87) | fn serialize_messages(items: Vec) -> Result> { function start_redis (line 100) | async fn start_redis() -> (String, ContainerAsync) { function test_no_messages_yet (line 119) | async fn test_no_messages_yet() { function test_adding_and_next_completions (line 131) | async fn test_adding_and_next_completions() { function test_overwrite_history (line 157) | async fn test_overwrite_history() { function test_extend (line 181) | async fn test_extend() { FILE: swiftide-integrations/src/redis/mod.rs type Redis (line 42) | pub struct Redis { function try_from_url (line 77) | pub fn try_from_url(url: impl AsRef, prefix: impl AsRef) -> Re... function try_build_from_url (line 95) | pub fn try_build_from_url(url: impl AsRef) -> Result RedisBuilder { function with_message_history_key (line 106) | pub fn with_message_history_key(&mut self, prefix: impl Into) ->... function lazy_connect (line 121) | async fn lazy_connect(&self) -> Option { function cache_key_for_node (line 144) | fn cache_key_for_node(&self, node: &Node) -> String { function persist_key_for_node (line 149) | fn persist_key_for_node(&self, node: &Node) -> Result { function reset_cache (line 165) | async fn reset_cache(&self) { function get_node (line 186) | async fn get_node(&self, node: &Node) -> Result> { function persist_value_for_node (line 206) | fn persist_value_for_node(&self, node: &Node) -> Result { function fmt (line 218) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: swiftide-integrations/src/redis/node_cache.rs type Input (line 11) | type Input = T; method get (line 26) | async fn get(&self, node: &Node) -> bool { method set (line 64) | async fn set(&self, node: &Node) { method clear (line 78) | async fn clear(&self) -> Result<()> { function test_redis_cache (line 107) | async fn test_redis_cache() { FILE: swiftide-integrations/src/redis/persist.rs type Input (line 15) | type Input = T; type Output (line 16) | type Output = T; method setup (line 17) | async fn setup(&self) -> Result<()> { method batch_size (line 21) | fn batch_size(&self) -> Option { method store (line 32) | async fn store(&self, node: Node) -> Result> { method batch_store (line 54) | async fn batch_store(&self, nodes: Vec>) -> IndexingStream { function start_redis (line 95) | async fn start_redis() -> ContainerAsync { function test_redis_persist (line 107) | async fn test_redis_persist() { function test_redis_batch_persist (line 127) | async fn test_redis_batch_persist() { function test_redis_custom_persist (line 150) | async fn test_redis_custom_persist() { FILE: swiftide-integrations/src/scraping/html_to_markdown_transformer.rs type HtmlToMarkdownTransformer (line 13) | pub struct HtmlToMarkdownTransformer { method fmt (line 35) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method default (line 21) | fn default() -> Self { type Input (line 42) | type Input = String; type Output (line 43) | type Output = String; method transform_node (line 48) | async fn transform_node(&self, node: TextNode) -> Result { method concurrency (line 54) | fn concurrency(&self) -> Option { function test_html_to_markdown (line 64) | async fn test_html_to_markdown() { FILE: swiftide-integrations/src/scraping/loader.rs type ScrapingLoader (line 15) | pub struct ScrapingLoader { method builder (line 20) | pub fn builder() -> ScrapingLoaderBuilder { method from_spider (line 26) | pub fn from_spider(spider_website: Website) -> Self { method from_url (line 31) | pub fn from_url(url: impl AsRef) -> Self { type Output (line 37) | type Output = String; method into_stream (line 39) | fn into_stream(mut self) -> IndexingStream { method into_stream_boxed (line 81) | fn into_stream_boxed(self: Box) -> IndexingStream { function test_scraping_loader_with_wiremock (line 96) | async fn test_scraping_loader_with_wiremock() { function test_scraping_loader_multiple_pages (line 125) | async fn test_scraping_loader_multiple_pages() { FILE: swiftide-integrations/src/tiktoken/mod.rs type TikToken (line 35) | pub struct TikToken { method fmt (line 41) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method try_from_model (line 59) | pub fn try_from_model(model: impl AsRef) -> Result { method try_from_tokenizer (line 69) | pub fn try_from_tokenizer(tokenizer: Tokenizer) -> Result { method default (line 47) | fn default() -> Self { method estimate (line 77) | async fn estimate(&self, value: impl Estimatable) -> Result { function test_estimate_tokens (line 94) | async fn test_estimate_tokens() { function test_estimate_tokens_from_tokenizer (line 102) | async fn test_estimate_tokens_from_tokenizer() { function test_estimate_chat_messages (line 110) | async fn test_estimate_chat_messages() { FILE: swiftide-integrations/src/treesitter/chunk_code.rs type ChunkCode (line 32) | pub struct ChunkCode { method builder (line 39) | pub fn builder() -> ChunkCodeBuilder { method try_for_language (line 55) | pub fn try_for_language(lang: impl TryInto) -> Res... method try_for_language_and_chunk_size (line 76) | pub fn try_for_language_and_chunk_size( method with_concurrency (line 90) | pub fn with_concurrency(mut self, concurrency: usize) -> Self { type Input (line 98) | type Input = String; type Output (line 99) | type Output = String; method transform_node (line 112) | async fn transform_node(&self, node: TextNode) -> IndexingStream { method concurrency (line 138) | fn concurrency(&self) -> Option { FILE: swiftide-integrations/src/treesitter/code_tree.rs type CodeParser (line 18) | pub struct CodeParser { method from_language (line 23) | pub fn from_language(language: SupportedLanguages) -> Self { method parse (line 37) | pub fn parse<'a>(&self, code: &'a str) -> Result> { type CodeTree (line 51) | pub struct CodeTree<'a> { type ReferencesAndDefinitions (line 57) | pub struct ReferencesAndDefinitions { function references_and_definitions (line 69) | pub fn references_and_definitions(&self) -> Result Result> { function ts_queries_for_language (line 111) | fn ts_queries_for_language(language: SupportedLanguages) -> (&'static st... function test_parsing_on_rust (line 137) | fn test_parsing_on_rust() { function test_parsing_on_solidity (line 154) | fn test_parsing_on_solidity() { function test_parsing_on_ruby (line 172) | fn test_parsing_on_ruby() { function test_parsing_python (line 195) | fn test_parsing_python() { function test_parsing_on_c_sharp (line 213) | fn test_parsing_on_c_sharp() { function test_parsing_on_typescript (line 233) | fn test_parsing_on_typescript() { function test_parsing_on_javascript (line 260) | fn test_parsing_on_javascript() { function test_parsing_on_java (line 284) | fn test_parsing_on_java() { function test_parsing_on_java_enum (line 300) | fn test_parsing_on_java_enum() { function test_parsing_go (line 332) | fn test_parsing_go() { FILE: swiftide-integrations/src/treesitter/compress_code_outline.rs type CompressCodeOutline (line 16) | pub struct CompressCodeOutline {} function extract_markdown_codeblock (line 18) | fn extract_markdown_codeblock(text: String) -> String { type Input (line 30) | type Input = String; type Output (line 31) | type Output = String; method transform_node (line 51) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 65) | fn concurrency(&self) -> Option { function test_compress_code_template (line 77) | async fn test_compress_code_template() { function test_compress_code_outline (line 91) | async fn test_compress_code_outline() { FILE: swiftide-integrations/src/treesitter/metadata_qa_code.rs type MetadataQACode (line 14) | pub struct MetadataQACode { type Input (line 21) | type Input = String; type Output (line 22) | type Output = String; method transform_node (line 42) | async fn transform_node(&self, mut node: TextNode) -> Result { method concurrency (line 60) | fn concurrency(&self) -> Option { function test_template_with_outline (line 74) | async fn test_template_with_outline() { function test_metadata_qacode (line 86) | async fn test_metadata_qacode() { FILE: swiftide-integrations/src/treesitter/metadata_refs_defs_code.rs constant NAME_REFERENCES (line 45) | pub const NAME_REFERENCES: &str = "References (code)"; constant NAME_DEFINITIONS (line 46) | pub const NAME_DEFINITIONS: &str = "Definitions (code)"; type MetadataRefsDefsCode (line 50) | pub struct MetadataRefsDefsCode { method try_from_language (line 60) | pub fn try_from_language(language: impl TryInto) -... type Input (line 74) | type Input = String; type Output (line 75) | type Output = String; method transform_node (line 78) | async fn transform_node(&self, mut node: TextNode) -> Result { function assert_refs_defs_from_code (line 113) | async fn assert_refs_defs_from_code( FILE: swiftide-integrations/src/treesitter/outline_code_tree_sitter.rs type OutlineCodeTreeSitter (line 14) | pub struct OutlineCodeTreeSitter { method try_for_language (line 32) | pub fn try_for_language( type Input (line 48) | type Input = String; type Output (line 49) | type Output = String; method transform_node (line 64) | async fn transform_node(&self, mut node: TextNode) -> Result { FILE: swiftide-integrations/src/treesitter/outliner.rs type CodeOutliner (line 17) | pub struct CodeOutliner { method new (line 57) | pub fn new(language: SupportedLanguages) -> Self { method builder (line 66) | pub fn builder() -> CodeOutlinerBuilder { method outline (line 83) | pub fn outline(&self, code: &str) -> Result { method is_unneeded_node (line 100) | fn is_unneeded_node(&self, node: Node) -> bool { method outline_node (line 145) | fn outline_node( method try_language (line 36) | pub fn try_language(mut self, language: impl TryInto... function test_outline_rust (line 191) | fn test_outline_rust() { function test_outline_typescript (line 217) | fn test_outline_typescript() { function test_outline_python (line 241) | fn test_outline_python() { function test_outline_ruby (line 264) | fn test_outline_ruby() { function test_outline_javascript (line 287) | fn test_outline_javascript() { function test_outline_java (line 314) | fn test_outline_java() { FILE: swiftide-integrations/src/treesitter/queries.rs constant DEFS (line 3) | pub const DEFS: &str = r" constant REFS (line 46) | pub const REFS: &str = r#" constant DEFS (line 59) | pub const DEFS: &str = r#" constant REFS (line 71) | pub const REFS: &str = " constant DEFS (line 84) | pub const DEFS: &str = r#" constant REFS (line 146) | pub const REFS: &str = r#" constant DEFS (line 167) | pub const DEFS: &str = r#" constant REFS (line 225) | pub const REFS: &str = r#" constant DEFS (line 255) | pub const DEFS: &str = " constant REFS (line 285) | pub const REFS: &str = " constant DEFS (line 300) | pub const DEFS: &str = " constant REFS (line 317) | pub const REFS: &str = " constant DEFS (line 327) | pub const DEFS: &str = r" constant REFS (line 346) | pub const REFS: &str = r#" constant DEFS (line 364) | pub const DEFS: &str = r" constant REFS (line 386) | pub const REFS: &str = r" constant DEFS (line 406) | pub const DEFS: &str = r" constant REFS (line 420) | pub const REFS: &str = r" FILE: swiftide-integrations/src/treesitter/splitter.rs constant DEFAULT_MAX_BYTES (line 10) | const DEFAULT_MAX_BYTES: usize = 1500; type CodeSplitter (line 17) | pub struct CodeSplitter { method new (line 89) | pub fn new(language: SupportedLanguages) -> Self { method builder (line 101) | pub fn builder() -> CodeSplitterBuilder { method chunk_node (line 116) | fn chunk_node( method split (line 183) | pub fn split(&self, code: &str) -> Result> { method max_bytes (line 202) | fn max_bytes(&self) -> usize { method min_bytes (line 214) | fn min_bytes(&self) -> usize { method try_language (line 40) | pub fn try_language(mut self, language: impl TryInto... type ChunkSize (line 53) | pub enum ChunkSize { method from (line 60) | fn from(size: usize) -> Self { method from (line 67) | fn from(range: Range) -> Self { method default (line 74) | fn default() -> Self { function test_split_single_chunk (line 229) | fn test_split_single_chunk() { function test_chunk_lines (line 240) | fn test_chunk_lines() { function test_max_bytes_limit (line 262) | fn test_max_bytes_limit() { function test_empty_text (line 295) | fn test_empty_text() { function test_range_max (line 311) | fn test_range_max() { function test_range_min_and_max (line 336) | fn test_range_min_and_max() { function test_on_self (line 369) | fn test_on_self() { FILE: swiftide-integrations/src/treesitter/supported_languages.rs type SupportedLanguages (line 44) | pub enum SupportedLanguages { method file_extensions (line 144) | pub fn file_extensions(&self) -> &[&str] { method hash (line 95) | fn hash(&self, state: &mut H) { function from (line 176) | fn from(val: SupportedLanguages) -> Self { function test_supported_languages_from_str (line 204) | fn test_supported_languages_from_str() { function test_supported_languages_from_str_case_insensitive (line 225) | fn test_supported_languages_from_str_case_insensitive() { function test_serialize_and_deserialize_for_supported_languages (line 259) | fn test_serialize_and_deserialize_for_supported_languages() { FILE: swiftide-langfuse/src/apis/configuration.rs type Configuration (line 10) | pub struct Configuration { method new (line 29) | pub fn new() -> Configuration { type BasicAuth (line 20) | pub type BasicAuth = (String, Option); type ApiKey (line 23) | pub struct ApiKey { method default (line 35) | fn default() -> Self { FILE: swiftide-langfuse/src/apis/ingestion_api.rs type IngestionBatchError (line 17) | pub enum IngestionBatchError { function ingestion_batch (line 27) | pub async fn ingestion_batch( FILE: swiftide-langfuse/src/apis/mod.rs type ResponseContent (line 6) | pub struct ResponseContent { type Error (line 13) | pub enum Error { function fmt (line 22) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function source (line 34) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { function from (line 45) | fn from(e: reqwest::Error) -> Self { function from (line 51) | fn from(e: serde_json::Error) -> Self { function from (line 57) | fn from(e: std::io::Error) -> Self { type ContentType (line 65) | enum ContentType { method from (line 72) | fn from(content_type: &str) -> Self { FILE: swiftide-langfuse/src/langfuse_batch_manager.rs type LangfuseBatchManager (line 13) | pub struct LangfuseBatchManager { method new (line 29) | pub fn new(config: Configuration) -> Self { method spawn (line 39) | pub fn spawn(self) { method flush (line 61) | pub async fn flush(&self) -> Result<()> { method send_async (line 70) | pub async fn send_async(&self) -> Result<()> { method add_event (line 116) | pub async fn add_event(&self, event: IngestionEvent) { type BatchManagerTrait (line 20) | pub trait BatchManagerTrait: Send + Sync + DynClone { method add_event (line 21) | async fn add_event(&self, event: IngestionEvent); method flush (line 22) | async fn flush(&self) -> anyhow::Result<()>; method boxed (line 23) | fn boxed(&self) -> Box; method add_event (line 123) | async fn add_event(&self, event: IngestionEvent) { method flush (line 127) | async fn flush(&self) -> anyhow::Result<()> { method boxed (line 131) | fn boxed(&self) -> Box { method drop (line 137) | fn drop(&mut self) { FILE: swiftide-langfuse/src/lib.rs constant DEFAULT_LANGFUSE_URL (line 37) | const DEFAULT_LANGFUSE_URL: &str = "http://localhost:3000"; FILE: swiftide-langfuse/src/models/create_event_body.rs type CreateEventBody (line 13) | pub struct CreateEventBody { method new (line 96) | pub fn new() -> CreateEventBody { FILE: swiftide-langfuse/src/models/create_generation_body.rs type CreateGenerationBody (line 13) | pub struct CreateGenerationBody { method new (line 149) | pub fn new() -> CreateGenerationBody { FILE: swiftide-langfuse/src/models/create_score_value.rs type CreateScoreValue (line 16) | pub enum CreateScoreValue { method default (line 22) | fn default() -> Self { FILE: swiftide-langfuse/src/models/create_span_body.rs type CreateSpanBody (line 13) | pub struct CreateSpanBody { method new (line 103) | pub fn new() -> CreateSpanBody { FILE: swiftide-langfuse/src/models/ingestion_batch_request.rs type IngestionBatchRequest (line 13) | pub struct IngestionBatchRequest { FILE: swiftide-langfuse/src/models/ingestion_error.rs type IngestionError (line 12) | pub struct IngestionError { FILE: swiftide-langfuse/src/models/ingestion_event.rs type IngestionEvent (line 16) | pub enum IngestionEvent { method new_trace_create (line 36) | pub fn new_trace_create(body: models::TraceBody) -> Self { method new_score_create (line 45) | pub fn new_score_create(body: models::ScoreBody) -> Self { method new_span_create (line 54) | pub fn new_span_create(body: models::CreateSpanBody) -> Self { method new_span_update (line 63) | pub fn new_span_update(body: models::UpdateSpanBody) -> Self { method new_generation_create (line 72) | pub fn new_generation_create(body: models::CreateGenerationBody) -> Se... method new_generation_update (line 81) | pub fn new_generation_update(body: models::UpdateGenerationBody) -> Se... method new_event_create (line 90) | pub fn new_event_create(body: models::CreateEventBody) -> Self { method new_sdk_log (line 99) | pub fn new_sdk_log(body: models::SdkLogBody) -> Self { method new_observation_create (line 108) | pub fn new_observation_create(body: models::ObservationBody) -> Self { method new_observation_update (line 117) | pub fn new_observation_update(body: models::ObservationBody) -> Self { method default (line 30) | fn default() -> Self { FILE: swiftide-langfuse/src/models/ingestion_event_one_of.rs type TraceCreate (line 13) | pub struct TraceCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_1.rs type ScoreCreate (line 13) | pub struct ScoreCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_2.rs type SpanCreate (line 13) | pub struct SpanCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_3.rs type SpanUpdate (line 13) | pub struct SpanUpdate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_4.rs type GenerationCreate (line 13) | pub struct GenerationCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_5.rs type GenerationUpdate (line 13) | pub struct GenerationUpdate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_6.rs type EventCreate (line 13) | pub struct EventCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_7.rs type SdkLog (line 13) | pub struct SdkLog { method new (line 37) | pub fn new(body: models::SdkLogBody, id: String, timestamp: String, r#... type Type (line 50) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_8.rs type ObservationCreate (line 13) | pub struct ObservationCreate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_event_one_of_9.rs type ObservationUpdate (line 13) | pub struct ObservationUpdate { method new (line 37) | pub fn new( type Type (line 55) | pub enum Type { FILE: swiftide-langfuse/src/models/ingestion_response.rs type IngestionResponse (line 13) | pub struct IngestionResponse { FILE: swiftide-langfuse/src/models/ingestion_success.rs type IngestionSuccess (line 12) | pub struct IngestionSuccess { FILE: swiftide-langfuse/src/models/ingestion_usage.rs type IngestionUsage (line 14) | pub enum IngestionUsage { method default (line 20) | fn default() -> Self { FILE: swiftide-langfuse/src/models/map_value.rs type MapValue (line 13) | pub enum MapValue { method default (line 21) | fn default() -> Self { FILE: swiftide-langfuse/src/models/model_usage_unit.rs type ModelUsageUnit (line 16) | pub enum ModelUsageUnit { method fmt (line 33) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { FILE: swiftide-langfuse/src/models/observation_body.rs type ObservationBody (line 13) | pub struct ObservationBody { method new (line 128) | pub fn new(r#type: models::ObservationType) -> ObservationBody { FILE: swiftide-langfuse/src/models/observation_level.rs type ObservationLevel (line 14) | pub enum ObservationLevel { method fmt (line 27) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { FILE: swiftide-langfuse/src/models/observation_type.rs type ObservationType (line 14) | pub enum ObservationType { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { FILE: swiftide-langfuse/src/models/open_ai_completion_usage_schema.rs type OpenAiCompletionUsageSchema (line 13) | pub struct OpenAiCompletionUsageSchema { method new (line 38) | pub fn new( FILE: swiftide-langfuse/src/models/open_ai_response_usage_schema.rs type OpenAiResponseUsageSchema (line 13) | pub struct OpenAiResponseUsageSchema { method new (line 38) | pub fn new( FILE: swiftide-langfuse/src/models/open_ai_usage.rs type OpenAiUsage (line 13) | pub struct OpenAiUsage { method new (line 39) | pub fn new() -> OpenAiUsage { FILE: swiftide-langfuse/src/models/optional_observation_body.rs type OptionalObservationBody (line 14) | pub struct OptionalObservationBody { FILE: swiftide-langfuse/src/models/score_body.rs type ScoreBody (line 13) | pub struct ScoreBody { method new (line 90) | pub fn new(name: String, value: models::CreateScoreValue) -> ScoreBody { FILE: swiftide-langfuse/src/models/score_data_type.rs type ScoreDataType (line 14) | pub enum ScoreDataType { method fmt (line 25) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { FILE: swiftide-langfuse/src/models/sdk_log_body.rs type SdkLogBody (line 12) | pub struct SdkLogBody { method new (line 18) | pub fn new(log: Option) -> SdkLogBody { FILE: swiftide-langfuse/src/models/trace_body.rs type TraceBody (line 12) | pub struct TraceBody { method new (line 108) | pub fn new() -> TraceBody { FILE: swiftide-langfuse/src/models/update_generation_body.rs type UpdateGenerationBody (line 13) | pub struct UpdateGenerationBody { method new (line 144) | pub fn new(id: String) -> UpdateGenerationBody { FILE: swiftide-langfuse/src/models/update_span_body.rs type UpdateSpanBody (line 13) | pub struct UpdateSpanBody { method new (line 98) | pub fn new(id: String) -> UpdateSpanBody { FILE: swiftide-langfuse/src/models/usage.rs type Usage (line 15) | pub struct Usage { method new (line 71) | pub fn new() -> Usage { method from (line 85) | fn from(value: swiftide_core::chat_completion::Usage) -> Self { FILE: swiftide-langfuse/src/models/usage_details.rs type UsageDetails (line 14) | pub enum UsageDetails { method default (line 21) | fn default() -> Self { FILE: swiftide-langfuse/src/tracing_layer.rs type SpanData (line 24) | pub struct SpanData { method get (line 34) | pub fn get(&self, key: &str) -> Option method remaining_metadata (line 57) | pub fn remaining_metadata(&self) -> Option) -> Self { function map_level (line 78) | pub fn map_level(level: &Level) -> ObservationLevel { type SpanTracker (line 90) | pub struct SpanTracker { method new (line 102) | pub fn new() -> Self { method add_span (line 109) | pub fn add_span(&mut self, span_id: u64, observation_id: String, ty: O... method get_span (line 113) | pub fn get_span(&self, span_id: u64) -> Option<&(String, ObservationTy... method remove_span (line 117) | pub fn remove_span(&mut self, span_id: u64) -> Option<(String, Observa... method default (line 96) | fn default() -> Self { type LangfuseLayer (line 123) | pub struct LangfuseLayer { method from_config (line 211) | pub fn from_config(config: Configuration) -> Self { method from_batch_manager (line 226) | pub fn from_batch_manager(batch_manager: &LangfuseBatchManager) -> Self { method flush (line 234) | pub async fn flush(&self) -> anyhow::Result<()> { method handle_span (line 243) | pub async fn handle_span(&self, span_id: u64, mut span_data: SpanData) { method handle_span_close (line 271) | pub async fn handle_span_close(&self, span_id: u64) { method ensure_trace_id (line 290) | pub async fn ensure_trace_id(&self) -> String { method handle_record (line 311) | pub async fn handle_record(&self, span_id: u64, metadata: serde_json::... method enabled (line 347) | fn enabled(&self, _metadata: &Metadata<'_>, _ctx: Context<'_, S>) -> b... method on_new_span (line 352) | fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx... method on_close (line 376) | fn on_close(&self, id: Id, _ctx: Context<'_, S>) { method on_record (line 383) | fn on_record(&self, span: &Id, values: &span::Record<'_>, _ctx: Contex... method on_event (line 395) | fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>) { function observation_create_from (line 128) | fn observation_create_from( method default (line 173) | fn default() -> Self { type JsonVisitor (line 408) | struct JsonVisitor { method new (line 413) | fn new() -> Self { method insert_value (line 419) | fn insert_value(&mut self, field: &Field, value: Value) { method record_debug (line 437) | fn record_debug(&mut self, field: &Field, value: &dyn fmt::Debug) { method record_str (line 441) | fn record_str(&mut self, field: &Field, value: &str) { type InMemoryBatchManager (line 455) | struct InMemoryBatchManager { method add_event (line 460) | async fn add_event(&self, event: crate::models::ingestion_event::Inges... method flush (line 463) | async fn flush(&self) -> anyhow::Result<()> { method boxed (line 466) | fn boxed(&self) -> Box Result { function extract_existing_fields (line 189) | fn extract_existing_fields(fields: Fields) -> impl Iterator To... function tool (line 44) | pub fn tool(args: TokenStream, input: TokenStream) -> TokenStream { function derive_tool (line 68) | pub fn derive_tool(input: TokenStream) -> TokenStream { FILE: swiftide-macros/src/test_utils.rs function pretty_macro_output (line 1) | pub fn pretty_macro_output(item: &proc_macro2::TokenStream) -> String { FILE: swiftide-macros/src/tool/args.rs type ToolArgs (line 8) | pub struct ToolArgs { method try_from_attribute_input (line 78) | pub fn try_from_attribute_input(input: &ItemFn, args: TokenStream) -> ... method infer_param_types (line 104) | pub fn infer_param_types(&mut self) -> Result<(), Error> { method with_name_from_ident (line 140) | pub fn with_name_from_ident(&mut self, ident: &syn::Ident) { method tool_name (line 150) | pub fn tool_name(&self) -> &str { method fn_name (line 154) | pub fn fn_name(&self) -> &str { method tool_description (line 158) | pub fn tool_description(&self) -> &Description { method tool_params (line 162) | pub fn tool_params(&self) -> &[ParamOptions] { method derive_invoke_args (line 166) | pub fn derive_invoke_args(&self) -> Vec { method args_struct (line 180) | pub fn args_struct(&self) -> TokenStream { method args_struct_ident (line 211) | pub fn args_struct_ident(&self) -> Ident { type ParamOptions (line 29) | pub struct ParamOptions { method should_pass_owned (line 357) | fn should_pass_owned(&self) -> bool { type Description (line 46) | pub enum Description { method default (line 52) | fn default() -> Self { method from_expr (line 58) | fn from_expr(expr: &syn::Expr) -> darling::Result { function validate_spec_and_fn_args_match (line 219) | fn validate_spec_and_fn_args_match(tool_args: &ToolArgs, item_fn: &ItemF... function json_type_to_rust_type (line 267) | fn json_type_to_rust_type(json_type: &str) -> syn::Type { function is_option_type (line 278) | fn is_option_type(ty: &syn::Type) -> bool { function wrap_type_in_option (line 294) | fn wrap_type_in_option(ty: syn::Type) -> syn::Type { function as_owned_ty (line 302) | fn as_owned_ty(ty: &syn::Type) -> syn::Type { function is_vec_type (line 340) | fn is_vec_type(ty: &syn::Type) -> bool { function validate_first_argument_is_agent_context (line 362) | fn validate_first_argument_is_agent_context(input_fn: &ItemFn) -> Result... FILE: swiftide-macros/src/tool/mod.rs function tool_attribute_impl (line 15) | pub(crate) fn tool_attribute_impl(input_args: &TokenStream, input: &Item... type ToolDerive (line 98) | struct ToolDerive { method update_defaults (line 107) | pub fn update_defaults(mut self) -> Result { function tool_derive_impl (line 114) | pub(crate) fn tool_derive_impl(input: &DeriveInput) -> syn::Result To... function test_snapshot_single_arg (line 195) | fn test_snapshot_single_arg() { function test_snapshot_single_arg_option (line 215) | fn test_snapshot_single_arg_option() { function test_snapshot_multiple_args (line 235) | fn test_snapshot_multiple_args() { function test_snapshot_derive (line 259) | fn test_snapshot_derive() { function test_snapshot_derive_with_args (line 273) | fn test_snapshot_derive_with_args() { function test_snapshot_derive_with_option (line 287) | fn test_snapshot_derive_with_option() { function test_snapshot_derive_with_lifetime (line 301) | fn test_snapshot_derive_with_lifetime() { function test_snapshot_derive_with_generics (line 315) | fn test_snapshot_derive_with_generics() { FILE: swiftide-macros/src/tool/tool_spec.rs function tool_spec (line 6) | pub fn tool_spec(args: &ToolArgs) -> TokenStream { FILE: swiftide-macros/src/tool/wrapped.rs function struct_name (line 5) | pub(crate) fn struct_name(input: &ItemFn) -> Ident { function wrap_tool_fn (line 24) | pub(crate) fn wrap_tool_fn(input: &ItemFn) -> TokenStream { function test_wrap_tool_fn (line 58) | fn test_wrap_tool_fn() { function test_wrap_multiple_args (line 87) | fn test_wrap_multiple_args() { FILE: swiftide-macros/tests/tool.rs function test_tool (line 3) | fn test_tool() { function test_tool_derive (line 15) | fn test_tool_derive() { FILE: swiftide-macros/tests/tool/tool_derive_missing_description.rs type MyToolNoArgs (line 6) | struct MyToolNoArgs { method my_tool_no_args (line 11) | async fn my_tool_no_args( function main (line 19) | fn main() {} FILE: swiftide-macros/tests/tool/tool_derive_pass.rs type MyTool (line 11) | struct MyTool { method my_tool (line 16) | async fn my_tool( type MyToolMultiParams (line 31) | struct MyToolMultiParams {} method my_tool_multi_params (line 34) | async fn my_tool_multi_params( type MyToolNoArgs (line 46) | struct MyToolNoArgs { method my_tool_no_args (line 51) | async fn my_tool_no_args( type MyToolLifetime (line 61) | struct MyToolLifetime<'a> { function my_tool_lifetime (line 66) | async fn my_tool_lifetime( constant DESCRIPTION (line 74) | const DESCRIPTION: &str = "Hello tool"; type MyToolConst (line 77) | struct MyToolConst<'a> { function my_tool_const (line 82) | async fn my_tool_const( type MyToolNumber (line 94) | struct MyToolNumber; method my_tool_number (line 97) | async fn my_tool_number( type MyToolNumber2 (line 110) | struct MyToolNumber2; method my_tool_number_2 (line 113) | async fn my_tool_number_2( type MyRenamedTool (line 128) | struct MyRenamedTool; method my_very_renamed_tool (line 131) | async fn my_very_renamed_tool( type MyOptionalTool (line 144) | struct MyOptionalTool; method my_optional_tool (line 147) | async fn my_optional_tool( type MyOptionalTool2 (line 160) | struct MyOptionalTool2; method my_optional_tool_2 (line 163) | async fn my_optional_tool_2( type MyGenericTool (line 176) | struct MyGenericTool { function my_generic_tool (line 181) | async fn my_generic_tool( function main (line 190) | fn main() {} FILE: swiftide-macros/tests/tool/tool_derive_vec_argument_pass.rs type CustomType (line 7) | struct CustomType { type VecTool (line 16) | struct VecTool; method vec_tool (line 19) | async fn vec_tool( type NestedVecTool (line 33) | struct NestedVecTool; method nested_vec_tool (line 36) | async fn nested_vec_tool( function main (line 45) | fn main() {} FILE: swiftide-macros/tests/tool/tool_missing_arg_fail.rs function basic_tool (line 9) | async fn basic_tool( constant READ_FILE (line 17) | const READ_FILE: &str = "Read a file"; function guess_a_number (line 23) | async fn guess_a_number( function main (line 35) | fn main() {} FILE: swiftide-macros/tests/tool/tool_missing_parameter_fail.rs function basic_tool (line 5) | async fn basic_tool(_agent_context: &dyn AgentContext, msg: &str) -> Res... function main (line 9) | fn main() {} FILE: swiftide-macros/tests/tool/tool_multiple_arguments_pass.rs function basic_tool (line 9) | async fn basic_tool( function main (line 17) | fn main() {} FILE: swiftide-macros/tests/tool/tool_no_argument_pass.rs function basic_tool (line 5) | async fn basic_tool(_agent_context: &dyn AgentContext) -> Result Res... function basic_tool_num (line 20) | async fn basic_tool_num( function basic_tool_num_no_type (line 31) | async fn basic_tool_num_no_type( function basic_tool_vec (line 46) | async fn basic_tool_vec( function basic_tool_bool (line 62) | async fn basic_tool_bool( function basic_tool_num_slice (line 77) | async fn basic_tool_num_slice( function basic_tool_num_optional (line 88) | async fn basic_tool_num_optional( function main (line 95) | fn main() {} FILE: swiftide-query/src/answers/simple.rs type Simple (line 28) | pub struct Simple { method builder (line 38) | pub fn builder() -> SimpleBuilder { method from_client (line 47) | pub fn from_client(client: impl SimplePrompt + 'static) -> Simple { method client (line 57) | pub fn client(&mut self, client: impl SimplePrompt + 'static) -> &mut Se... function default_prompt (line 63) | fn default_prompt() -> Prompt { method answer (line 85) | async fn answer(&self, query: Query) -> Result... method questions (line 76) | pub async fn questions(&self) -> Vec> { method record_answers_as_ground_truth (line 81) | pub async fn record_answers_as_ground_truth(&self) { method to_json (line 86) | pub async fn to_json(&self) -> String { type EvaluationData (line 56) | pub struct EvaluationData { type EvaluationDataSet (line 65) | pub struct EvaluationDataSet(HashMap); method record_answers_as_ground_truth (line 101) | pub(crate) fn record_answers_as_ground_truth(&mut self) { method upsert_evaluation (line 107) | pub(crate) fn upsert_evaluation(&mut self, query: &QueryEvaluation) ->... method upsert_retrieved_documents (line 115) | fn upsert_retrieved_documents(&mut self, query: &Query) -> Result... method to_json (line 162) | pub(crate) fn to_json(&self) -> String { method from (line 170) | fn from(val: Vec) -> Self { method from (line 188) | fn from(val: &[String]) -> Self { method from (line 207) | fn from(val: Vec<(String, String)>) -> Self { method evaluate (line 94) | async fn evaluate(&self, query: QueryEvaluation) -> Result<()> { type Err (line 227) | type Err = serde_json::Error; method from_str (line 229) | fn from_str(val: &str) -> std::prelude::v1::Result { function test_ragas_from_prepared_questions (line 247) | async fn test_ragas_from_prepared_questions() { function test_ragas_record_answers_as_ground_truth (line 260) | async fn test_ragas_record_answers_as_ground_truth() { function test_ragas_to_json (line 283) | async fn test_ragas_to_json() { function test_evaluate_query_upsert_retrieved_documents (line 298) | async fn test_evaluate_query_upsert_retrieved_documents() { function test_evaluate_query_upsert_answer (line 319) | async fn test_evaluate_query_upsert_answer() { function test_evaluation_dataset_record_answers_as_ground_truth (line 340) | async fn test_evaluation_dataset_record_answers_as_ground_truth() { function test_evaluation_dataset_to_json (line 352) | async fn test_evaluation_dataset_to_json() { function test_evaluation_dataset_upsert_retrieved_documents (line 364) | async fn test_evaluation_dataset_upsert_retrieved_documents() { function test_evaluation_dataset_upsert_answer (line 381) | async fn test_evaluation_dataset_upsert_answer() { FILE: swiftide-query/src/query/pipeline.rs type Pipeline (line 29) | pub struct Pipeline< method default (line 44) | fn default() -> Self { function from_search_strategy (line 66) | pub fn from_search_strategy(strategy: STRATEGY) -> Pipeline<'a, STRATEGY> { function evaluate_with (line 88) | pub fn evaluate_with(mut self, evaluator: T)... function then_transform_query (line 96) | pub fn then_transform_query( function then_retrieve (line 148) | pub fn then_retrieve + 'strea... function then_transform_response (line 212) | pub fn then_transform_response( function then_answer (line 260) | pub fn then_answer( function query (line 316) | pub async fn query( function query_mut (line 348) | pub async fn query_mut( function query_all (line 386) | pub async fn query_all( function test_closures_in_each_step (line 433) | async fn test_closures_in_each_step() { function test_all_steps_should_accept_dyn_box (line 449) | async fn test_all_steps_should_accept_dyn_box() { function test_reuse_with_query_mut (line 477) | async fn test_reuse_with_query_mut() { FILE: swiftide-query/src/query_transformers/embed.rs type Embed (line 10) | pub struct Embed { method from_client (line 15) | pub fn from_client(client: impl EmbeddingModel + 'static) -> Embed { method transform_query (line 25) | async fn transform_query( FILE: swiftide-query/src/query_transformers/generate_subquestions.rs type GenerateSubquestions (line 13) | pub struct GenerateSubquestions { method builder (line 23) | pub fn builder() -> GenerateSubquestionsBuilder { method from_client (line 32) | pub fn from_client(client: impl SimplePrompt + 'static) -> GenerateSub... method client (line 42) | pub fn client(&mut self, client: impl SimplePrompt + 'static) -> &mut Se... function default_prompt (line 48) | fn default_prompt() -> Prompt { method transform_query (line 75) | async fn transform_query( FILE: swiftide-query/src/query_transformers/sparse_embed.rs type SparseEmbed (line 11) | pub struct SparseEmbed { method from_client (line 16) | pub fn from_client(client: impl SparseEmbeddingModel + 'static) -> Spa... method transform_query (line 26) | async fn transform_query( FILE: swiftide-query/src/response_transformers/summary.rs type Summary (line 11) | pub struct Summary { method builder (line 19) | pub fn builder() -> SummaryBuilder { method from_client (line 31) | pub fn from_client(client: impl SimplePrompt + 'static) -> Summary { method client (line 41) | pub fn client(&mut self, client: impl SimplePrompt + 'static) -> &mut Se... function default_prompt (line 47) | fn default_prompt() -> Prompt { method transform_response (line 74) | async fn transform_response( FILE: swiftide-test-utils/src/test_utils.rs function openai_client (line 15) | pub fn openai_client( function start_qdrant (line 37) | pub async fn start_qdrant() -> (ContainerAsync, String) { function start_redis (line 58) | pub async fn start_redis() -> (ContainerAsync, String) { function start_postgres (line 77) | pub async fn start_postgres() -> (ContainerAsync, String) { function mock_embeddings (line 99) | pub async fn mock_embeddings(mock_server: &MockServer, embeddings_count:... function mock_chat_completions (line 125) | pub async fn mock_chat_completions(mock_server: &MockServer) { FILE: swiftide/build.rs function main (line 3) | fn main() { FILE: swiftide/tests/dyn_traits.rs function test_name_on_dyn (line 19) | async fn test_name_on_dyn() { FILE: swiftide/tests/indexing_pipeline.rs function test_indexing_pipeline (line 35) | async fn test_indexing_pipeline() { function test_named_vectors (line 167) | async fn test_named_vectors() { FILE: swiftide/tests/lancedb.rs function test_lancedb (line 27) | async fn test_lancedb() { function test_lancedb_retrieve_dynamic_search (line 104) | async fn test_lancedb_retrieve_dynamic_search() { FILE: swiftide/tests/pgvector.rs type VectorSearchResult (line 36) | struct VectorSearchResult { function test_pgvector_indexing (line 52) | async fn test_pgvector_indexing() { function test_pgvector_retrieve (line 143) | async fn test_pgvector_retrieve() { function test_pgvector_retrieve_dynamic_search (line 271) | async fn test_pgvector_retrieve_dynamic_search() { FILE: swiftide/tests/query_pipeline.rs function test_query_pipeline (line 18) | async fn test_query_pipeline() { function test_hybrid_search_qdrant (line 72) | async fn test_hybrid_search_qdrant() { FILE: swiftide/tests/sparse_embeddings_and_hybrid_search.rs function test_sparse_indexing_pipeline (line 33) | async fn test_sparse_indexing_pipeline() {