assassinlike commited on
Commit
df4e4f6
·
verified ·
1 Parent(s): b6eacff

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/batch_list_params.cpython-310.pyc +0 -0
  2. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/batch_usage.cpython-310.pyc +0 -0
  3. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/completion_create_params.cpython-310.pyc +0 -0
  4. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/container_create_response.cpython-310.pyc +0 -0
  5. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/container_retrieve_response.cpython-310.pyc +0 -0
  6. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/create_embedding_response.cpython-310.pyc +0 -0
  7. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/embedding_create_params.cpython-310.pyc +0 -0
  8. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_create_response.cpython-310.pyc +0 -0
  9. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_retrieve_response.cpython-310.pyc +0 -0
  10. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_update_params.cpython-310.pyc +0 -0
  11. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_chunking_strategy.cpython-310.pyc +0 -0
  12. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_create_params.cpython-310.pyc +0 -0
  13. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_purpose.cpython-310.pyc +0 -0
  14. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_edit_params.cpython-310.pyc +0 -0
  15. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_edit_stream_event.cpython-310.pyc +0 -0
  16. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_gen_stream_event.cpython-310.pyc +0 -0
  17. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_generate_params.cpython-310.pyc +0 -0
  18. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_model.cpython-310.pyc +0 -0
  19. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/images_response.cpython-310.pyc +0 -0
  20. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation.cpython-310.pyc +0 -0
  21. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_create_params.cpython-310.pyc +0 -0
  22. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_image_url_input_param.cpython-310.pyc +0 -0
  23. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_model.cpython-310.pyc +0 -0
  24. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_multi_modal_input_param.cpython-310.pyc +0 -0
  25. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill.cpython-310.pyc +0 -0
  26. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill_list_params.cpython-310.pyc +0 -0
  27. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill_update_params.cpython-310.pyc +0 -0
  28. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/static_file_chunking_strategy_param.cpython-310.pyc +0 -0
  29. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store.cpython-310.pyc +0 -0
  30. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_create_params.cpython-310.pyc +0 -0
  31. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_deleted.cpython-310.pyc +0 -0
  32. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_list_params.cpython-310.pyc +0 -0
  33. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_search_params.cpython-310.pyc +0 -0
  34. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video.cpython-310.pyc +0 -0
  35. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_create_character_params.cpython-310.pyc +0 -0
  36. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_create_params.cpython-310.pyc +0 -0
  37. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_download_content_params.cpython-310.pyc +0 -0
  38. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_edit_params.cpython-310.pyc +0 -0
  39. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_extend_params.cpython-310.pyc +0 -0
  40. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/websocket_connection_options.cpython-310.pyc +0 -0
  41. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/__init__.py +102 -0
  42. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion.py +95 -0
  43. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_allowed_tool_choice_param.py +19 -0
  44. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_audio.py +30 -0
  45. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_audio_param.py +43 -0
  46. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_chunk.py +181 -0
  47. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_image_param.py +28 -0
  48. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_input_audio_param.py +24 -0
  49. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_param.py +45 -0
  50. data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_refusal_param.py +15 -0
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/batch_list_params.cpython-310.pyc ADDED
Binary file (556 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/batch_usage.cpython-310.pyc ADDED
Binary file (1.26 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/completion_create_params.cpython-310.pyc ADDED
Binary file (1.99 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/container_create_response.cpython-310.pyc ADDED
Binary file (1.68 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/container_retrieve_response.cpython-310.pyc ADDED
Binary file (1.69 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/create_embedding_response.cpython-310.pyc ADDED
Binary file (967 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/embedding_create_params.cpython-310.pyc ADDED
Binary file (995 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_create_response.cpython-310.pyc ADDED
Binary file (3.35 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_retrieve_response.cpython-310.pyc ADDED
Binary file (3.35 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/eval_update_params.cpython-310.pyc ADDED
Binary file (674 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_chunking_strategy.cpython-310.pyc ADDED
Binary file (670 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_create_params.cpython-310.pyc ADDED
Binary file (1.19 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/file_purpose.cpython-310.pyc ADDED
Binary file (389 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_edit_params.cpython-310.pyc ADDED
Binary file (1.92 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_edit_stream_event.cpython-310.pyc ADDED
Binary file (642 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_gen_stream_event.cpython-310.pyc ADDED
Binary file (636 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_generate_params.cpython-310.pyc ADDED
Binary file (1.85 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/image_model.cpython-310.pyc ADDED
Binary file (460 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/images_response.cpython-310.pyc ADDED
Binary file (1.96 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation.cpython-310.pyc ADDED
Binary file (3.13 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_create_params.cpython-310.pyc ADDED
Binary file (948 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_image_url_input_param.cpython-310.pyc ADDED
Binary file (967 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_model.cpython-310.pyc ADDED
Binary file (445 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/moderation_multi_modal_input_param.cpython-310.pyc ADDED
Binary file (611 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill.cpython-310.pyc ADDED
Binary file (666 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill_list_params.cpython-310.pyc ADDED
Binary file (619 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/skill_update_params.cpython-310.pyc ADDED
Binary file (573 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/static_file_chunking_strategy_param.cpython-310.pyc ADDED
Binary file (645 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store.cpython-310.pyc ADDED
Binary file (1.63 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_create_params.cpython-310.pyc ADDED
Binary file (1.3 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_deleted.cpython-310.pyc ADDED
Binary file (589 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_list_params.cpython-310.pyc ADDED
Binary file (654 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/vector_store_search_params.cpython-310.pyc ADDED
Binary file (1.38 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video.cpython-310.pyc ADDED
Binary file (1.28 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_create_character_params.cpython-310.pyc ADDED
Binary file (668 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_create_params.cpython-310.pyc ADDED
Binary file (1.07 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_download_content_params.cpython-310.pyc ADDED
Binary file (614 Bytes). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_edit_params.cpython-310.pyc ADDED
Binary file (1 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/video_extend_params.cpython-310.pyc ADDED
Binary file (1.11 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/__pycache__/websocket_connection_options.cpython-310.pyc ADDED
Binary file (1.32 kB). View file
 
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/__init__.py ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .chat_completion import ChatCompletion as ChatCompletion
6
+ from .chat_completion_role import ChatCompletionRole as ChatCompletionRole
7
+ from .chat_completion_audio import ChatCompletionAudio as ChatCompletionAudio
8
+ from .chat_completion_chunk import ChatCompletionChunk as ChatCompletionChunk
9
+ from .completion_list_params import CompletionListParams as CompletionListParams
10
+ from .parsed_chat_completion import (
11
+ ParsedChoice as ParsedChoice,
12
+ ParsedChatCompletion as ParsedChatCompletion,
13
+ ParsedChatCompletionMessage as ParsedChatCompletionMessage,
14
+ )
15
+ from .chat_completion_deleted import ChatCompletionDeleted as ChatCompletionDeleted
16
+ from .chat_completion_message import ChatCompletionMessage as ChatCompletionMessage
17
+ from .chat_completion_modality import ChatCompletionModality as ChatCompletionModality
18
+ from .completion_create_params import CompletionCreateParams as CompletionCreateParams
19
+ from .completion_update_params import CompletionUpdateParams as CompletionUpdateParams
20
+ from .parsed_function_tool_call import (
21
+ ParsedFunction as ParsedFunction,
22
+ ParsedFunctionToolCall as ParsedFunctionToolCall,
23
+ )
24
+ from .chat_completion_tool_param import ChatCompletionToolParam as ChatCompletionToolParam
25
+ from .chat_completion_audio_param import ChatCompletionAudioParam as ChatCompletionAudioParam
26
+ from .chat_completion_function_tool import ChatCompletionFunctionTool as ChatCompletionFunctionTool
27
+ from .chat_completion_message_param import ChatCompletionMessageParam as ChatCompletionMessageParam
28
+ from .chat_completion_store_message import ChatCompletionStoreMessage as ChatCompletionStoreMessage
29
+ from .chat_completion_token_logprob import ChatCompletionTokenLogprob as ChatCompletionTokenLogprob
30
+ from .chat_completion_reasoning_effort import ChatCompletionReasoningEffort as ChatCompletionReasoningEffort
31
+ from .chat_completion_tool_union_param import ChatCompletionToolUnionParam as ChatCompletionToolUnionParam
32
+ from .chat_completion_content_part_text import ChatCompletionContentPartText as ChatCompletionContentPartText
33
+ from .chat_completion_custom_tool_param import ChatCompletionCustomToolParam as ChatCompletionCustomToolParam
34
+ from .chat_completion_message_tool_call import (
35
+ ChatCompletionMessageToolCall as ChatCompletionMessageToolCall,
36
+ ChatCompletionMessageToolCallUnion as ChatCompletionMessageToolCallUnion,
37
+ )
38
+ from .chat_completion_content_part_image import ChatCompletionContentPartImage as ChatCompletionContentPartImage
39
+ from .chat_completion_content_part_param import ChatCompletionContentPartParam as ChatCompletionContentPartParam
40
+ from .chat_completion_tool_message_param import ChatCompletionToolMessageParam as ChatCompletionToolMessageParam
41
+ from .chat_completion_user_message_param import ChatCompletionUserMessageParam as ChatCompletionUserMessageParam
42
+ from .chat_completion_allowed_tools_param import ChatCompletionAllowedToolsParam as ChatCompletionAllowedToolsParam
43
+ from .chat_completion_function_tool_param import ChatCompletionFunctionToolParam as ChatCompletionFunctionToolParam
44
+ from .chat_completion_stream_options_param import ChatCompletionStreamOptionsParam as ChatCompletionStreamOptionsParam
45
+ from .chat_completion_system_message_param import ChatCompletionSystemMessageParam as ChatCompletionSystemMessageParam
46
+ from .chat_completion_function_message_param import (
47
+ ChatCompletionFunctionMessageParam as ChatCompletionFunctionMessageParam,
48
+ )
49
+ from .chat_completion_assistant_message_param import (
50
+ ChatCompletionAssistantMessageParam as ChatCompletionAssistantMessageParam,
51
+ )
52
+ from .chat_completion_content_part_text_param import (
53
+ ChatCompletionContentPartTextParam as ChatCompletionContentPartTextParam,
54
+ )
55
+ from .chat_completion_developer_message_param import (
56
+ ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam,
57
+ )
58
+ from .chat_completion_message_tool_call_param import (
59
+ ChatCompletionMessageToolCallParam as ChatCompletionMessageToolCallParam,
60
+ )
61
+ from .chat_completion_named_tool_choice_param import (
62
+ ChatCompletionNamedToolChoiceParam as ChatCompletionNamedToolChoiceParam,
63
+ )
64
+ from .chat_completion_content_part_image_param import (
65
+ ChatCompletionContentPartImageParam as ChatCompletionContentPartImageParam,
66
+ )
67
+ from .chat_completion_message_custom_tool_call import (
68
+ ChatCompletionMessageCustomToolCall as ChatCompletionMessageCustomToolCall,
69
+ )
70
+ from .chat_completion_prediction_content_param import (
71
+ ChatCompletionPredictionContentParam as ChatCompletionPredictionContentParam,
72
+ )
73
+ from .chat_completion_tool_choice_option_param import (
74
+ ChatCompletionToolChoiceOptionParam as ChatCompletionToolChoiceOptionParam,
75
+ )
76
+ from .chat_completion_allowed_tool_choice_param import (
77
+ ChatCompletionAllowedToolChoiceParam as ChatCompletionAllowedToolChoiceParam,
78
+ )
79
+ from .chat_completion_content_part_refusal_param import (
80
+ ChatCompletionContentPartRefusalParam as ChatCompletionContentPartRefusalParam,
81
+ )
82
+ from .chat_completion_function_call_option_param import (
83
+ ChatCompletionFunctionCallOptionParam as ChatCompletionFunctionCallOptionParam,
84
+ )
85
+ from .chat_completion_message_function_tool_call import (
86
+ ChatCompletionMessageFunctionToolCall as ChatCompletionMessageFunctionToolCall,
87
+ )
88
+ from .chat_completion_message_tool_call_union_param import (
89
+ ChatCompletionMessageToolCallUnionParam as ChatCompletionMessageToolCallUnionParam,
90
+ )
91
+ from .chat_completion_content_part_input_audio_param import (
92
+ ChatCompletionContentPartInputAudioParam as ChatCompletionContentPartInputAudioParam,
93
+ )
94
+ from .chat_completion_message_custom_tool_call_param import (
95
+ ChatCompletionMessageCustomToolCallParam as ChatCompletionMessageCustomToolCallParam,
96
+ )
97
+ from .chat_completion_named_tool_choice_custom_param import (
98
+ ChatCompletionNamedToolChoiceCustomParam as ChatCompletionNamedToolChoiceCustomParam,
99
+ )
100
+ from .chat_completion_message_function_tool_call_param import (
101
+ ChatCompletionMessageFunctionToolCallParam as ChatCompletionMessageFunctionToolCallParam,
102
+ )
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion.py ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+ from ..completion_usage import CompletionUsage
8
+ from .chat_completion_message import ChatCompletionMessage
9
+ from .chat_completion_token_logprob import ChatCompletionTokenLogprob
10
+
11
+ __all__ = ["ChatCompletion", "Choice", "ChoiceLogprobs"]
12
+
13
+
14
+ class ChoiceLogprobs(BaseModel):
15
+ """Log probability information for the choice."""
16
+
17
+ content: Optional[List[ChatCompletionTokenLogprob]] = None
18
+ """A list of message content tokens with log probability information."""
19
+
20
+ refusal: Optional[List[ChatCompletionTokenLogprob]] = None
21
+ """A list of message refusal tokens with log probability information."""
22
+
23
+
24
+ class Choice(BaseModel):
25
+ finish_reason: Literal["stop", "length", "tool_calls", "content_filter", "function_call"]
26
+ """The reason the model stopped generating tokens.
27
+
28
+ This will be `stop` if the model hit a natural stop point or a provided stop
29
+ sequence, `length` if the maximum number of tokens specified in the request was
30
+ reached, `content_filter` if content was omitted due to a flag from our content
31
+ filters, `tool_calls` if the model called a tool, or `function_call`
32
+ (deprecated) if the model called a function.
33
+ """
34
+
35
+ index: int
36
+ """The index of the choice in the list of choices."""
37
+
38
+ logprobs: Optional[ChoiceLogprobs] = None
39
+ """Log probability information for the choice."""
40
+
41
+ message: ChatCompletionMessage
42
+ """A chat completion message generated by the model."""
43
+
44
+
45
+ class ChatCompletion(BaseModel):
46
+ """
47
+ Represents a chat completion response returned by model, based on the provided input.
48
+ """
49
+
50
+ id: str
51
+ """A unique identifier for the chat completion."""
52
+
53
+ choices: List[Choice]
54
+ """A list of chat completion choices.
55
+
56
+ Can be more than one if `n` is greater than 1.
57
+ """
58
+
59
+ created: int
60
+ """The Unix timestamp (in seconds) of when the chat completion was created."""
61
+
62
+ model: str
63
+ """The model used for the chat completion."""
64
+
65
+ object: Literal["chat.completion"]
66
+ """The object type, which is always `chat.completion`."""
67
+
68
+ service_tier: Optional[Literal["auto", "default", "flex", "scale", "priority"]] = None
69
+ """Specifies the processing type used for serving the request.
70
+
71
+ - If set to 'auto', then the request will be processed with the service tier
72
+ configured in the Project settings. Unless otherwise configured, the Project
73
+ will use 'default'.
74
+ - If set to 'default', then the request will be processed with the standard
75
+ pricing and performance for the selected model.
76
+ - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or
77
+ '[priority](https://openai.com/api-priority-processing/)', then the request
78
+ will be processed with the corresponding service tier.
79
+ - When not set, the default behavior is 'auto'.
80
+
81
+ When the `service_tier` parameter is set, the response body will include the
82
+ `service_tier` value based on the processing mode actually used to serve the
83
+ request. This response value may be different from the value set in the
84
+ parameter.
85
+ """
86
+
87
+ system_fingerprint: Optional[str] = None
88
+ """This fingerprint represents the backend configuration that the model runs with.
89
+
90
+ Can be used in conjunction with the `seed` request parameter to understand when
91
+ backend changes have been made that might impact determinism.
92
+ """
93
+
94
+ usage: Optional[CompletionUsage] = None
95
+ """Usage statistics for the completion request."""
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_allowed_tool_choice_param.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ from .chat_completion_allowed_tools_param import ChatCompletionAllowedToolsParam
8
+
9
+ __all__ = ["ChatCompletionAllowedToolChoiceParam"]
10
+
11
+
12
+ class ChatCompletionAllowedToolChoiceParam(TypedDict, total=False):
13
+ """Constrains the tools available to the model to a pre-defined set."""
14
+
15
+ allowed_tools: Required[ChatCompletionAllowedToolsParam]
16
+ """Constrains the tools available to the model to a pre-defined set."""
17
+
18
+ type: Required[Literal["allowed_tools"]]
19
+ """Allowed tool configuration type. Always `allowed_tools`."""
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_audio.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ..._models import BaseModel
4
+
5
+ __all__ = ["ChatCompletionAudio"]
6
+
7
+
8
+ class ChatCompletionAudio(BaseModel):
9
+ """
10
+ If the audio output modality is requested, this object contains data
11
+ about the audio response from the model. [Learn more](https://platform.openai.com/docs/guides/audio).
12
+ """
13
+
14
+ id: str
15
+ """Unique identifier for this audio response."""
16
+
17
+ data: str
18
+ """
19
+ Base64 encoded audio bytes generated by the model, in the format specified in
20
+ the request.
21
+ """
22
+
23
+ expires_at: int
24
+ """
25
+ The Unix timestamp (in seconds) for when this audio response will no longer be
26
+ accessible on the server for use in multi-turn conversations.
27
+ """
28
+
29
+ transcript: str
30
+ """Transcript of the audio generated by the model."""
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_audio_param.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
+
8
+ __all__ = ["ChatCompletionAudioParam", "Voice", "VoiceID"]
9
+
10
+
11
+ class VoiceID(TypedDict, total=False):
12
+ """Custom voice reference."""
13
+
14
+ id: Required[str]
15
+ """The custom voice ID, e.g. `voice_1234`."""
16
+
17
+
18
+ Voice: TypeAlias = Union[
19
+ str, Literal["alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse", "marin", "cedar"], VoiceID
20
+ ]
21
+
22
+
23
+ class ChatCompletionAudioParam(TypedDict, total=False):
24
+ """Parameters for audio output.
25
+
26
+ Required when audio output is requested with
27
+ `modalities: ["audio"]`. [Learn more](https://platform.openai.com/docs/guides/audio).
28
+ """
29
+
30
+ format: Required[Literal["wav", "aac", "mp3", "flac", "opus", "pcm16"]]
31
+ """Specifies the output audio format.
32
+
33
+ Must be one of `wav`, `mp3`, `flac`, `opus`, or `pcm16`.
34
+ """
35
+
36
+ voice: Required[Voice]
37
+ """The voice the model uses to respond.
38
+
39
+ Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`,
40
+ `fable`, `nova`, `onyx`, `sage`, `shimmer`, `marin`, and `cedar`. You may also
41
+ provide a custom voice object with an `id`, for example
42
+ `{ "id": "voice_1234" }`.
43
+ """
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_chunk.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+ from ..completion_usage import CompletionUsage
8
+ from .chat_completion_token_logprob import ChatCompletionTokenLogprob
9
+
10
+ __all__ = [
11
+ "ChatCompletionChunk",
12
+ "Choice",
13
+ "ChoiceDelta",
14
+ "ChoiceDeltaFunctionCall",
15
+ "ChoiceDeltaToolCall",
16
+ "ChoiceDeltaToolCallFunction",
17
+ "ChoiceLogprobs",
18
+ ]
19
+
20
+
21
+ class ChoiceDeltaFunctionCall(BaseModel):
22
+ """Deprecated and replaced by `tool_calls`.
23
+
24
+ The name and arguments of a function that should be called, as generated by the model.
25
+ """
26
+
27
+ arguments: Optional[str] = None
28
+ """
29
+ The arguments to call the function with, as generated by the model in JSON
30
+ format. Note that the model does not always generate valid JSON, and may
31
+ hallucinate parameters not defined by your function schema. Validate the
32
+ arguments in your code before calling your function.
33
+ """
34
+
35
+ name: Optional[str] = None
36
+ """The name of the function to call."""
37
+
38
+
39
+ class ChoiceDeltaToolCallFunction(BaseModel):
40
+ arguments: Optional[str] = None
41
+ """
42
+ The arguments to call the function with, as generated by the model in JSON
43
+ format. Note that the model does not always generate valid JSON, and may
44
+ hallucinate parameters not defined by your function schema. Validate the
45
+ arguments in your code before calling your function.
46
+ """
47
+
48
+ name: Optional[str] = None
49
+ """The name of the function to call."""
50
+
51
+
52
+ class ChoiceDeltaToolCall(BaseModel):
53
+ index: int
54
+
55
+ id: Optional[str] = None
56
+ """The ID of the tool call."""
57
+
58
+ function: Optional[ChoiceDeltaToolCallFunction] = None
59
+
60
+ type: Optional[Literal["function"]] = None
61
+ """The type of the tool. Currently, only `function` is supported."""
62
+
63
+
64
+ class ChoiceDelta(BaseModel):
65
+ """A chat completion delta generated by streamed model responses."""
66
+
67
+ content: Optional[str] = None
68
+ """The contents of the chunk message."""
69
+
70
+ function_call: Optional[ChoiceDeltaFunctionCall] = None
71
+ """Deprecated and replaced by `tool_calls`.
72
+
73
+ The name and arguments of a function that should be called, as generated by the
74
+ model.
75
+ """
76
+
77
+ refusal: Optional[str] = None
78
+ """The refusal message generated by the model."""
79
+
80
+ role: Optional[Literal["developer", "system", "user", "assistant", "tool"]] = None
81
+ """The role of the author of this message."""
82
+
83
+ tool_calls: Optional[List[ChoiceDeltaToolCall]] = None
84
+
85
+
86
+ class ChoiceLogprobs(BaseModel):
87
+ """Log probability information for the choice."""
88
+
89
+ content: Optional[List[ChatCompletionTokenLogprob]] = None
90
+ """A list of message content tokens with log probability information."""
91
+
92
+ refusal: Optional[List[ChatCompletionTokenLogprob]] = None
93
+ """A list of message refusal tokens with log probability information."""
94
+
95
+
96
+ class Choice(BaseModel):
97
+ delta: ChoiceDelta
98
+ """A chat completion delta generated by streamed model responses."""
99
+
100
+ finish_reason: Optional[Literal["stop", "length", "tool_calls", "content_filter", "function_call"]] = None
101
+ """The reason the model stopped generating tokens.
102
+
103
+ This will be `stop` if the model hit a natural stop point or a provided stop
104
+ sequence, `length` if the maximum number of tokens specified in the request was
105
+ reached, `content_filter` if content was omitted due to a flag from our content
106
+ filters, `tool_calls` if the model called a tool, or `function_call`
107
+ (deprecated) if the model called a function.
108
+ """
109
+
110
+ index: int
111
+ """The index of the choice in the list of choices."""
112
+
113
+ logprobs: Optional[ChoiceLogprobs] = None
114
+ """Log probability information for the choice."""
115
+
116
+
117
+ class ChatCompletionChunk(BaseModel):
118
+ """
119
+ Represents a streamed chunk of a chat completion response returned
120
+ by the model, based on the provided input.
121
+ [Learn more](https://platform.openai.com/docs/guides/streaming-responses).
122
+ """
123
+
124
+ id: str
125
+ """A unique identifier for the chat completion. Each chunk has the same ID."""
126
+
127
+ choices: List[Choice]
128
+ """A list of chat completion choices.
129
+
130
+ Can contain more than one elements if `n` is greater than 1. Can also be empty
131
+ for the last chunk if you set `stream_options: {"include_usage": true}`.
132
+ """
133
+
134
+ created: int
135
+ """The Unix timestamp (in seconds) of when the chat completion was created.
136
+
137
+ Each chunk has the same timestamp.
138
+ """
139
+
140
+ model: str
141
+ """The model to generate the completion."""
142
+
143
+ object: Literal["chat.completion.chunk"]
144
+ """The object type, which is always `chat.completion.chunk`."""
145
+
146
+ service_tier: Optional[Literal["auto", "default", "flex", "scale", "priority"]] = None
147
+ """Specifies the processing type used for serving the request.
148
+
149
+ - If set to 'auto', then the request will be processed with the service tier
150
+ configured in the Project settings. Unless otherwise configured, the Project
151
+ will use 'default'.
152
+ - If set to 'default', then the request will be processed with the standard
153
+ pricing and performance for the selected model.
154
+ - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or
155
+ '[priority](https://openai.com/api-priority-processing/)', then the request
156
+ will be processed with the corresponding service tier.
157
+ - When not set, the default behavior is 'auto'.
158
+
159
+ When the `service_tier` parameter is set, the response body will include the
160
+ `service_tier` value based on the processing mode actually used to serve the
161
+ request. This response value may be different from the value set in the
162
+ parameter.
163
+ """
164
+
165
+ system_fingerprint: Optional[str] = None
166
+ """
167
+ This fingerprint represents the backend configuration that the model runs with.
168
+ Can be used in conjunction with the `seed` request parameter to understand when
169
+ backend changes have been made that might impact determinism.
170
+ """
171
+
172
+ usage: Optional[CompletionUsage] = None
173
+ """
174
+ An optional field that will only be present when you set
175
+ `stream_options: {"include_usage": true}` in your request. When present, it
176
+ contains a null value **except for the last chunk** which contains the token
177
+ usage statistics for the entire request.
178
+
179
+ **NOTE:** If the stream is interrupted or cancelled, you may not receive the
180
+ final usage chunk which contains the total token usage for the request.
181
+ """
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_image_param.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["ChatCompletionContentPartImageParam", "ImageURL"]
8
+
9
+
10
+ class ImageURL(TypedDict, total=False):
11
+ url: Required[str]
12
+ """Either a URL of the image or the base64 encoded image data."""
13
+
14
+ detail: Literal["auto", "low", "high"]
15
+ """Specifies the detail level of the image.
16
+
17
+ Learn more in the
18
+ [Vision guide](https://platform.openai.com/docs/guides/vision#low-or-high-fidelity-image-understanding).
19
+ """
20
+
21
+
22
+ class ChatCompletionContentPartImageParam(TypedDict, total=False):
23
+ """Learn about [image inputs](https://platform.openai.com/docs/guides/vision)."""
24
+
25
+ image_url: Required[ImageURL]
26
+
27
+ type: Required[Literal["image_url"]]
28
+ """The type of the content part."""
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_input_audio_param.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["ChatCompletionContentPartInputAudioParam", "InputAudio"]
8
+
9
+
10
+ class InputAudio(TypedDict, total=False):
11
+ data: Required[str]
12
+ """Base64 encoded audio data."""
13
+
14
+ format: Required[Literal["wav", "mp3"]]
15
+ """The format of the encoded audio data. Currently supports "wav" and "mp3"."""
16
+
17
+
18
+ class ChatCompletionContentPartInputAudioParam(TypedDict, total=False):
19
+ """Learn about [audio inputs](https://platform.openai.com/docs/guides/audio)."""
20
+
21
+ input_audio: Required[InputAudio]
22
+
23
+ type: Required[Literal["input_audio"]]
24
+ """The type of the content part. Always `input_audio`."""
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_param.py ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
+
8
+ from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
9
+ from .chat_completion_content_part_image_param import ChatCompletionContentPartImageParam
10
+ from .chat_completion_content_part_input_audio_param import ChatCompletionContentPartInputAudioParam
11
+
12
+ __all__ = ["ChatCompletionContentPartParam", "File", "FileFile"]
13
+
14
+
15
+ class FileFile(TypedDict, total=False):
16
+ file_data: str
17
+ """
18
+ The base64 encoded file data, used when passing the file to the model as a
19
+ string.
20
+ """
21
+
22
+ file_id: str
23
+ """The ID of an uploaded file to use as input."""
24
+
25
+ filename: str
26
+ """The name of the file, used when passing the file to the model as a string."""
27
+
28
+
29
+ class File(TypedDict, total=False):
30
+ """
31
+ Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text generation.
32
+ """
33
+
34
+ file: Required[FileFile]
35
+
36
+ type: Required[Literal["file"]]
37
+ """The type of the content part. Always `file`."""
38
+
39
+
40
+ ChatCompletionContentPartParam: TypeAlias = Union[
41
+ ChatCompletionContentPartTextParam,
42
+ ChatCompletionContentPartImageParam,
43
+ ChatCompletionContentPartInputAudioParam,
44
+ File,
45
+ ]
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/openai/types/chat/chat_completion_content_part_refusal_param.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["ChatCompletionContentPartRefusalParam"]
8
+
9
+
10
+ class ChatCompletionContentPartRefusalParam(TypedDict, total=False):
11
+ refusal: Required[str]
12
+ """The refusal message generated by the model."""
13
+
14
+ type: Required[Literal["refusal"]]
15
+ """The type of the content part."""