ArchAstro. Types. Extraction
(archastro v0.2.0)
Copy Markdown
An extraction job: yields text from a document or website into a destination namespace, without committing knowledge to an agent.
Summary
Types
@type t() :: %ArchAstro.Types.Extraction{ agent: String.t() | ArchAstro.Unset.t(), byte_count: integer() | ArchAstro.Unset.t(), created_at: DateTime.t() | ArchAstro.Unset.t(), destination: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(), failure_reason: String.t() | ArchAstro.Unset.t(), file: String.t() | ArchAstro.Unset.t(), id: String.t(), kind: String.t() | ArchAstro.Unset.t(), org: String.t() | ArchAstro.Unset.t(), output_count: integer() | ArchAstro.Unset.t(), outputs: [ArchAstro.Types.ExtractionOutput.t()] | ArchAstro.Unset.t(), state: String.t() | ArchAstro.Unset.t(), updated_at: DateTime.t() | ArchAstro.Unset.t(), url: String.t() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()