simile 0.3.10__tar.gz → 0.3.11__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.

Potentially problematic release.


This version of simile might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simile
3
- Version: 0.3.10
3
+ Version: 0.3.11
4
4
  Summary: Package for interfacing with Simile AI agents for simulation
5
5
  Author-email: Simile AI <cqz@simile.ai>
6
6
  License: MIT
@@ -46,3 +46,18 @@ from simile import Simile
46
46
 
47
47
  client = Simile(api_key="your_api_key")
48
48
  ```
49
+
50
+ ## Publishing
51
+
52
+ First, bump the version in `pyproject.toml`. Then, create the distribution files:
53
+ ```bash
54
+ python3 -m build
55
+ ```
56
+
57
+ Afterwards, use [Twine](https://pypi.org/project/twine/) to upload the package:
58
+ ```bash
59
+ pip install twine
60
+ twine upload dist/*
61
+ ```
62
+
63
+ If you need the PyPI credentials, please ask Carolyn or Chris.
@@ -0,0 +1,37 @@
1
+ # Simile API Python Client
2
+
3
+ A Python client for interacting with the Simile API server.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install simile
9
+ ```
10
+
11
+ ## Dependencies
12
+
13
+ - `httpx>=0.20.0`
14
+ - `pydantic>=2.0.0`
15
+
16
+ ## Usage
17
+
18
+ ```python
19
+ from simile import Simile
20
+
21
+ client = Simile(api_key="your_api_key")
22
+ ```
23
+
24
+ ## Publishing
25
+
26
+ First, bump the version in `pyproject.toml`. Then, create the distribution files:
27
+ ```bash
28
+ python3 -m build
29
+ ```
30
+
31
+ Afterwards, use [Twine](https://pypi.org/project/twine/) to upload the package:
32
+ ```bash
33
+ pip install twine
34
+ twine upload dist/*
35
+ ```
36
+
37
+ If you need the PyPI credentials, please ask Carolyn or Chris.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "simile"
7
- version = "0.3.10"
7
+ version = "0.3.11"
8
8
  authors = [
9
9
  { name="Simile AI", email="cqz@simile.ai" },
10
10
  ]
@@ -84,7 +84,7 @@ class OpenGenerationRequest(BaseModel):
84
84
  class OpenGenerationResponse(BaseModel):
85
85
  question: str
86
86
  answer: str
87
- reasoning: str
87
+ reasoning: Optional[str] = ""
88
88
 
89
89
 
90
90
  class ClosedGenerationRequest(BaseModel):
@@ -100,7 +100,7 @@ class ClosedGenerationResponse(BaseModel):
100
100
  question: str
101
101
  options: List[str]
102
102
  response: str
103
- reasoning: str
103
+ reasoning: Optional[str] = ""
104
104
 
105
105
 
106
106
  class AddContextRequest(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simile
3
- Version: 0.3.10
3
+ Version: 0.3.11
4
4
  Summary: Package for interfacing with Simile AI agents for simulation
5
5
  Author-email: Simile AI <cqz@simile.ai>
6
6
  License: MIT
@@ -46,3 +46,18 @@ from simile import Simile
46
46
 
47
47
  client = Simile(api_key="your_api_key")
48
48
  ```
49
+
50
+ ## Publishing
51
+
52
+ First, bump the version in `pyproject.toml`. Then, create the distribution files:
53
+ ```bash
54
+ python3 -m build
55
+ ```
56
+
57
+ Afterwards, use [Twine](https://pypi.org/project/twine/) to upload the package:
58
+ ```bash
59
+ pip install twine
60
+ twine upload dist/*
61
+ ```
62
+
63
+ If you need the PyPI credentials, please ask Carolyn or Chris.
simile-0.3.10/README.md DELETED
@@ -1,22 +0,0 @@
1
- # Simile API Python Client
2
-
3
- A Python client for interacting with the Simile API server.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- pip install simile
9
- ```
10
-
11
- ## Dependencies
12
-
13
- - `httpx>=0.20.0`
14
- - `pydantic>=2.0.0`
15
-
16
- ## Usage
17
-
18
- ```python
19
- from simile import Simile
20
-
21
- client = Simile(api_key="your_api_key")
22
- ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes