Packages

Strictly typed Ada gRPC SDK for Elixir

Current section

Files

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

lib/ada/v1/data.pb.ex

defmodule Ada.V1.PaginationRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.PaginationRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:limit, 1, type: :int32)
field(:offset, 2, type: :int32)
field(:search, 3, type: :string)
end
defmodule Ada.V1.PaginationMeta do
@moduledoc false
use Protobuf,
full_name: "ada.v1.PaginationMeta",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:total, 1, type: :int32)
field(:has_more, 2, type: :bool, json_name: "hasMore")
field(:limit, 3, type: :int32)
field(:offset, 4, type: :int32)
end
defmodule Ada.V1.ApiKeyRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ApiKeyRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:namespace, 2, type: :string)
field(:name, 3, type: :string)
field(:created_at, 4, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:last_used_at, 5, type: Google.Protobuf.Timestamp, json_name: "lastUsedAt")
field(:revoked_at, 6, type: Google.Protobuf.Timestamp, json_name: "revokedAt")
end
defmodule Ada.V1.CreateApiKeyRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.CreateApiKeyRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:namespace, 1, type: :string)
field(:name, 2, type: :string)
end
defmodule Ada.V1.CreateApiKeyResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.CreateApiKeyResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:key, 1, type: Ada.V1.ApiKeyRecord)
field(:token, 2, type: :string)
end
defmodule Ada.V1.ListApiKeysRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListApiKeysRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
end
defmodule Ada.V1.ListApiKeysResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListApiKeysResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:keys, 1, repeated: true, type: Ada.V1.ApiKeyRecord)
end
defmodule Ada.V1.RevokeApiKeyRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RevokeApiKeyRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:api_key_id, 1, type: :string, json_name: "apiKeyId")
end
defmodule Ada.V1.RevokeApiKeyResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RevokeApiKeyResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:key, 1, type: Ada.V1.ApiKeyRecord)
end
defmodule Ada.V1.ListEntitiesRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListEntitiesRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:entity_type, 2, type: :string, json_name: "entityType")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.EntityRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.EntityRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:name, 2, type: :string)
field(:entity_type, 3, type: :string, json_name: "entityType")
field(:aliases, 4, repeated: true, type: :string)
field(:description, 5, type: :string)
field(:confidence, 6, type: :double)
field(:rank, 7, type: :double)
field(:community_id, 8, type: :string, json_name: "communityId")
field(:properties, 9, type: Google.Protobuf.Struct)
field(:created_at, 10, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 11, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
field(:access_count, 12, type: :int32, json_name: "accessCount")
field(:last_accessed, 13, type: Google.Protobuf.Timestamp, json_name: "lastAccessed")
end
defmodule Ada.V1.ListEntitiesResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListEntitiesResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:entities, 1, repeated: true, type: Ada.V1.EntityRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListAtomsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListAtomsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:predicate, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.AtomRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.AtomRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:subject, 2, type: :string)
field(:predicate, 3, type: :string)
field(:object, 4, type: :string)
field(:confidence, 5, type: :double)
field(:claim_status, 6, type: :string, json_name: "claimStatus")
field(:claim_type, 7, type: :string, json_name: "claimType")
field(:cardinality, 8, type: :string)
field(:t_valid, 9, type: Google.Protobuf.Timestamp, json_name: "tValid")
field(:t_invalid, 10, type: Google.Protobuf.Timestamp, json_name: "tInvalid")
field(:source_chunks, 11, repeated: true, type: :string, json_name: "sourceChunks")
field(:created_at, 12, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 13, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListAtomsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListAtomsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:atoms, 1, repeated: true, type: Ada.V1.AtomRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListRelationsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListRelationsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:predicate, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.RelationRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RelationRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:source_id, 2, type: :string, json_name: "sourceId")
field(:target_id, 3, type: :string, json_name: "targetId")
field(:predicate, 4, type: :string)
field(:weight, 5, type: :double)
field(:rank, 6, type: :double)
field(:cardinality, 7, type: :string)
field(:descriptions, 8, repeated: true, type: :string)
field(:keywords, 9, repeated: true, type: :string)
field(:t_valid, 10, type: Google.Protobuf.Timestamp, json_name: "tValid")
field(:t_invalid, 11, type: Google.Protobuf.Timestamp, json_name: "tInvalid")
field(:created_at, 12, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 13, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListRelationsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListRelationsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:relations, 1, repeated: true, type: Ada.V1.RelationRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListCommitmentsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListCommitmentsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.CommitmentRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.CommitmentRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:maker_id, 2, type: :string, json_name: "makerId")
field(:receiver_id, 3, type: :string, json_name: "receiverId")
field(:description, 4, type: :string)
field(:status, 5, type: :string)
field(:due_date, 6, type: Google.Protobuf.Timestamp, json_name: "dueDate")
field(:confidence, 7, type: :double)
field(:created_at, 8, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 9, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListCommitmentsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListCommitmentsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:commitments, 1, repeated: true, type: Ada.V1.CommitmentRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListDecisionsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListDecisionsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.DecisionRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.DecisionRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:decider_id, 2, type: :string, json_name: "deciderId")
field(:description, 3, type: :string)
field(:rationale, 4, type: :string)
field(:status, 5, type: :string)
field(:alternatives, 6, repeated: true, type: :string)
field(:dissent, 7, repeated: true, type: :string)
field(:decided_at, 8, type: Google.Protobuf.Timestamp, json_name: "decidedAt")
field(:confidence, 9, type: :double)
field(:created_at, 10, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 11, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListDecisionsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListDecisionsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:decisions, 1, repeated: true, type: Ada.V1.DecisionRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListActionItemsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListActionItemsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ActionItemRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ActionItemRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:owner_id, 2, type: :string, json_name: "ownerId")
field(:title, 3, type: :string)
field(:description, 4, type: :string)
field(:status, 5, type: :string)
field(:priority, 6, type: :int32)
field(:due_date, 7, type: Google.Protobuf.Timestamp, json_name: "dueDate")
field(:blocked_by, 8, repeated: true, type: :string, json_name: "blockedBy")
field(:confidence, 9, type: :double)
field(:created_at, 10, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 11, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListActionItemsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListActionItemsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:action_items, 1, repeated: true, type: Ada.V1.ActionItemRecord, json_name: "actionItems")
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListContradictionsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListContradictionsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ContradictionRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ContradictionRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:subject, 2, type: :string)
field(:predicate, 3, type: :string)
field(:winner_id, 4, type: :string, json_name: "winnerId")
field(:loser_id, 5, type: :string, json_name: "loserId")
field(:winner_value, 6, type: :string, json_name: "winnerValue")
field(:loser_value, 7, type: :string, json_name: "loserValue")
field(:status, 8, type: :string)
field(:classification, 9, type: :string)
field(:rationale, 10, type: :string)
field(:confidence, 11, type: :double)
field(:resolved_at, 12, type: Google.Protobuf.Timestamp, json_name: "resolvedAt")
field(:created_at, 13, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 14, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListContradictionsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListContradictionsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:contradictions, 1, repeated: true, type: Ada.V1.ContradictionRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListObservationsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListObservationsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ObservationRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ObservationRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:observer_id, 2, type: :string, json_name: "observerId")
field(:observed_id, 3, type: :string, json_name: "observedId")
field(:type, 4, type: :string)
field(:description, 5, type: :string)
field(:sentiment, 6, type: :double)
field(:confidence, 7, type: :double)
field(:observed_at, 8, type: Google.Protobuf.Timestamp, json_name: "observedAt")
field(:created_at, 9, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 10, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListObservationsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListObservationsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:observations, 1, repeated: true, type: Ada.V1.ObservationRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListDocumentsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListDocumentsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.DocumentRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.DocumentRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:source_id, 2, type: :string, json_name: "sourceId")
field(:name, 3, type: :string)
field(:mime_type, 4, type: :string, json_name: "mimeType")
field(:size_bytes, 5, type: :int64, json_name: "sizeBytes")
field(:status, 6, type: :string)
field(:chunk_count, 7, type: :int32, json_name: "chunkCount")
field(:created_at, 8, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 9, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
end
defmodule Ada.V1.ListDocumentsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListDocumentsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:documents, 1, repeated: true, type: Ada.V1.DocumentRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListCommunitiesRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListCommunitiesRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:resolution, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListCommunitiesResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListCommunitiesResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:communities, 1, repeated: true, type: Ada.V1.Community)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListEventsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListEventsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListEventsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListEventsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:events, 1, repeated: true, type: Ada.V1.Event)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListMeetingsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListMeetingsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListMeetingsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListMeetingsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:meetings, 1, repeated: true, type: Ada.V1.Meeting)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListIntentionsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListIntentionsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListIntentionsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListIntentionsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:intentions, 1, repeated: true, type: Ada.V1.Intention)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListPrioritiesRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListPrioritiesRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListPrioritiesResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListPrioritiesResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:priorities, 1, repeated: true, type: Ada.V1.Priority)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.ListIngestJobsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListIngestJobsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:document_id, 3, type: :string, json_name: "documentId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListIngestJobsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListIngestJobsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:jobs, 1, repeated: true, type: Ada.V1.JobStatus)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.UsageReport do
@moduledoc false
use Protobuf,
full_name: "ada.v1.UsageReport",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:job_id, 1, type: :string, json_name: "jobId")
field(:document_id, 2, type: :string, json_name: "documentId")
field(:source_id, 3, type: :string, json_name: "sourceId")
field(:source_type, 4, type: :string, json_name: "sourceType")
field(:status, 5, type: :string)
field(:content_type, 6, type: :string, json_name: "contentType")
field(:extraction_model, 7, type: :string, json_name: "extractionModel")
field(:distill_model, 8, type: :string, json_name: "distillModel")
field(:llm_call_count, 9, type: :int64, json_name: "llmCallCount")
field(:llm_input_tokens, 10, type: :int64, json_name: "llmInputTokens")
field(:llm_output_tokens, 11, type: :int64, json_name: "llmOutputTokens")
field(:llm_total_tokens, 12, type: :int64, json_name: "llmTotalTokens")
field(:available_tokens, 13, type: :int64, json_name: "availableTokens")
field(:has_accounting, 14, type: :bool, json_name: "hasAccounting")
field(:accounting_status, 15, type: :string, json_name: "accountingStatus")
field(:document_size_bytes, 16, type: :int64, json_name: "documentSizeBytes")
field(:chunk_count, 17, type: :int64, json_name: "chunkCount")
field(:postgres_bytes, 18, type: :int64, json_name: "postgresBytes")
field(:postgres_row_count, 19, type: :int64, json_name: "postgresRowCount")
field(:qdrant_estimated_bytes, 20, type: :int64, json_name: "qdrantEstimatedBytes")
field(:qdrant_point_count, 21, type: :int64, json_name: "qdrantPointCount")
field(:qdrant_vector_dimensions, 22, type: :int32, json_name: "qdrantVectorDimensions")
field(:neo4j_estimated_bytes, 23, type: :int64, json_name: "neo4jEstimatedBytes")
field(:neo4j_statement_count, 24, type: :int64, json_name: "neo4jStatementCount")
field(:object_store_bytes, 25, type: :int64, json_name: "objectStoreBytes")
field(:total_estimated_bytes, 26, type: :int64, json_name: "totalEstimatedBytes")
field(:created_at, 27, type: Google.Protobuf.Timestamp, json_name: "createdAt")
field(:updated_at, 28, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
field(:started_at, 29, type: Google.Protobuf.Timestamp, json_name: "startedAt")
field(:completed_at, 30, type: Google.Protobuf.Timestamp, json_name: "completedAt")
field(:computed_at, 31, type: Google.Protobuf.Timestamp, json_name: "computedAt")
end
defmodule Ada.V1.UsageTotals do
@moduledoc false
use Protobuf,
full_name: "ada.v1.UsageTotals",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:job_count, 1, type: :int64, json_name: "jobCount")
field(:llm_call_count, 2, type: :int64, json_name: "llmCallCount")
field(:llm_input_tokens, 3, type: :int64, json_name: "llmInputTokens")
field(:llm_output_tokens, 4, type: :int64, json_name: "llmOutputTokens")
field(:llm_total_tokens, 5, type: :int64, json_name: "llmTotalTokens")
field(:document_size_bytes, 6, type: :int64, json_name: "documentSizeBytes")
field(:chunk_count, 7, type: :int64, json_name: "chunkCount")
field(:postgres_bytes, 8, type: :int64, json_name: "postgresBytes")
field(:postgres_row_count, 9, type: :int64, json_name: "postgresRowCount")
field(:qdrant_estimated_bytes, 10, type: :int64, json_name: "qdrantEstimatedBytes")
field(:qdrant_point_count, 11, type: :int64, json_name: "qdrantPointCount")
field(:neo4j_estimated_bytes, 12, type: :int64, json_name: "neo4jEstimatedBytes")
field(:neo4j_statement_count, 13, type: :int64, json_name: "neo4jStatementCount")
field(:object_store_bytes, 14, type: :int64, json_name: "objectStoreBytes")
field(:total_estimated_bytes, 15, type: :int64, json_name: "totalEstimatedBytes")
end
defmodule Ada.V1.GetUsageReportRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetUsageReportRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:job_id, 1, type: :string, json_name: "jobId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.GetUsageReportResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetUsageReportResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:found, 1, type: :bool)
field(:report, 2, type: Ada.V1.UsageReport)
end
defmodule Ada.V1.ListUsageReportsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListUsageReportsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:status, 2, type: :string)
field(:document_id, 3, type: :string, json_name: "documentId")
field(:source_id, 4, type: :string, json_name: "sourceId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListUsageReportsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListUsageReportsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:reports, 1, repeated: true, type: Ada.V1.UsageReport)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
field(:totals, 3, type: Ada.V1.UsageTotals)
end
defmodule Ada.V1.UsageEvent do
@moduledoc false
use Protobuf,
full_name: "ada.v1.UsageEvent",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:usage_event_id, 1, type: :string, json_name: "usageEventId")
field(:provider, 2, type: :string)
field(:operation, 3, type: :string)
field(:job_id, 4, type: :string, json_name: "jobId")
field(:organization_id, 5, type: :string, json_name: "organizationId")
field(:project_id, 6, type: :string, json_name: "projectId")
field(:principal_id, 7, type: :string, json_name: "principalId")
field(:invocation_id, 8, type: :string, json_name: "invocationId")
field(:run_id, 9, type: :string, json_name: "runId")
field(:tool_invocation_id, 10, type: :string, json_name: "toolInvocationId")
field(:tool_attempt_id, 11, type: :string, json_name: "toolAttemptId")
field(:application_name, 12, type: :string, json_name: "applicationName")
field(:resource_name, 13, type: :string, json_name: "resourceName")
field(:tool_name, 14, type: :string, json_name: "toolName")
field(:status, 15, type: :string)
field(:input_tokens, 16, type: :int64, json_name: "inputTokens")
field(:output_tokens, 17, type: :int64, json_name: "outputTokens")
field(:embedding_tokens, 18, type: :int64, json_name: "embeddingTokens")
field(:storage_bytes_delta, 19, type: :int64, json_name: "storageBytesDelta")
field(:document_id, 20, type: :string, json_name: "documentId")
field(:source_id, 21, type: :string, json_name: "sourceId")
field(:accounting_context, 22, type: Google.Protobuf.Struct, json_name: "accountingContext")
field(:details, 23, type: Google.Protobuf.Struct)
field(:occurred_at, 24, type: Google.Protobuf.Timestamp, json_name: "occurredAt")
field(:finalized_at, 25, type: Google.Protobuf.Timestamp, json_name: "finalizedAt")
field(:created_at, 26, type: Google.Protobuf.Timestamp, json_name: "createdAt")
end
defmodule Ada.V1.GetUsageEventRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetUsageEventRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:usage_event_id, 1, type: :string, json_name: "usageEventId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.GetUsageEventResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetUsageEventResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:found, 1, type: :bool)
field(:event, 2, type: Ada.V1.UsageEvent)
end
defmodule Ada.V1.ListUsageEventsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListUsageEventsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:cursor, 1, type: :string)
field(:limit, 2, type: :int32)
field(:organization_id, 3, type: :string, json_name: "organizationId")
field(:project_id, 4, type: :string, json_name: "projectId")
field(:invocation_id, 5, type: :string, json_name: "invocationId")
field(:run_id, 6, type: :string, json_name: "runId")
field(:job_id, 7, type: :string, json_name: "jobId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ListUsageEventsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListUsageEventsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:events, 1, repeated: true, type: Ada.V1.UsageEvent)
field(:next_cursor, 2, type: :string, json_name: "nextCursor")
field(:has_more, 3, type: :bool, json_name: "hasMore")
end
defmodule Ada.V1.ListRecallRunsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListRecallRunsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:pagination, 1, type: Ada.V1.PaginationRequest)
field(:channel, 2, type: :string)
field(:entity_id, 3, type: :string, json_name: "entityId")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.RecallRunRecord do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RecallRunRecord",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:channel, 2, type: :string)
field(:query, 3, type: :string)
field(:subject_entity_id, 4, type: :string, json_name: "subjectEntityId")
field(:covered_entity_ids, 5, repeated: true, type: :string, json_name: "coveredEntityIds")
field(:request_payload, 6, type: Google.Protobuf.Struct, json_name: "requestPayload")
field(:response_payload, 7, type: Google.Protobuf.Struct, json_name: "responsePayload")
field(:request_size_bytes, 8, type: :int32, json_name: "requestSizeBytes")
field(:response_size_bytes, 9, type: :int32, json_name: "responseSizeBytes")
field(:request_token_count, 10, type: :int32, json_name: "requestTokenCount")
field(:response_token_count, 11, type: :int32, json_name: "responseTokenCount")
field(:items_count, 12, type: :int32, json_name: "itemsCount")
field(:actors_count, 13, type: :int32, json_name: "actorsCount")
field(:tensions_count, 14, type: :int32, json_name: "tensionsCount")
field(:communities_count, 15, type: :int32, json_name: "communitiesCount")
field(:summaries_count, 16, type: :int32, json_name: "summariesCount")
field(:total_items, 17, type: :int32, json_name: "totalItems")
field(:degraded, 18, type: :bool)
field(:cache_hit, 19, type: :bool, json_name: "cacheHit")
field(:duration_ms, 20, type: :int64, json_name: "durationMs")
field(:created_at, 21, type: Google.Protobuf.Timestamp, json_name: "createdAt")
end
defmodule Ada.V1.ListRecallRunsResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ListRecallRunsResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:recalls, 1, repeated: true, type: Ada.V1.RecallRunRecord)
field(:pagination, 2, type: Ada.V1.PaginationMeta)
end
defmodule Ada.V1.GetProjectionStatusRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetProjectionStatusRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:failure_limit, 1, type: :int32, json_name: "failureLimit")
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.ProjectionStoreStatus do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ProjectionStoreStatus",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:store, 1, type: :string)
field(:pending, 2, type: :int64)
field(:applied, 3, type: :int64)
field(:retrying, 4, type: :int64)
field(:dead_lettered, 5, type: :int64, json_name: "deadLettered")
field(:superseded, 6, type: :int64)
field(:oldest_active_at, 7, type: Google.Protobuf.Timestamp, json_name: "oldestActiveAt")
field(:oldest_active_age_seconds, 8, type: :int64, json_name: "oldestActiveAgeSeconds")
field(:max_attempt_count, 9, type: :int32, json_name: "maxAttemptCount")
end
defmodule Ada.V1.ProjectionFailure do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ProjectionFailure",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
field(:principal_id, 2, type: :string, json_name: "principalId")
field(:event_id, 3, type: :string, json_name: "eventId")
field(:ingest_job_id, 4, type: :string, json_name: "ingestJobId")
field(:document_id, 5, type: :string, json_name: "documentId")
field(:store, 6, type: :string)
field(:operation, 7, type: :string)
field(:record_type, 8, type: :string, json_name: "recordType")
field(:record_id, 9, type: :string, json_name: "recordId")
field(:revision, 10, type: :int64)
field(:status, 11, type: :string)
field(:attempt_count, 12, type: :int32, json_name: "attemptCount")
field(:last_error, 13, type: :string, json_name: "lastError")
field(:next_attempt_at, 14, type: Google.Protobuf.Timestamp, json_name: "nextAttemptAt")
field(:dead_lettered_at, 15, type: Google.Protobuf.Timestamp, json_name: "deadLetteredAt")
field(:updated_at, 16, type: Google.Protobuf.Timestamp, json_name: "updatedAt")
field(:projection_group_id, 17, type: :string, json_name: "projectionGroupId")
field(:source_chunk_id, 18, type: :string, json_name: "sourceChunkId")
field(:correlation, 19, type: Google.Protobuf.Struct)
end
defmodule Ada.V1.GetProjectionStatusResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetProjectionStatusResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:healthy, 1, type: :bool)
field(:generated_at, 2, type: Google.Protobuf.Timestamp, json_name: "generatedAt")
field(:stores, 3, repeated: true, type: Ada.V1.ProjectionStoreStatus)
field(:pending, 4, type: :int64)
field(:applied, 5, type: :int64)
field(:retrying, 6, type: :int64)
field(:dead_lettered, 7, type: :int64, json_name: "deadLettered")
field(:superseded, 8, type: :int64)
field(:failures, 9, repeated: true, type: Ada.V1.ProjectionFailure)
end
defmodule Ada.V1.DeleteDataRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.DeleteDataRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:principal_id, 100, type: :string, json_name: "principalId")
end
defmodule Ada.V1.DeleteDataResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.DeleteDataResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:deleted_rows, 1, type: :uint64, json_name: "deletedRows")
end
defmodule Ada.V1.DataService.Service do
@moduledoc false
use GRPC.Service, name: "ada.v1.DataService", protoc_gen_elixir_version: "0.17.0"
rpc(:ListEntities, Ada.V1.ListEntitiesRequest, Ada.V1.ListEntitiesResponse)
rpc(:ListAtoms, Ada.V1.ListAtomsRequest, Ada.V1.ListAtomsResponse)
rpc(:ListRelations, Ada.V1.ListRelationsRequest, Ada.V1.ListRelationsResponse)
rpc(:ListCommitments, Ada.V1.ListCommitmentsRequest, Ada.V1.ListCommitmentsResponse)
rpc(:ListDecisions, Ada.V1.ListDecisionsRequest, Ada.V1.ListDecisionsResponse)
rpc(:ListActionItems, Ada.V1.ListActionItemsRequest, Ada.V1.ListActionItemsResponse)
rpc(:ListContradictions, Ada.V1.ListContradictionsRequest, Ada.V1.ListContradictionsResponse)
rpc(:ListObservations, Ada.V1.ListObservationsRequest, Ada.V1.ListObservationsResponse)
rpc(:ListDocuments, Ada.V1.ListDocumentsRequest, Ada.V1.ListDocumentsResponse)
rpc(:ListEvents, Ada.V1.ListEventsRequest, Ada.V1.ListEventsResponse)
rpc(:ListMeetings, Ada.V1.ListMeetingsRequest, Ada.V1.ListMeetingsResponse)
rpc(:ListIntentions, Ada.V1.ListIntentionsRequest, Ada.V1.ListIntentionsResponse)
rpc(:ListPriorities, Ada.V1.ListPrioritiesRequest, Ada.V1.ListPrioritiesResponse)
rpc(:ListIngestJobs, Ada.V1.ListIngestJobsRequest, Ada.V1.ListIngestJobsResponse)
rpc(:GetUsageReport, Ada.V1.GetUsageReportRequest, Ada.V1.GetUsageReportResponse)
rpc(:ListUsageReports, Ada.V1.ListUsageReportsRequest, Ada.V1.ListUsageReportsResponse)
rpc(:GetUsageEvent, Ada.V1.GetUsageEventRequest, Ada.V1.GetUsageEventResponse)
rpc(:ListUsageEvents, Ada.V1.ListUsageEventsRequest, Ada.V1.ListUsageEventsResponse)
rpc(:ListCommunities, Ada.V1.ListCommunitiesRequest, Ada.V1.ListCommunitiesResponse)
rpc(:ListRecallRuns, Ada.V1.ListRecallRunsRequest, Ada.V1.ListRecallRunsResponse)
rpc(:GetProjectionStatus, Ada.V1.GetProjectionStatusRequest, Ada.V1.GetProjectionStatusResponse)
rpc(:DeleteData, Ada.V1.DeleteDataRequest, Ada.V1.DeleteDataResponse)
end
defmodule Ada.V1.DataService.Stub do
@moduledoc false
use GRPC.Stub, service: Ada.V1.DataService.Service
end