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.
- {simile-0.3.10 → simile-0.3.11}/PKG-INFO +16 -1
- simile-0.3.11/README.md +37 -0
- {simile-0.3.10 → simile-0.3.11}/pyproject.toml +1 -1
- {simile-0.3.10 → simile-0.3.11}/simile/models.py +2 -2
- {simile-0.3.10 → simile-0.3.11}/simile.egg-info/PKG-INFO +16 -1
- simile-0.3.10/README.md +0 -22
- {simile-0.3.10 → simile-0.3.11}/LICENSE +0 -0
- {simile-0.3.10 → simile-0.3.11}/setup.cfg +0 -0
- {simile-0.3.10 → simile-0.3.11}/setup.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile/__init__.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile/auth_client.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile/client.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile/exceptions.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile/resources.py +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile.egg-info/SOURCES.txt +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile.egg-info/dependency_links.txt +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile.egg-info/requires.txt +0 -0
- {simile-0.3.10 → simile-0.3.11}/simile.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simile
|
|
3
|
-
Version: 0.3.
|
|
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.11/README.md
ADDED
|
@@ -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.
|
|
@@ -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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|