ArchAstro.SDK.Types.KnowledgeSource (archastro v0.3.2)

Copy Markdown

A knowledge source that ingests content into the knowledge base. Sources connect to external systems (e.g. Gmail, GitHub) and continuously or on-demand index items for search.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.KnowledgeSource{
  agent: String.t() | ArchAstro.SDK.Unset.t(),
  context_installation: String.t() | ArchAstro.SDK.Unset.t(),
  created_at: DateTime.t() | ArchAstro.SDK.Unset.t(),
  id: String.t(),
  metadata:
    %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(),
  org: String.t() | ArchAstro.SDK.Unset.t(),
  parent_source: String.t() | ArchAstro.SDK.Unset.t(),
  payload:
    %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(),
  sandbox: String.t() | ArchAstro.SDK.Unset.t(),
  state: String.t(),
  team: String.t() | ArchAstro.SDK.Unset.t(),
  thread: String.t() | ArchAstro.SDK.Unset.t(),
  type: String.t(),
  updated_at: DateTime.t() | ArchAstro.SDK.Unset.t(),
  user: String.t() | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()