KnowledgeBaseGraphSearchActivityArguments interface

Natural-language graph request, generated-query visibility, and model usage for an activity.

Properties

attempts

Query generation/execution attempts made by the graph loop.

gql

Generated GQL, returned only when graphParameters.includeQuery is true.

graphIndexName

Graph index queried by this activity.

inputTokens

Input tokens consumed by graph query generation.

modelElapsedMs

Elapsed graph model-call time in milliseconds.

modelName

Model name reported for graph query generation.

naturalLanguageQuery

Natural-language query submitted to graph retrieval for this activity.

outcome

Reported outcome of the graph query loop, such as Success.

outputTokens

Output tokens consumed by graph query generation.

Property Details

attempts

Query generation/execution attempts made by the graph loop.

attempts?: number

Property Value

number

gql

Generated GQL, returned only when graphParameters.includeQuery is true.

gql?: string

Property Value

string

graphIndexName

Graph index queried by this activity.

graphIndexName?: string

Property Value

string

inputTokens

Input tokens consumed by graph query generation.

inputTokens?: number

Property Value

number

modelElapsedMs

Elapsed graph model-call time in milliseconds.

modelElapsedMs?: number

Property Value

number

modelName

Model name reported for graph query generation.

modelName?: string

Property Value

string

naturalLanguageQuery

Natural-language query submitted to graph retrieval for this activity.

naturalLanguageQuery?: string

Property Value

string

outcome

Reported outcome of the graph query loop, such as Success.

outcome?: string

Property Value

string

outputTokens

Output tokens consumed by graph query generation.

outputTokens?: number

Property Value

number