Skip to content

ChainGraph API Documentation / @badaitech/badai-api / GraphQL / KdbIndexingDocumentTaskCreateMutation

Type Alias: KdbIndexingDocumentTaskCreateMutation

KdbIndexingDocumentTaskCreateMutation = object

Defined in: client/graphql.ts:3355

Properties

__typename?

optional __typename: "Mutation"

Defined in: client/graphql.ts:3355


kdbIndexingDocumentTaskCreate

kdbIndexingDocumentTaskCreate: object

Defined in: client/graphql.ts:3355

__typename?

optional __typename: "IndexingDocumentTask"

author_id

author_id: any

chat_id

chat_id: any

config

config: object

config.__typename?

optional __typename: "IndexingDocumentTaskConfig"

config.chunk_overlap_tokens

chunk_overlap_tokens: number

config.chunk_size_tokens

chunk_size_tokens: number

config.cost_limit

cost_limit: number

config.force_confirm

force_confirm: boolean

config.instruction_for_qa?

optional instruction_for_qa: string | null

config.need_qa

need_qa: boolean

config.qa_count_per_run

qa_count_per_run: number

config.qa_model

qa_model: string

confirmed

confirmed: boolean

created_at

created_at: any

document_id

document_id: any

error?

optional error: string | null

message_id

message_id: any

statistics

statistics: object

statistics.__typename?

optional __typename: "IndexingDocumentStatistics"

statistics.chunks_indexed_qa

chunks_indexed_qa: number

statistics.chunks_indexed_triplet

chunks_indexed_triplet: number

statistics.chunks_total

chunks_total: number

statistics.current_indexing_speed

current_indexing_speed: number

statistics.expected_finish_seconds?

optional expected_finish_seconds: number | null

statistics.expected_finished_at?

optional expected_finished_at: any | null

statistics.indexed_for_seconds?

optional indexed_for_seconds: number | null

statistics.indexed_percent

indexed_percent: number

statistics.indexing_started_at?

optional indexing_started_at: any | null

statistics.llm_approximate_cost

llm_approximate_cost: number

statistics.llm_stats

llm_stats: object

statistics.llm_stats.__typename?

optional __typename: "IndexingDocumentStatisticsLLM"

statistics.llm_stats.completion_cost

completion_cost: number

statistics.llm_stats.embeddings_cost

embeddings_cost: number

statistics.llm_stats.embeddings_count

embeddings_count: number

statistics.llm_stats.prompt_cost

prompt_cost: number

statistics.llm_stats.total_cost

total_cost: number

statistics.pages

pages: number

statistics.qa_total

qa_total: number

statistics.total_tokens

total_tokens: number

statistics.triplets_total

triplets_total: number

task_id

task_id: any

task_state

task_state: IndexingDocumentTaskState

update_at

update_at: any

version

version: number

Licensed under BUSL-1.1