Skip to content

Commit 78df868

Browse files
committed
Fix indent and formatting from build tests
1 parent dfd5fda commit 78df868

File tree

1 file changed

+130
-130
lines changed

1 file changed

+130
-130
lines changed

schemas/gen_ai.yml

Lines changed: 130 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -8,133 +8,133 @@
88
This field group definition is based on the Gen AI namespace of the OpenTelemetry Semantic Conventions (https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/).
99
1010
fields:
11-
- name: gen_ai.agent.description
12-
type: text
13-
description: Free-form description of the GenAI agent provided by the application.
14-
example: Helps with math problems; Generates fiction stories
15-
level: extended
16-
- name: gen_ai.agent.id
17-
type: keyword
18-
description: The unique identifier of the GenAI agent.
19-
example: asst_5j66UpCpwteGg4YSxUnt7lPY
20-
level: extended
21-
- name: gen_ai.agent.name
22-
type: keyword
23-
description: Human-readable name of the GenAI agent provided by the application.
24-
example: Math Tutor; Fiction Writer
25-
level: extended
26-
- name: gen_ai.operation.name
27-
type: keyword
28-
description: The name of the operation being performed.
29-
example: chat; text_completion; embeddings
30-
level: extended
31-
- name: gen_ai.output.type
32-
type: keyword
33-
description: Represents the content type requested by the client.
34-
example: text; json; image
35-
level: extended
36-
- name: gen_ai.request.choice.count
37-
type: integer
38-
description: The target number of candidate completions to return.
39-
example: 3
40-
level: extended
41-
- name: gen_ai.request.encoding_formats
42-
type: nested
43-
description: The encoding formats requested in an embeddings operation, if specified.
44-
example: '["float", "binary"]'
45-
level: extended
46-
- name: gen_ai.request.frequency_penalty
47-
type: double
48-
description: The frequency penalty setting for the GenAI request.
49-
example: 0.1
50-
level: extended
51-
- name: gen_ai.request.max_tokens
52-
type: integer
53-
description: The maximum number of tokens the model generates for a request.
54-
example: 100
55-
level: extended
56-
- name: gen_ai.request.model
57-
type: text
58-
description: The name of the GenAI model a request is being made to.
59-
example: gpt-4
60-
level: extended
61-
- name: gen_ai.request.presence_penalty
62-
type: double
63-
description: The presence penalty setting for the GenAI request.
64-
example: 0.1
65-
level: extended
66-
- name: gen_ai.request.seed
67-
type: integer
68-
description: Requests with same seed value more likely to return same result.
69-
example: 100
70-
level: extended
71-
- name: gen_ai.request.stop_sequences
72-
type: nested
73-
description: List of sequences that the model will use to stop generating further tokens.
74-
example: '["forest", "lived"]'
75-
level: extended
76-
- name: gen_ai.request.temperature
77-
type: double
78-
description: The temperature setting for the GenAI request.
79-
example: 0.0
80-
level: extended
81-
- name: gen_ai.request.top_k
82-
type: double
83-
description: The top_k sampling setting for the GenAI request.
84-
example: 1.0
85-
level: extended
86-
- name: gen_ai.request.top_p
87-
type: double
88-
description: The top_p sampling setting for the GenAI request.
89-
example: 1.0
90-
level: extended
91-
- name: gen_ai.response.finish_reasons
92-
type: nested
93-
description: Array of reasons the model stopped generating tokens, corresponding to each generation received.
94-
example: '["stop", "length"]'
95-
level: extended
96-
- name: gen_ai.response.id
97-
type: keyword
98-
description: The unique identifier for the completion.
99-
example: chatcmpl-123
100-
level: extended
101-
- name: gen_ai.response.model
102-
type: keyword
103-
description: The name of the model that generated the response.
104-
example: gpt-4-0613
105-
level: extended
106-
- name: gen_ai.system
107-
type: keyword
108-
description: The Generative AI product as identified by the client or server instrumentation.
109-
example: openai
110-
level: extended
111-
- name: gen_ai.token.type
112-
type: keyword
113-
description: The type of token being counted.
114-
example: input; output
115-
level: extended
116-
- name: gen_ai.tool.call.id
117-
type: keyword
118-
description: The tool call identifier.
119-
example: call_mszuSIzqtI65i1wAUOE8w5H4
120-
level: extended
121-
- name: gen_ai.tool.name
122-
type: keyword
123-
description: Name of the tool utilized by the agent.
124-
example: Flights
125-
level: extended
126-
- name: gen_ai.tool.type
127-
type: keyword
128-
description: Type of the tool utilized by the agent
129-
example: function; extension; datastore
130-
level: extended
131-
- name: gen_ai.usage.input_tokens
132-
type: integer
133-
description: The number of tokens used in the GenAI input (prompt).
134-
example: 100
135-
level: extended
136-
- name: gen_ai.usage.output_tokens
137-
type: integer
138-
description: The number of tokens used in the GenAI response (completion).
139-
example: 180
140-
level: extended
11+
- name: gen_ai.agent.description
12+
type: text
13+
description: Free-form description of the GenAI agent provided by the application.
14+
example: Helps with math problems; Generates fiction stories
15+
level: extended
16+
- name: gen_ai.agent.id
17+
type: keyword
18+
description: The unique identifier of the GenAI agent.
19+
example: asst_5j66UpCpwteGg4YSxUnt7lPY
20+
level: extended
21+
- name: gen_ai.agent.name
22+
type: keyword
23+
description: Human-readable name of the GenAI agent provided by the application.
24+
example: Math Tutor; Fiction Writer
25+
level: extended
26+
- name: gen_ai.operation.name
27+
type: keyword
28+
description: The name of the operation being performed.
29+
example: chat; text_completion; embeddings
30+
level: extended
31+
- name: gen_ai.output.type
32+
type: keyword
33+
description: Represents the content type requested by the client.
34+
example: text; json; image
35+
level: extended
36+
- name: gen_ai.request.choice.count
37+
type: integer
38+
description: The target number of candidate completions to return.
39+
example: 3
40+
level: extended
41+
- name: gen_ai.request.encoding_formats
42+
type: nested
43+
description: The encoding formats requested in an embeddings operation, if specified.
44+
example: '["float", "binary"]'
45+
level: extended
46+
- name: gen_ai.request.frequency_penalty
47+
type: double
48+
description: The frequency penalty setting for the GenAI request.
49+
example: 0.1
50+
level: extended
51+
- name: gen_ai.request.max_tokens
52+
type: integer
53+
description: The maximum number of tokens the model generates for a request.
54+
example: 100
55+
level: extended
56+
- name: gen_ai.request.model
57+
type: text
58+
description: The name of the GenAI model a request is being made to.
59+
example: gpt-4
60+
level: extended
61+
- name: gen_ai.request.presence_penalty
62+
type: double
63+
description: The presence penalty setting for the GenAI request.
64+
example: 0.1
65+
level: extended
66+
- name: gen_ai.request.seed
67+
type: integer
68+
description: Requests with same seed value more likely to return same result.
69+
example: 100
70+
level: extended
71+
- name: gen_ai.request.stop_sequences
72+
type: nested
73+
description: List of sequences that the model will use to stop generating further tokens.
74+
example: '["forest", "lived"]'
75+
level: extended
76+
- name: gen_ai.request.temperature
77+
type: double
78+
description: The temperature setting for the GenAI request.
79+
example: 0.0
80+
level: extended
81+
- name: gen_ai.request.top_k
82+
type: double
83+
description: The top_k sampling setting for the GenAI request.
84+
example: 1.0
85+
level: extended
86+
- name: gen_ai.request.top_p
87+
type: double
88+
description: The top_p sampling setting for the GenAI request.
89+
example: 1.0
90+
level: extended
91+
- name: gen_ai.response.finish_reasons
92+
type: nested
93+
description: Array of reasons the model stopped generating tokens, corresponding to each generation received.
94+
example: '["stop", "length"]'
95+
level: extended
96+
- name: gen_ai.response.id
97+
type: keyword
98+
description: The unique identifier for the completion.
99+
example: chatcmpl-123
100+
level: extended
101+
- name: gen_ai.response.model
102+
type: keyword
103+
description: The name of the model that generated the response.
104+
example: gpt-4-0613
105+
level: extended
106+
- name: gen_ai.system
107+
type: keyword
108+
description: The Generative AI product as identified by the client or server instrumentation.
109+
example: openai
110+
level: extended
111+
- name: gen_ai.token.type
112+
type: keyword
113+
description: The type of token being counted.
114+
example: input; output
115+
level: extended
116+
- name: gen_ai.tool.call.id
117+
type: keyword
118+
description: The tool call identifier.
119+
example: call_mszuSIzqtI65i1wAUOE8w5H4
120+
level: extended
121+
- name: gen_ai.tool.name
122+
type: keyword
123+
description: Name of the tool utilized by the agent.
124+
example: Flights
125+
level: extended
126+
- name: gen_ai.tool.type
127+
type: keyword
128+
description: Type of the tool utilized by the agent
129+
example: function; extension; datastore
130+
level: extended
131+
- name: gen_ai.usage.input_tokens
132+
type: integer
133+
description: The number of tokens used in the GenAI input (prompt).
134+
example: 100
135+
level: extended
136+
- name: gen_ai.usage.output_tokens
137+
type: integer
138+
description: The number of tokens used in the GenAI response (completion).
139+
example: 180
140+
level: extended

0 commit comments

Comments
 (0)