@@ -204,7 +204,6 @@ class SPANDATA:
204204 Minimize pre-processing done to the prompt sent to the LLM.
205205 Example: true
206206 """
207-
208207 AI_RESPONSES = "ai.responses"
209208 """
210209 The responses to an AI model call. Always as a list.
@@ -219,62 +218,62 @@ class SPANDATA:
219218
220219 AI_CITATIONS = "ai.citations"
221220 """
222-
223- Example:
221+ References or sources cited by the AI model in its response.
222+ Example: ["Smith et al. 2020", "Jones 2019"]
224223 """
225224
226225 AI_DOCUMENTS = "ai.documents"
227226 """
228-
229- Example:
227+ Documents or content chunks used as context for the AI model.
228+ Example: ["doc1.txt", "doc2.pdf"]
230229 """
231230
232231 AI_SEARCH_QUERIES = "ai.search_queries"
233232 """
234-
235- Example:
233+ Queries used to search for relevant context or documents.
234+ Example: ["climate change effects", "renewable energy"]
236235 """
237236
238237 AI_SEARCH_RESULTS = "ai.search_results"
239238 """
240-
241- Example:
239+ Results returned from search queries for context.
240+ Example: ["Result 1", "Result 2"]
242241 """
243242
244243 AI_GENERATION_ID = "ai.generation_id"
245244 """
246-
247- Example:
245+ Unique identifier for the completion.
246+ Example: "gen_123abc"
248247 """
249248
250249 AI_SEARCH_REQUIRED = "ai.is_search_required"
251250 """
252-
253- Example:
251+ Boolean indicating if the model needs to perform a search.
252+ Example: true
254253 """
255254
256255 AI_FINISH_REASON = "ai.finish_reason"
257256 """
258-
259- Example:
257+ The reason why the model stopped generating.
258+ Example: "length"
260259 """
261260
262261 AI_PIPELINE_NAME = "ai.pipeline.name"
263262 """
264-
265- Example:
263+ Name of the AI pipeline or chain being executed.
264+ Example: "qa-pipeline"
266265 """
267266
268267 AI_TEXTS = "ai.texts"
269268 """
270-
271- Example:
269+ Raw text inputs provided to the model.
270+ Example: ["What is machine learning?"]
272271 """
273272
274273 AI_WARNINGS = "ai.warnings"
275274 """
276-
277- Example:
275+ Warning messages generated during model execution.
276+ Example: ["Token limit exceeded"]
278277 """
279278
280279 DB_NAME = "db.name"
0 commit comments