View Source SwarmEx.Tools.Retrieval (SwarmEx v0.1.0)

A tool for retrieving and searching through documents and other content. Supports various data sources and search strategies.

Summary

Types

@type query() :: %{
  query: String.t(),
  data_source: atom(),
  limit: integer(),
  filters: map()
}
@type retrieval_result() :: %{
  content: String.t(),
  source: String.t(),
  relevance_score: float(),
  metadata: map()
}