oocana 0.16.8__py3-none-any.whl → 0.16.9__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.
- oocana/__init__.py +2 -1
- oocana/extra.py +13 -0
- {oocana-0.16.8.dist-info → oocana-0.16.9.dist-info}/METADATA +1 -1
- {oocana-0.16.8.dist-info → oocana-0.16.9.dist-info}/RECORD +6 -5
- {oocana-0.16.8.dist-info → oocana-0.16.9.dist-info}/WHEEL +0 -0
- {oocana-0.16.8.dist-info → oocana-0.16.9.dist-info}/entry_points.txt +0 -0
oocana/__init__.py
CHANGED
@@ -3,5 +3,6 @@ from .context import * # noqa: F403
|
|
3
3
|
from .service import * # noqa: F403
|
4
4
|
from .handle_data import * # noqa: F403
|
5
5
|
from .preview import * # noqa: F403
|
6
|
+
from .extra import * # noqa: F403
|
6
7
|
from .schema import * # noqa: F403
|
7
|
-
from .mainframe import Mainframe as Mainframe # noqa: F403
|
8
|
+
from .mainframe import Mainframe as Mainframe # noqa: F403
|
oocana/extra.py
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
from typing import Literal, TypedDict
|
2
|
+
|
3
|
+
__all__ = ["LLMModelOptions", "LLMMessage"]
|
4
|
+
|
5
|
+
class LLMModelOptions(TypedDict):
|
6
|
+
model: str
|
7
|
+
temperature: float
|
8
|
+
top_p: float
|
9
|
+
max_tokens: int
|
10
|
+
|
11
|
+
class LLMMessage(TypedDict):
|
12
|
+
role: Literal["system", "user", "assistant"]
|
13
|
+
content: str
|
@@ -1,13 +1,14 @@
|
|
1
|
-
oocana-0.16.
|
2
|
-
oocana-0.16.
|
3
|
-
oocana-0.16.
|
4
|
-
oocana/__init__.py,sha256=
|
1
|
+
oocana-0.16.9.dist-info/METADATA,sha256=G_tNXd71n6dTXHfvfkCZkNE6OhGlTDKXNNcXvgzTTS4,221
|
2
|
+
oocana-0.16.9.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
oocana-0.16.9.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
oocana/__init__.py,sha256=kuZa-aY4bqStH_15K4KL9hjOeO9d-M9mJYKs4fm3n08,317
|
5
5
|
oocana/context.py,sha256=5wWUZr4BjojizFH-9yeadWvIpiUt2v7wUN3b7y34CFc,14677
|
6
6
|
oocana/data.py,sha256=0KpJyckz_X5JbrncBRFbOaU00CxcDx2UYHk6xuH1Poc,2890
|
7
|
+
oocana/extra.py,sha256=1f7cu0QA3jnb6PJtEDXMsQOSGWtjUhsRz82DaPRyjKY,289
|
7
8
|
oocana/handle_data.py,sha256=p0iEvdsVV3BqcelM8rvq0a_VPI52SeahaGCszfhZ0TI,1927
|
8
9
|
oocana/mainframe.py,sha256=Jixk9PjvJh7PnYwPGqOR5viwcOHWfaPhEiQFNHxHCxw,5219
|
9
10
|
oocana/preview.py,sha256=qJEoBQWno0BkuU501vd16VwE0okTC3PydFc_jpkwc98,2096
|
10
11
|
oocana/schema.py,sha256=8LwMaW4eXa3EmKxR4kzyTOpZiClMRMMsMA6f9CXodW4,4332
|
11
12
|
oocana/service.py,sha256=dPCcScQfMBlEjIodFnKU17-HlbBzrQbQK6CNRw7SmOE,2442
|
12
13
|
oocana/throtter.py,sha256=xTldm2OZ5uYPiyC6Aatug4FJAoMylPjtXftxHvSr_50,1104
|
13
|
-
oocana-0.16.
|
14
|
+
oocana-0.16.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|