chatterer 0.1.4__py3-none-any.whl → 0.1.5__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.
- chatterer/language_model.py +2 -2
- {chatterer-0.1.4.dist-info → chatterer-0.1.5.dist-info}/METADATA +1 -1
- {chatterer-0.1.4.dist-info → chatterer-0.1.5.dist-info}/RECORD +5 -5
- {chatterer-0.1.4.dist-info → chatterer-0.1.5.dist-info}/WHEEL +0 -0
- {chatterer-0.1.4.dist-info → chatterer-0.1.5.dist-info}/top_level.txt +0 -0
chatterer/language_model.py
CHANGED
@@ -31,12 +31,12 @@ class Chatterer(BaseModel):
|
|
31
31
|
@classmethod
|
32
32
|
def openai(
|
33
33
|
cls,
|
34
|
-
|
34
|
+
model: str = "gpt-4o-mini",
|
35
35
|
structured_output_kwargs: Optional[dict[str, Any]] = {"strict": True},
|
36
36
|
) -> Self:
|
37
37
|
from langchain_openai import ChatOpenAI
|
38
38
|
|
39
|
-
return cls(client=ChatOpenAI(
|
39
|
+
return cls(client=ChatOpenAI(model=model), structured_output_kwargs=structured_output_kwargs or {})
|
40
40
|
|
41
41
|
@classmethod
|
42
42
|
def anthropic(
|
@@ -1,9 +1,9 @@
|
|
1
1
|
chatterer/__init__.py,sha256=jLwLwmF65vqnuC22lYs6CZT105DqJuNBiladUg902HM,427
|
2
|
-
chatterer/language_model.py,sha256=
|
2
|
+
chatterer/language_model.py,sha256=5YRThDzTUs3uGzJ1Aoh5zzFw3qlpkNW9rjHslyJEVcs,39232
|
3
3
|
chatterer/strategies/__init__.py,sha256=AKDBC06AdNjPskERssCOsz3qGfFN31mxklmnfhHatJo,389
|
4
4
|
chatterer/strategies/atom_of_thoughts.py,sha256=VywNKwp_6QB2gTmjbb_YDmrlUmMMc-lyVFENKULWtuU,24882
|
5
5
|
chatterer/strategies/base.py,sha256=b2gMPqodp97OP1dkHfj0UqixjdjVhmTw_V5qJ7i2S6g,427
|
6
|
-
chatterer-0.1.
|
7
|
-
chatterer-0.1.
|
8
|
-
chatterer-0.1.
|
9
|
-
chatterer-0.1.
|
6
|
+
chatterer-0.1.5.dist-info/METADATA,sha256=o07y2QFy6XMkhffUisoBU_den62ykXxF0gvtXKRqMSQ,3373
|
7
|
+
chatterer-0.1.5.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
8
|
+
chatterer-0.1.5.dist-info/top_level.txt,sha256=7nSQKP0bHxPRc7HyzdbKsJdkvPgYD0214o6slRizv9s,10
|
9
|
+
chatterer-0.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|