oocana 0.16.8__tar.gz → 0.16.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oocana
3
- Version: 0.16.8
3
+ Version: 0.16.9
4
4
  Summary: python implement of oocana to give a context for oocana block
5
5
  License: MIT
6
6
  Requires-Python: >=3.9
@@ -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
@@ -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,6 +1,6 @@
1
1
  [project]
2
2
  name = "oocana"
3
- version = "0.16.8"
3
+ version = "0.16.9"
4
4
  description = "python implement of oocana to give a context for oocana block"
5
5
  dependencies = [
6
6
  "paho-mqtt>=2",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes