ZTWHHH commited on
Commit
b9de71d
·
verified ·
1 Parent(s): 33889ce

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. vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_errors.cpython-310.pyc +0 -0
  2. vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_models.cpython-310.pyc +0 -0
  3. vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_progress.cpython-310.pyc +0 -0
  4. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/__init__.cpython-310.pyc +0 -0
  5. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/_main.cpython-310.pyc +0 -0
  6. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/audio.cpython-310.pyc +0 -0
  7. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/completions.cpython-310.pyc +0 -0
  8. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/files.cpython-310.pyc +0 -0
  9. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/image.cpython-310.pyc +0 -0
  10. vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/models.cpython-310.pyc +0 -0
  11. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/__init__.cpython-310.pyc +0 -0
  12. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant.cpython-310.pyc +0 -0
  13. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_deleted.cpython-310.pyc +0 -0
  14. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_response_format_option_param.cpython-310.pyc +0 -0
  15. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_stream_event.cpython-310.pyc +0 -0
  16. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice.cpython-310.pyc +0 -0
  17. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice_function_param.cpython-310.pyc +0 -0
  18. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice_param.cpython-310.pyc +0 -0
  19. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/code_interpreter_tool_param.cpython-310.pyc +0 -0
  20. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_chunking_strategy.cpython-310.pyc +0 -0
  21. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_chunking_strategy_param.cpython-310.pyc +0 -0
  22. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_search_tool.cpython-310.pyc +0 -0
  23. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_search_tool_param.cpython-310.pyc +0 -0
  24. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/function_tool_param.cpython-310.pyc +0 -0
  25. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/other_file_chunking_strategy_object.cpython-310.pyc +0 -0
  26. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy.cpython-310.pyc +0 -0
  27. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy_object.cpython-310.pyc +0 -0
  28. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy_param.cpython-310.pyc +0 -0
  29. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_create_params.cpython-310.pyc +0 -0
  30. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_deleted.cpython-310.pyc +0 -0
  31. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_update_params.cpython-310.pyc +0 -0
  32. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store.cpython-310.pyc +0 -0
  33. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_deleted.cpython-310.pyc +0 -0
  34. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_list_params.cpython-310.pyc +0 -0
  35. vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_update_params.cpython-310.pyc +0 -0
  36. vllm/lib/python3.10/site-packages/openai/types/beta/chat/__pycache__/__init__.cpython-310.pyc +0 -0
  37. vllm/lib/python3.10/site-packages/openai/types/beta/threads/__init__.py +46 -0
  38. vllm/lib/python3.10/site-packages/openai/types/beta/threads/annotation.py +12 -0
  39. vllm/lib/python3.10/site-packages/openai/types/beta/threads/annotation_delta.py +14 -0
  40. vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_citation_annotation.py +26 -0
  41. vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_path_annotation.py +26 -0
  42. vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_path_delta_annotation.py +30 -0
  43. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file.py +23 -0
  44. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_content_block.py +15 -0
  45. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_content_block_param.py +16 -0
  46. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_delta.py +23 -0
  47. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_delta_block.py +19 -0
  48. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_param.py +22 -0
  49. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_url.py +23 -0
  50. vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_url_content_block.py +15 -0
vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_errors.cpython-310.pyc ADDED
Binary file (985 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_models.cpython-310.pyc ADDED
Binary file (910 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/cli/__pycache__/_progress.cpython-310.pyc ADDED
Binary file (2.55 kB). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (212 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/_main.cpython-310.pyc ADDED
Binary file (719 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/audio.cpython-310.pyc ADDED
Binary file (3.22 kB). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/completions.cpython-310.pyc ADDED
Binary file (5.92 kB). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/files.cpython-310.pyc ADDED
Binary file (2.76 kB). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/image.cpython-310.pyc ADDED
Binary file (4.2 kB). View file
 
vllm/lib/python3.10/site-packages/openai/cli/_api/__pycache__/models.cpython-310.pyc ADDED
Binary file (1.87 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (2.95 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant.cpython-310.pyc ADDED
Binary file (1.8 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_deleted.cpython-310.pyc ADDED
Binary file (562 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_response_format_option_param.cpython-310.pyc ADDED
Binary file (732 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_stream_event.cpython-310.pyc ADDED
Binary file (5.24 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice.cpython-310.pyc ADDED
Binary file (715 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice_function_param.cpython-310.pyc ADDED
Binary file (575 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/assistant_tool_choice_param.cpython-310.pyc ADDED
Binary file (752 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/code_interpreter_tool_param.cpython-310.pyc ADDED
Binary file (600 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_chunking_strategy.cpython-310.pyc ADDED
Binary file (651 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_chunking_strategy_param.cpython-310.pyc ADDED
Binary file (598 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_search_tool.cpython-310.pyc ADDED
Binary file (1.12 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/file_search_tool_param.cpython-310.pyc ADDED
Binary file (1.03 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/function_tool_param.cpython-310.pyc ADDED
Binary file (708 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/other_file_chunking_strategy_object.cpython-310.pyc ADDED
Binary file (539 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy.cpython-310.pyc ADDED
Binary file (516 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy_object.cpython-310.pyc ADDED
Binary file (642 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/static_file_chunking_strategy_param.cpython-310.pyc ADDED
Binary file (626 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_create_params.cpython-310.pyc ADDED
Binary file (2.69 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_deleted.cpython-310.pyc ADDED
Binary file (553 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/thread_update_params.cpython-310.pyc ADDED
Binary file (1.2 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store.cpython-310.pyc ADDED
Binary file (1.39 kB). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_deleted.cpython-310.pyc ADDED
Binary file (570 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_list_params.cpython-310.pyc ADDED
Binary file (635 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/__pycache__/vector_store_update_params.cpython-310.pyc ADDED
Binary file (936 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/chat/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (218 Bytes). View file
 
vllm/lib/python3.10/site-packages/openai/types/beta/threads/__init__.py ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .run import Run as Run
6
+ from .text import Text as Text
7
+ from .message import Message as Message
8
+ from .image_url import ImageURL as ImageURL
9
+ from .annotation import Annotation as Annotation
10
+ from .image_file import ImageFile as ImageFile
11
+ from .run_status import RunStatus as RunStatus
12
+ from .text_delta import TextDelta as TextDelta
13
+ from .message_delta import MessageDelta as MessageDelta
14
+ from .image_url_delta import ImageURLDelta as ImageURLDelta
15
+ from .image_url_param import ImageURLParam as ImageURLParam
16
+ from .message_content import MessageContent as MessageContent
17
+ from .message_deleted import MessageDeleted as MessageDeleted
18
+ from .run_list_params import RunListParams as RunListParams
19
+ from .annotation_delta import AnnotationDelta as AnnotationDelta
20
+ from .image_file_delta import ImageFileDelta as ImageFileDelta
21
+ from .image_file_param import ImageFileParam as ImageFileParam
22
+ from .text_delta_block import TextDeltaBlock as TextDeltaBlock
23
+ from .run_create_params import RunCreateParams as RunCreateParams
24
+ from .run_update_params import RunUpdateParams as RunUpdateParams
25
+ from .text_content_block import TextContentBlock as TextContentBlock
26
+ from .message_delta_event import MessageDeltaEvent as MessageDeltaEvent
27
+ from .message_list_params import MessageListParams as MessageListParams
28
+ from .refusal_delta_block import RefusalDeltaBlock as RefusalDeltaBlock
29
+ from .file_path_annotation import FilePathAnnotation as FilePathAnnotation
30
+ from .image_url_delta_block import ImageURLDeltaBlock as ImageURLDeltaBlock
31
+ from .message_content_delta import MessageContentDelta as MessageContentDelta
32
+ from .message_create_params import MessageCreateParams as MessageCreateParams
33
+ from .message_update_params import MessageUpdateParams as MessageUpdateParams
34
+ from .refusal_content_block import RefusalContentBlock as RefusalContentBlock
35
+ from .image_file_delta_block import ImageFileDeltaBlock as ImageFileDeltaBlock
36
+ from .image_url_content_block import ImageURLContentBlock as ImageURLContentBlock
37
+ from .file_citation_annotation import FileCitationAnnotation as FileCitationAnnotation
38
+ from .image_file_content_block import ImageFileContentBlock as ImageFileContentBlock
39
+ from .text_content_block_param import TextContentBlockParam as TextContentBlockParam
40
+ from .file_path_delta_annotation import FilePathDeltaAnnotation as FilePathDeltaAnnotation
41
+ from .message_content_part_param import MessageContentPartParam as MessageContentPartParam
42
+ from .image_url_content_block_param import ImageURLContentBlockParam as ImageURLContentBlockParam
43
+ from .file_citation_delta_annotation import FileCitationDeltaAnnotation as FileCitationDeltaAnnotation
44
+ from .image_file_content_block_param import ImageFileContentBlockParam as ImageFileContentBlockParam
45
+ from .run_submit_tool_outputs_params import RunSubmitToolOutputsParams as RunSubmitToolOutputsParams
46
+ from .required_action_function_tool_call import RequiredActionFunctionToolCall as RequiredActionFunctionToolCall
vllm/lib/python3.10/site-packages/openai/types/beta/threads/annotation.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import Annotated, TypeAlias
5
+
6
+ from ...._utils import PropertyInfo
7
+ from .file_path_annotation import FilePathAnnotation
8
+ from .file_citation_annotation import FileCitationAnnotation
9
+
10
+ __all__ = ["Annotation"]
11
+
12
+ Annotation: TypeAlias = Annotated[Union[FileCitationAnnotation, FilePathAnnotation], PropertyInfo(discriminator="type")]
vllm/lib/python3.10/site-packages/openai/types/beta/threads/annotation_delta.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import Annotated, TypeAlias
5
+
6
+ from ...._utils import PropertyInfo
7
+ from .file_path_delta_annotation import FilePathDeltaAnnotation
8
+ from .file_citation_delta_annotation import FileCitationDeltaAnnotation
9
+
10
+ __all__ = ["AnnotationDelta"]
11
+
12
+ AnnotationDelta: TypeAlias = Annotated[
13
+ Union[FileCitationDeltaAnnotation, FilePathDeltaAnnotation], PropertyInfo(discriminator="type")
14
+ ]
vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_citation_annotation.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+
7
+ __all__ = ["FileCitationAnnotation", "FileCitation"]
8
+
9
+
10
+ class FileCitation(BaseModel):
11
+ file_id: str
12
+ """The ID of the specific File the citation is from."""
13
+
14
+
15
+ class FileCitationAnnotation(BaseModel):
16
+ end_index: int
17
+
18
+ file_citation: FileCitation
19
+
20
+ start_index: int
21
+
22
+ text: str
23
+ """The text in the message content that needs to be replaced."""
24
+
25
+ type: Literal["file_citation"]
26
+ """Always `file_citation`."""
vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_path_annotation.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+
7
+ __all__ = ["FilePathAnnotation", "FilePath"]
8
+
9
+
10
+ class FilePath(BaseModel):
11
+ file_id: str
12
+ """The ID of the file that was generated."""
13
+
14
+
15
+ class FilePathAnnotation(BaseModel):
16
+ end_index: int
17
+
18
+ file_path: FilePath
19
+
20
+ start_index: int
21
+
22
+ text: str
23
+ """The text in the message content that needs to be replaced."""
24
+
25
+ type: Literal["file_path"]
26
+ """Always `file_path`."""
vllm/lib/python3.10/site-packages/openai/types/beta/threads/file_path_delta_annotation.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["FilePathDeltaAnnotation", "FilePath"]
9
+
10
+
11
+ class FilePath(BaseModel):
12
+ file_id: Optional[str] = None
13
+ """The ID of the file that was generated."""
14
+
15
+
16
+ class FilePathDeltaAnnotation(BaseModel):
17
+ index: int
18
+ """The index of the annotation in the text content part."""
19
+
20
+ type: Literal["file_path"]
21
+ """Always `file_path`."""
22
+
23
+ end_index: Optional[int] = None
24
+
25
+ file_path: Optional[FilePath] = None
26
+
27
+ start_index: Optional[int] = None
28
+
29
+ text: Optional[str] = None
30
+ """The text in the message content that needs to be replaced."""
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["ImageFile"]
9
+
10
+
11
+ class ImageFile(BaseModel):
12
+ file_id: str
13
+ """
14
+ The [File](https://platform.openai.com/docs/api-reference/files) ID of the image
15
+ in the message content. Set `purpose="vision"` when uploading the File if you
16
+ need to later display the file content.
17
+ """
18
+
19
+ detail: Optional[Literal["auto", "low", "high"]] = None
20
+ """Specifies the detail level of the image if specified by the user.
21
+
22
+ `low` uses fewer tokens, you can opt in to high resolution using `high`.
23
+ """
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_content_block.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+ from .image_file import ImageFile
7
+
8
+ __all__ = ["ImageFileContentBlock"]
9
+
10
+
11
+ class ImageFileContentBlock(BaseModel):
12
+ image_file: ImageFile
13
+
14
+ type: Literal["image_file"]
15
+ """Always `image_file`."""
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_content_block_param.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 .image_file_param import ImageFileParam
8
+
9
+ __all__ = ["ImageFileContentBlockParam"]
10
+
11
+
12
+ class ImageFileContentBlockParam(TypedDict, total=False):
13
+ image_file: Required[ImageFileParam]
14
+
15
+ type: Required[Literal["image_file"]]
16
+ """Always `image_file`."""
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_delta.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["ImageFileDelta"]
9
+
10
+
11
+ class ImageFileDelta(BaseModel):
12
+ detail: Optional[Literal["auto", "low", "high"]] = None
13
+ """Specifies the detail level of the image if specified by the user.
14
+
15
+ `low` uses fewer tokens, you can opt in to high resolution using `high`.
16
+ """
17
+
18
+ file_id: Optional[str] = None
19
+ """
20
+ The [File](https://platform.openai.com/docs/api-reference/files) ID of the image
21
+ in the message content. Set `purpose="vision"` when uploading the File if you
22
+ need to later display the file content.
23
+ """
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_delta_block.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ...._models import BaseModel
7
+ from .image_file_delta import ImageFileDelta
8
+
9
+ __all__ = ["ImageFileDeltaBlock"]
10
+
11
+
12
+ class ImageFileDeltaBlock(BaseModel):
13
+ index: int
14
+ """The index of the content part in the message."""
15
+
16
+ type: Literal["image_file"]
17
+ """Always `image_file`."""
18
+
19
+ image_file: Optional[ImageFileDelta] = None
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_file_param.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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__ = ["ImageFileParam"]
8
+
9
+
10
+ class ImageFileParam(TypedDict, total=False):
11
+ file_id: Required[str]
12
+ """
13
+ The [File](https://platform.openai.com/docs/api-reference/files) ID of the image
14
+ in the message content. Set `purpose="vision"` when uploading the File if you
15
+ need to later display the file content.
16
+ """
17
+
18
+ detail: Literal["auto", "low", "high"]
19
+ """Specifies the detail level of the image if specified by the user.
20
+
21
+ `low` uses fewer tokens, you can opt in to high resolution using `high`.
22
+ """
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_url.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["ImageURL"]
9
+
10
+
11
+ class ImageURL(BaseModel):
12
+ url: str
13
+ """
14
+ The external URL of the image, must be a supported image types: jpeg, jpg, png,
15
+ gif, webp.
16
+ """
17
+
18
+ detail: Optional[Literal["auto", "low", "high"]] = None
19
+ """Specifies the detail level of the image.
20
+
21
+ `low` uses fewer tokens, you can opt in to high resolution using `high`. Default
22
+ value is `auto`
23
+ """
vllm/lib/python3.10/site-packages/openai/types/beta/threads/image_url_content_block.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from .image_url import ImageURL
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["ImageURLContentBlock"]
9
+
10
+
11
+ class ImageURLContentBlock(BaseModel):
12
+ image_url: ImageURL
13
+
14
+ type: Literal["image_url"]
15
+ """The type of the content part."""