@ancplua/qyl-api-schema 7.2.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// <auto-generated/>
|
|
2
2
|
// Generated by qyl's Weaver pipeline (emit_typespec_keys.py) from:
|
|
3
3
|
// open-telemetry/semantic-conventions v1.44.0 (e10a930844c6951757a43b849d364f7d056ac32b)
|
|
4
|
-
// open-telemetry/semantic-conventions-genai
|
|
4
|
+
// open-telemetry/semantic-conventions-genai eaefa142a94cefe5d199d47e4a73727dfbd825df (eaefa142a94cefe5d199d47e4a73727dfbd825df)
|
|
5
5
|
// Schema: https://opentelemetry.io/schemas/1.44.0
|
|
6
6
|
// GenAI schema: https://opentelemetry.io/schemas/gen-ai-dev/1.42.0-dev
|
|
7
7
|
// Licensed under Apache-2.0 (inherited from OpenTelemetry upstream)
|
|
@@ -945,16 +945,34 @@ namespace Qyl.Telemetry.SemanticConventions.Keys.GenAi {
|
|
|
945
945
|
const ToolName: string = "gen_ai.tool.name";
|
|
946
946
|
/** Type of the tool utilized by the agent */
|
|
947
947
|
const ToolType: string = "gen_ai.tool.type";
|
|
948
|
-
/** The number of input tokens
|
|
949
|
-
const
|
|
948
|
+
/** The number of audio input tokens served from a provider-managed cache. */
|
|
949
|
+
const UsageAudioCacheReadInputTokens: string = "gen_ai.usage.audio.cache_read.input_tokens";
|
|
950
|
+
/** The number of audio input tokens. */
|
|
951
|
+
const UsageAudioInputTokens: string = "gen_ai.usage.audio.input_tokens";
|
|
952
|
+
/** The number of audio output tokens. */
|
|
953
|
+
const UsageAudioOutputTokens: string = "gen_ai.usage.audio.output_tokens";
|
|
950
954
|
/** The number of input tokens served from a provider-managed cache. */
|
|
951
955
|
const UsageCacheReadInputTokens: string = "gen_ai.usage.cache_read.input_tokens";
|
|
956
|
+
/** The number of input tokens written to a provider-managed cache. */
|
|
957
|
+
const UsageCacheWriteInputTokens: string = "gen_ai.usage.cache_write.input_tokens";
|
|
958
|
+
/** The number of image input tokens served from a provider-managed cache. */
|
|
959
|
+
const UsageImageCacheReadInputTokens: string = "gen_ai.usage.image.cache_read.input_tokens";
|
|
960
|
+
/** The number of image input tokens. */
|
|
961
|
+
const UsageImageInputTokens: string = "gen_ai.usage.image.input_tokens";
|
|
962
|
+
/** The number of image output tokens. */
|
|
963
|
+
const UsageImageOutputTokens: string = "gen_ai.usage.image.output_tokens";
|
|
952
964
|
/** The number of tokens used in the GenAI input (prompt). */
|
|
953
965
|
const UsageInputTokens: string = "gen_ai.usage.input_tokens";
|
|
954
966
|
/** The number of tokens used in the GenAI response (completion). */
|
|
955
967
|
const UsageOutputTokens: string = "gen_ai.usage.output_tokens";
|
|
956
968
|
/** The number of output tokens used for reasoning (e.g. chain-of-thought, extended thinking). */
|
|
957
969
|
const UsageReasoningOutputTokens: string = "gen_ai.usage.reasoning.output_tokens";
|
|
970
|
+
/** The number of text input tokens served from a provider-managed cache. */
|
|
971
|
+
const UsageTextCacheReadInputTokens: string = "gen_ai.usage.text.cache_read.input_tokens";
|
|
972
|
+
/** The number of text input tokens. */
|
|
973
|
+
const UsageTextInputTokens: string = "gen_ai.usage.text.input_tokens";
|
|
974
|
+
/** The number of text output tokens. */
|
|
975
|
+
const UsageTextOutputTokens: string = "gen_ai.usage.text.output_tokens";
|
|
958
976
|
/** Human-readable name of the GenAI workflow provided by the application. */
|
|
959
977
|
const WorkflowName: string = "gen_ai.workflow.name";
|
|
960
978
|
}
|
|
@@ -445,4 +445,4 @@ export const FetchTelemetryViewValues = {
|
|
|
445
445
|
};
|
|
446
446
|
// --- contract revision (scripts/emit-contract-revision.mjs) ---
|
|
447
447
|
/** Revision of the API contract these types were emitted from; compare against HealthReport.contract_revision. */
|
|
448
|
-
export const CONTRACT_REVISION = "sha256:
|
|
448
|
+
export const CONTRACT_REVISION = "sha256:a11cb761a9cb6534";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancplua/qyl-api-schema",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|