File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed
Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1212if TYPE_CHECKING :
1313 from typing import Optional , Callable , Any
1414
15- _ai_pipeline_name = ContextVar (SPANDATA . GEN_AI_PIPELINE_NAME , default = None )
15+ _ai_pipeline_name = ContextVar ("ai_pipeline_name" , default = None )
1616
1717
1818def set_ai_pipeline_name (name ):
Original file line number Diff line number Diff line change @@ -531,11 +531,6 @@ class SPANDATA:
531531 The frequency penalty parameter used to reduce repetitiveness of generated tokens.
532532 Example: 0.1
533533 """
534- GEN_AI_REQUEST_LOGIT_BIAS = "gen_ai.logit_bias"
535- """
536- The logit bias parameter used to control the model's response.
537- Example: {"12345": -100}
538- """
539534
540535 GEN_AI_REQUEST_MAX_TOKENS = "gen_ai.request.max_tokens"
541536 """
Original file line number Diff line number Diff line change 4747DATA_FIELDS = {
4848 "frequency_penalty" : SPANDATA .GEN_AI_REQUEST_FREQUENCY_PENALTY ,
4949 "function_call" : SPANDATA .GEN_AI_RESPONSE_TOOL_CALLS ,
50- "logit_bias" : SPANDATA .GEN_AI_REQUEST_LOGIT_BIAS ,
5150 "max_tokens" : SPANDATA .GEN_AI_REQUEST_MAX_TOKENS ,
5251 "presence_penalty" : SPANDATA .GEN_AI_REQUEST_PRESENCE_PENALTY ,
5352 "response_format" : SPANDATA .GEN_AI_RESPONSE_FORMAT ,
You can’t perform that action at this time.
0 commit comments