together 1.5.27__tar.gz → 1.5.29__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. {together-1.5.27 → together-1.5.29}/PKG-INFO +1 -1
  2. {together-1.5.27 → together-1.5.29}/pyproject.toml +1 -1
  3. {together-1.5.27 → together-1.5.29}/src/together/resources/images.py +4 -10
  4. {together-1.5.27 → together-1.5.29}/src/together/types/images.py +0 -2
  5. {together-1.5.27 → together-1.5.29}/src/together/types/models.py +1 -0
  6. {together-1.5.27 → together-1.5.29}/LICENSE +0 -0
  7. {together-1.5.27 → together-1.5.29}/README.md +0 -0
  8. {together-1.5.27 → together-1.5.29}/src/together/__init__.py +0 -0
  9. {together-1.5.27 → together-1.5.29}/src/together/abstract/__init__.py +0 -0
  10. {together-1.5.27 → together-1.5.29}/src/together/abstract/api_requestor.py +0 -0
  11. {together-1.5.27 → together-1.5.29}/src/together/cli/__init__.py +0 -0
  12. {together-1.5.27 → together-1.5.29}/src/together/cli/api/__init__.py +0 -0
  13. {together-1.5.27 → together-1.5.29}/src/together/cli/api/chat.py +0 -0
  14. {together-1.5.27 → together-1.5.29}/src/together/cli/api/completions.py +0 -0
  15. {together-1.5.27 → together-1.5.29}/src/together/cli/api/endpoints.py +0 -0
  16. {together-1.5.27 → together-1.5.29}/src/together/cli/api/evaluation.py +0 -0
  17. {together-1.5.27 → together-1.5.29}/src/together/cli/api/files.py +0 -0
  18. {together-1.5.27 → together-1.5.29}/src/together/cli/api/finetune.py +0 -0
  19. {together-1.5.27 → together-1.5.29}/src/together/cli/api/images.py +0 -0
  20. {together-1.5.27 → together-1.5.29}/src/together/cli/api/models.py +0 -0
  21. {together-1.5.27 → together-1.5.29}/src/together/cli/api/utils.py +0 -0
  22. {together-1.5.27 → together-1.5.29}/src/together/cli/cli.py +0 -0
  23. {together-1.5.27 → together-1.5.29}/src/together/client.py +0 -0
  24. {together-1.5.27 → together-1.5.29}/src/together/constants.py +0 -0
  25. {together-1.5.27 → together-1.5.29}/src/together/error.py +0 -0
  26. {together-1.5.27 → together-1.5.29}/src/together/filemanager.py +0 -0
  27. {together-1.5.27 → together-1.5.29}/src/together/legacy/__init__.py +0 -0
  28. {together-1.5.27 → together-1.5.29}/src/together/legacy/base.py +0 -0
  29. {together-1.5.27 → together-1.5.29}/src/together/legacy/complete.py +0 -0
  30. {together-1.5.27 → together-1.5.29}/src/together/legacy/embeddings.py +0 -0
  31. {together-1.5.27 → together-1.5.29}/src/together/legacy/files.py +0 -0
  32. {together-1.5.27 → together-1.5.29}/src/together/legacy/finetune.py +0 -0
  33. {together-1.5.27 → together-1.5.29}/src/together/legacy/images.py +0 -0
  34. {together-1.5.27 → together-1.5.29}/src/together/legacy/models.py +0 -0
  35. {together-1.5.27 → together-1.5.29}/src/together/resources/__init__.py +0 -0
  36. {together-1.5.27 → together-1.5.29}/src/together/resources/audio/__init__.py +0 -0
  37. {together-1.5.27 → together-1.5.29}/src/together/resources/audio/speech.py +0 -0
  38. {together-1.5.27 → together-1.5.29}/src/together/resources/audio/transcriptions.py +0 -0
  39. {together-1.5.27 → together-1.5.29}/src/together/resources/audio/translations.py +0 -0
  40. {together-1.5.27 → together-1.5.29}/src/together/resources/batch.py +0 -0
  41. {together-1.5.27 → together-1.5.29}/src/together/resources/chat/__init__.py +0 -0
  42. {together-1.5.27 → together-1.5.29}/src/together/resources/chat/completions.py +0 -0
  43. {together-1.5.27 → together-1.5.29}/src/together/resources/code_interpreter.py +0 -0
  44. {together-1.5.27 → together-1.5.29}/src/together/resources/completions.py +0 -0
  45. {together-1.5.27 → together-1.5.29}/src/together/resources/embeddings.py +0 -0
  46. {together-1.5.27 → together-1.5.29}/src/together/resources/endpoints.py +0 -0
  47. {together-1.5.27 → together-1.5.29}/src/together/resources/evaluation.py +0 -0
  48. {together-1.5.27 → together-1.5.29}/src/together/resources/files.py +0 -0
  49. {together-1.5.27 → together-1.5.29}/src/together/resources/finetune.py +0 -0
  50. {together-1.5.27 → together-1.5.29}/src/together/resources/models.py +0 -0
  51. {together-1.5.27 → together-1.5.29}/src/together/resources/rerank.py +0 -0
  52. {together-1.5.27 → together-1.5.29}/src/together/resources/videos.py +0 -0
  53. {together-1.5.27 → together-1.5.29}/src/together/together_response.py +0 -0
  54. {together-1.5.27 → together-1.5.29}/src/together/types/__init__.py +0 -0
  55. {together-1.5.27 → together-1.5.29}/src/together/types/abstract.py +0 -0
  56. {together-1.5.27 → together-1.5.29}/src/together/types/audio_speech.py +0 -0
  57. {together-1.5.27 → together-1.5.29}/src/together/types/batch.py +0 -0
  58. {together-1.5.27 → together-1.5.29}/src/together/types/chat_completions.py +0 -0
  59. {together-1.5.27 → together-1.5.29}/src/together/types/code_interpreter.py +0 -0
  60. {together-1.5.27 → together-1.5.29}/src/together/types/common.py +0 -0
  61. {together-1.5.27 → together-1.5.29}/src/together/types/completions.py +0 -0
  62. {together-1.5.27 → together-1.5.29}/src/together/types/embeddings.py +0 -0
  63. {together-1.5.27 → together-1.5.29}/src/together/types/endpoints.py +0 -0
  64. {together-1.5.27 → together-1.5.29}/src/together/types/error.py +0 -0
  65. {together-1.5.27 → together-1.5.29}/src/together/types/evaluation.py +0 -0
  66. {together-1.5.27 → together-1.5.29}/src/together/types/files.py +0 -0
  67. {together-1.5.27 → together-1.5.29}/src/together/types/finetune.py +0 -0
  68. {together-1.5.27 → together-1.5.29}/src/together/types/rerank.py +0 -0
  69. {together-1.5.27 → together-1.5.29}/src/together/types/videos.py +0 -0
  70. {together-1.5.27 → together-1.5.29}/src/together/utils/__init__.py +0 -0
  71. {together-1.5.27 → together-1.5.29}/src/together/utils/_log.py +0 -0
  72. {together-1.5.27 → together-1.5.29}/src/together/utils/api_helpers.py +0 -0
  73. {together-1.5.27 → together-1.5.29}/src/together/utils/files.py +0 -0
  74. {together-1.5.27 → together-1.5.29}/src/together/utils/tools.py +0 -0
  75. {together-1.5.27 → together-1.5.29}/src/together/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: together
