Packages

Strictly typed Ada gRPC SDK for Elixir

Current section

Files

Jump to
ada_sdk lib ada v1 query.pb.ex
Raw

lib/ada/v1/query.pb.ex

defmodule Ada.V1.Source do
@moduledoc false
use Protobuf, full_name: "ada.v1.Source", protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field(:document_id, 1, type: :string, json_name: "documentId")
field(:document_title, 2, type: :string, json_name: "documentTitle")
field(:chunk_id, 3, type: :string, json_name: "chunkId")
end
defmodule Ada.V1.ActorConnection do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ActorConnection",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:actor_id, 1, type: :string, json_name: "actorId")
field(:predicate, 2, type: :string)
field(:weight, 3, type: :double)
end
defmodule Ada.V1.Actor do
@moduledoc false
use Protobuf, full_name: "ada.v1.Actor", protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field(:id, 1, type: :string)
field(:name, 2, type: :string)
field(:type, 3, type: :string)
field(:description, 4, type: :string)
field(:aliases, 5, repeated: true, type: :string)
field(:connections, 6, repeated: true, type: Ada.V1.ActorConnection)
field(:relevance, 7, type: :double)
end
defmodule Ada.V1.KnowledgeItem do
@moduledoc false
use Protobuf,
full_name: "ada.v1.KnowledgeItem",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:kind, 2, type: :string)
field(:relevance, 3, type: :double)
field(:confidence, 4, type: :double)
field(:summary, 5, type: :string)
field(:source, 6, type: Ada.V1.Source)
field(:data, 7, type: Google.Protobuf.Struct)
end
defmodule Ada.V1.TensionSide do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TensionSide",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:summary, 1, type: :string)
field(:confidence, 2, type: :double)
field(:source, 3, type: Ada.V1.Source)
end
defmodule Ada.V1.Tension do
@moduledoc false
use Protobuf, full_name: "ada.v1.Tension", protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field(:id, 1, type: :string)
field(:summary, 2, type: :string)
field(:side_a, 3, type: Ada.V1.TensionSide, json_name: "sideA")
field(:side_b, 4, type: Ada.V1.TensionSide, json_name: "sideB")
field(:status, 5, type: :string)
end
defmodule Ada.V1.Insights do
@moduledoc false
use Protobuf, full_name: "ada.v1.Insights", protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field(:patterns, 1, repeated: true, type: Ada.V1.BehaviorPattern)
field(:interactions, 2, repeated: true, type: Ada.V1.Interaction)
end
defmodule Ada.V1.Metadata do
@moduledoc false
use Protobuf, full_name: "ada.v1.Metadata", protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field(:total_items, 1, type: :int32, json_name: "totalItems")
field(:search_duration_ms, 2, type: :int64, json_name: "searchDurationMs")
field(:degraded, 3, type: :bool)
field(:degradation_reasons, 4, repeated: true, type: :string, json_name: "degradationReasons")
field(:cache_hit, 5, type: :bool, json_name: "cacheHit")
end
defmodule Ada.V1.ContradictionsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ContradictionsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:entity_id, 1, type: :string, json_name: "entityId")
field(:query, 2, type: :string)
field(:limit, 3, type: :int32)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ContradictionPair do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ContradictionPair",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:claim_a, 2, type: :string, json_name: "claimA")
field(:claim_b, 3, type: :string, json_name: "claimB")
field(:classification, 4, type: :string)
field(:rationale, 5, type: :string)
field(:data, 6, type: Google.Protobuf.Struct)
end
defmodule Ada.V1.ContradictionsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ContradictionsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:query, 1, type: :string)
field(:subject, 2, type: Ada.V1.Actor)
field(:pairs, 3, repeated: true, type: Ada.V1.ContradictionPair)
field(:tensions, 4, repeated: true, type: Ada.V1.Tension)
field(:evidence, 5, repeated: true, type: Ada.V1.KnowledgeItem)
field(:actors, 6, repeated: true, type: Ada.V1.Actor)
field(:communities, 7, repeated: true, type: Ada.V1.Community)
field(:summaries, 8, repeated: true, type: Ada.V1.Summary)
field(:metadata, 9, type: Ada.V1.Metadata)
end
defmodule Ada.V1.EntityDossierRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.EntityDossierRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:entity_id, 1, type: :string, json_name: "entityId")
field(:as_of, 2, type: Google.Protobuf.Timestamp, json_name: "asOf")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.EntityDossierResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.EntityDossierResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:subject, 1, type: Ada.V1.Actor)
field(:name, 2, type: :string)
field(:aliases, 3, repeated: true, type: :string)
field(:properties, 4, type: Google.Protobuf.Struct)
field(:knowledge, 5, repeated: true, type: Ada.V1.KnowledgeItem)
field(:atoms, 6, repeated: true, type: Ada.V1.KnowledgeItem)
field(:relations, 7, repeated: true, type: Ada.V1.KnowledgeItem)
field(:trackings, 8, repeated: true, type: Ada.V1.KnowledgeItem)
field(:actors, 9, repeated: true, type: Ada.V1.Actor)
field(:tensions, 10, repeated: true, type: Ada.V1.Tension)
field(:insights, 11, type: Ada.V1.Insights)
field(:communities, 12, repeated: true, type: Ada.V1.Community)
field(:summaries, 13, repeated: true, type: Ada.V1.Summary)
field(:metadata, 14, type: Ada.V1.Metadata)
end
defmodule Ada.V1.RecallRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RecallRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:query, 1, type: :string)
field(:top_k, 2, type: :int32, json_name: "topK")
field(:focus, 3, repeated: true, type: :string)
field(:status_filter, 4, repeated: true, type: :string, json_name: "statusFilter")
field(:as_of, 5, type: Google.Protobuf.Timestamp, json_name: "asOf")
field(:dedup, 6, proto3_optional: true, type: :bool)
field(:enable_ppr, 7, type: :bool, json_name: "enablePpr")
field(:enable_hybrid, 8, proto3_optional: true, type: :bool, json_name: "enableHybrid")
field(:enable_reranking, 9, type: :bool, json_name: "enableReranking")
field(:token_budget, 10, type: :int32, json_name: "tokenBudget")
field(:diversity, 11, type: :double)
field(:denoise, 12, proto3_optional: true, type: :bool)
field(:graph_hops, 13, type: :int32, json_name: "graphHops")
field(:known_at, 14, type: Google.Protobuf.Timestamp, json_name: "knownAt")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.RecallResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RecallResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:query, 1, type: :string)
field(:knowledge, 2, repeated: true, type: Ada.V1.KnowledgeItem)
field(:actors, 3, repeated: true, type: Ada.V1.Actor)
field(:tensions, 4, repeated: true, type: Ada.V1.Tension)
field(:insights, 5, type: Ada.V1.Insights)
field(:communities, 6, repeated: true, type: Ada.V1.Community)
field(:summaries, 7, repeated: true, type: Ada.V1.Summary)
field(:metadata, 8, type: Ada.V1.Metadata)
end
defmodule Ada.V1.TimelineRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TimelineRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:since, 1, type: Google.Protobuf.Timestamp)
field(:until, 2, type: Google.Protobuf.Timestamp)
field(:entity_id, 3, type: :string, json_name: "entityId")
field(:limit, 4, type: :int32)
field(:types, 5, repeated: true, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.TimelineEntry do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TimelineEntry",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:timestamp, 1, type: Google.Protobuf.Timestamp)
field(:type, 2, type: :string)
field(:id, 3, type: :string)
field(:content, 4, type: :string)
field(:data, 5, type: Google.Protobuf.Struct)
end
defmodule Ada.V1.TimelineResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TimelineResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:since, 1, type: Google.Protobuf.Timestamp)
field(:until, 2, type: Google.Protobuf.Timestamp)
field(:subject, 3, type: Ada.V1.Actor)
field(:entries, 4, repeated: true, type: Ada.V1.TimelineEntry)
field(:actors, 5, repeated: true, type: Ada.V1.Actor)
field(:tensions, 6, repeated: true, type: Ada.V1.Tension)
field(:communities, 7, repeated: true, type: Ada.V1.Community)
field(:summaries, 8, repeated: true, type: Ada.V1.Summary)
field(:metadata, 9, type: Ada.V1.Metadata)
end
defmodule Ada.V1.CommunityDossierRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.CommunityDossierRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:community_id, 1, type: :string, json_name: "communityId")
field(:top_k, 2, type: :int32, json_name: "topK")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.CommunityDossierResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.CommunityDossierResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:community, 1, type: Ada.V1.Community)
field(:members, 2, repeated: true, type: Ada.V1.Actor)
field(:evidence, 3, repeated: true, type: Ada.V1.KnowledgeItem)
field(:tensions, 4, repeated: true, type: Ada.V1.Tension)
field(:summaries, 5, repeated: true, type: Ada.V1.Summary)
field(:metadata, 6, type: Ada.V1.Metadata)
end
defmodule Ada.V1.ChangeRecallRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ChangeRecallRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:since, 1, type: Google.Protobuf.Timestamp)
field(:until, 2, type: Google.Protobuf.Timestamp)
field(:top_k, 3, type: :int32, json_name: "topK")
field(:focus, 4, repeated: true, type: :string)
field(:status_filter, 5, repeated: true, type: :string, json_name: "statusFilter")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ChangeRecallResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ChangeRecallResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:since, 1, type: Google.Protobuf.Timestamp)
field(:until, 2, type: Google.Protobuf.Timestamp)
field(:changes, 3, repeated: true, type: Ada.V1.KnowledgeItem)
field(:actors, 4, repeated: true, type: Ada.V1.Actor)
field(:tensions, 5, repeated: true, type: Ada.V1.Tension)
field(:communities, 6, repeated: true, type: Ada.V1.Community)
field(:summaries, 7, repeated: true, type: Ada.V1.Summary)
field(:metadata, 8, type: Ada.V1.Metadata)
end
defmodule Ada.V1.RelationshipDossierRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RelationshipDossierRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:left_entity_id, 1, type: :string, json_name: "leftEntityId")
field(:right_entity_id, 2, type: :string, json_name: "rightEntityId")
field(:as_of, 3, type: Google.Protobuf.Timestamp, json_name: "asOf")
field(:top_k, 4, type: :int32, json_name: "topK")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.RelationshipDossierResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RelationshipDossierResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:left, 1, type: Ada.V1.Actor)
field(:right, 2, type: Ada.V1.Actor)
field(:connections, 3, repeated: true, type: Ada.V1.KnowledgeItem)
field(:shared, 4, repeated: true, type: Ada.V1.KnowledgeItem)
field(:tensions, 5, repeated: true, type: Ada.V1.Tension)
field(:communities, 6, repeated: true, type: Ada.V1.Community)
field(:summaries, 7, repeated: true, type: Ada.V1.Summary)
field(:metadata, 8, type: Ada.V1.Metadata)
end
defmodule Ada.V1.RecallService.Service do
@moduledoc false
use GRPC.Service, name: "ada.v1.RecallService", protoc_gen_elixir_version: "0.17.0"
rpc(:Recall, Ada.V1.RecallRequest, Ada.V1.RecallResponse)
rpc(:EntityDossier, Ada.V1.EntityDossierRequest, Ada.V1.EntityDossierResponse)
rpc(:Timeline, Ada.V1.TimelineRequest, Ada.V1.TimelineResponse)
rpc(:Contradictions, Ada.V1.ContradictionsRequest, Ada.V1.ContradictionsResponse)
rpc(:CommunityDossier, Ada.V1.CommunityDossierRequest, Ada.V1.CommunityDossierResponse)
rpc(:ChangeRecall, Ada.V1.ChangeRecallRequest, Ada.V1.ChangeRecallResponse)
rpc(:RelationshipDossier, Ada.V1.RelationshipDossierRequest, Ada.V1.RelationshipDossierResponse)
end
defmodule Ada.V1.RecallService.Stub do
@moduledoc false
use GRPC.Stub, service: Ada.V1.RecallService.Service
end