dagster-openai 0.22.14__py3-none-any.whl → 0.23.0__py3-none-any.whl
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.
Potentially problematic release.
This version of dagster-openai might be problematic. Click here for more details.
- dagster_openai/resources.py +3 -1
- dagster_openai/version.py +1 -1
- {dagster_openai-0.22.14.dist-info → dagster_openai-0.23.0.dist-info}/METADATA +2 -2
- dagster_openai-0.23.0.dist-info/RECORD +8 -0
- dagster_openai-0.22.14.dist-info/RECORD +0 -8
- {dagster_openai-0.22.14.dist-info → dagster_openai-0.23.0.dist-info}/LICENSE +0 -0
- {dagster_openai-0.22.14.dist-info → dagster_openai-0.23.0.dist-info}/WHEEL +0 -0
- {dagster_openai-0.22.14.dist-info → dagster_openai-0.23.0.dist-info}/top_level.txt +0 -0
dagster_openai/resources.py
CHANGED
|
@@ -51,7 +51,9 @@ def _add_to_asset_metadata(
|
|
|
51
51
|
|
|
52
52
|
@public
|
|
53
53
|
@experimental
|
|
54
|
-
def with_usage_metadata(
|
|
54
|
+
def with_usage_metadata(
|
|
55
|
+
context: Union[AssetExecutionContext, OpExecutionContext], output_name: Optional[str], func
|
|
56
|
+
):
|
|
55
57
|
"""This wrapper can be used on any endpoint of the
|
|
56
58
|
`openai library <https://github.com/openai/openai-python>`
|
|
57
59
|
to log the OpenAI API usage metadata in the asset metadata.
|
dagster_openai/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.23.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dagster-openai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
4
4
|
Summary: A Open AI client resource for interacting with Open AI API.
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-openai
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -13,6 +13,6 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: dagster ==1.
|
|
16
|
+
Requires-Dist: dagster ==1.7.0
|
|
17
17
|
Requires-Dist: openai
|
|
18
18
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
dagster_openai/__init__.py,sha256=adh4dThgW_IPRcVpJSgRvZpd0dY0OY1c72uLYGMW7vk,270
|
|
2
|
+
dagster_openai/resources.py,sha256=U0WvlzstOxsWa7NI6AIVBLJGLSj2QbNU9Tk74FWuXjA,15015
|
|
3
|
+
dagster_openai/version.py,sha256=6bYcjtcATvc99ZNMjTUfPlrJP3-1WenVEc656roVn_I,23
|
|
4
|
+
dagster_openai-0.23.0.dist-info/LICENSE,sha256=HTQpxmWIpPec-pUSMBAj0wR44OnVdRmrWygQ-GUuVzQ,11349
|
|
5
|
+
dagster_openai-0.23.0.dist-info/METADATA,sha256=qXyhn_xzBbbhUIOkWI7SvhGgD0M1iYuodCNQYYTW71Q,694
|
|
6
|
+
dagster_openai-0.23.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
+
dagster_openai-0.23.0.dist-info/top_level.txt,sha256=-66JR-jWfULrYSXUk2AfOdXl8cQyyldzBvBmEQdKn9o,15
|
|
8
|
+
dagster_openai-0.23.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
dagster_openai/__init__.py,sha256=adh4dThgW_IPRcVpJSgRvZpd0dY0OY1c72uLYGMW7vk,270
|
|
2
|
-
dagster_openai/resources.py,sha256=ghxHyx9tJApE8VKrp_IQdaCoezV3mhHJQjkGs3Gg1D4,14982
|
|
3
|
-
dagster_openai/version.py,sha256=jyda_cqSZbwexWt3ATGl7DuFA5PyH-kDQX7yuu4V4Rk,24
|
|
4
|
-
dagster_openai-0.22.14.dist-info/LICENSE,sha256=HTQpxmWIpPec-pUSMBAj0wR44OnVdRmrWygQ-GUuVzQ,11349
|
|
5
|
-
dagster_openai-0.22.14.dist-info/METADATA,sha256=5lcEi16rD7m8AXGdmqAEdvzcEKqKqCvNs50KRG6Io9Q,696
|
|
6
|
-
dagster_openai-0.22.14.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
dagster_openai-0.22.14.dist-info/top_level.txt,sha256=-66JR-jWfULrYSXUk2AfOdXl8cQyyldzBvBmEQdKn9o,15
|
|
8
|
-
dagster_openai-0.22.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|