3
- Version: 1.5.27
3
+ Version: 1.5.29
4
4
  Summary: Python client for Together's Cloud Platform!
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"
12
12
 
13
13
  [tool.poetry]
14
14
  name = "together"
15
- version = "1.5.27"
15
+ version = "1.5.29"
16
16
  authors = ["Together AI <support@together.ai>"]
17
17
  description = "Python client for Together's Cloud Platform!"
18
18
  readme = "README.md"
@@ -21,7 +21,6 @@ class Images:
21
21
  *,
22
22
  prompt: str,
23
23
  model: str,
24
- steps: int | None = 20,
25
24
  seed: int | None = None,
26
25
  n: int | None = 1,
27
26
  height: int | None = 1024,
@@ -37,8 +36,6 @@ class Images:
37
36
 
38
37
  model (str, optional): The model to use for image generation.
39
38
 
40
- steps (int, optional): Number of generation steps. Defaults to 20
41
-
42
39
  seed (int, optional): Seed used for generation. Can be used to reproduce image generations.
43
40
  Defaults to None.
44
41
 
@@ -51,7 +48,8 @@ class Images:
51
48
  negative_prompt (str, optional): The prompt or prompts not to guide the image generation.
52
49
  Defaults to None
53
50
 
54
- image_base64: (str, optional): Reference image used for generation. Defaults to None.
51
+ **kwargs: Additional parameters like steps (int, optional): Number of generation steps,
52
+ image_base64 (str, optional): Reference image used for generation, etc.
55
53
 
56
54
  Returns:
57
55
  ImageResponse: Object containing image data
@@ -64,7 +62,6 @@ class Images:
64
62
  parameter_payload = ImageRequest(
65
63
  prompt=prompt,
66
64
  model=model,
67
- steps=steps,
68
65
  seed=seed,
69
66
  n=n,
70
67
  height=height,
@@ -96,7 +93,6 @@ class AsyncImages:
96
93
  *,
97
94
  prompt: str,
98
95
  model: str,
99
- steps: int | None = 20,
100
96
  seed: int | None = None,
101
97
  n: int | None = 1,
102
98
  height: int | None = 1024,
@@ -112,8 +108,6 @@ class AsyncImages:
112
108
 
113
109
  model (str, optional): The model to use for image generation.
114
110
 
115
- steps (int, optional): Number of generation steps. Defaults to 20
116
-
117
111
  seed (int, optional): Seed used for generation. Can be used to reproduce image generations.
118
112
  Defaults to None.
119
113
 
@@ -126,7 +120,8 @@ class AsyncImages:
126
120
  negative_prompt (str, optional): The prompt or prompts not to guide the image generation.
127
121
  Defaults to None
128
122
 
129
- image_base64: (str, optional): Reference image used for generation. Defaults to None.
123
+ **kwargs: Additional parameters like steps (int, optional): Number of generation steps,
124
+ image_base64 (str, optional): Reference image used for generation, etc.
130
125
 
131
126
  Returns:
132
127
  ImageResponse: Object containing image data
@@ -139,7 +134,6 @@ class AsyncImages:
139
134
  parameter_payload = ImageRequest(
140
135
  prompt=prompt,
141
136
  model=model,
142
- steps=steps,
143
137
  seed=seed,
144
138
  n=n,
145
139
  height=height,
@@ -10,8 +10,6 @@ class ImageRequest(BaseModel):
10
10
  prompt: str
11
11
  # model to query
12
12
  model: str
13
- # num generation steps
14
- steps: int | None = 20
15
13
  # seed
16
14
  seed: int | None = None
17
15
  # number of results to return
@@ -17,6 +17,7 @@ class ModelType(str, Enum):
17
17
  RERANK = "rerank"
18
18
  AUDIO = "audio"
19
19
  TRANSCRIBE = "transcribe"
20
+ VIDEO = "video"
20
21
 
21
22
 
22
23
  class PricingObject(BaseModel):
File without changes
File without changes