chatterer 0.1.4__tar.gz → 0.1.5__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.2
2
2
  Name: chatterer
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: The highest-level interface for various LLM APIs.
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -31,12 +31,12 @@ class Chatterer(BaseModel):
31
31
  @classmethod
32
32
  def openai(
33
33
  cls,
34
- name: str = "gpt-4o-mini",
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(name=name), structured_output_kwargs=structured_output_kwargs or {})
39
+ return cls(client=ChatOpenAI(model=model), structured_output_kwargs=structured_output_kwargs or {})
40
40
 
41
41
  @classmethod
42
42
  def anthropic(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: chatterer
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: The highest-level interface for various LLM APIs.
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "chatterer"
3
- version = "0.1.4"
3
+ version = "0.1.5"
4
4
  description = "The highest-level interface for various LLM APIs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
File without changes
File without changes