You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 76e0208
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## 0.1.0-alpha.4 (2024-03-05)
4
+
5
+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/maisaai/python-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
6
+
7
+
### Features
8
+
9
+
* update via SDK Studio ([#16](https://github.com/maisaai/python-sdk/issues/16)) ([c67fc05](https://github.com/maisaai/python-sdk/commit/c67fc05ae116d31bb6113c12b26c4192d1d669ee))
10
+
3
11
## 0.1.0-alpha.3 (2024-02-20)
4
12
5
13
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/clibrain/python-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
Most tests will require you to [setup a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
85
+
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
86
86
87
87
```bash
88
88
# you will need npm installed
@@ -117,7 +117,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
117
117
118
118
### Publish with a GitHub workflow
119
119
120
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/clibrain/python-sdk/actions/workflows/publish-pypi.yml). This will require a setup organization or repository secret to be set up.
120
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/maisaai/python-sdk/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
embedding= response.parse() # get the object that `models.embeddings.create()` would have returned
212
-
print(embedding.embeddings)
212
+
capability= response.parse() # get the object that `capabilities.summarize()` would have returned
213
+
print(capability.summary)
213
214
```
214
215
215
-
These methods return an [`APIResponse`](https://github.com/clibrain/python-sdk/tree/main/src/maisa/_response.py) object.
216
+
These methods return an [`APIResponse`](https://github.com/maisaai/python-sdk/tree/main/src/maisa/_response.py) object.
216
217
217
-
The async client returns an [`AsyncAPIResponse`](https://github.com/clibrain/python-sdk/tree/main/src/maisa/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
218
+
The async client returns an [`AsyncAPIResponse`](https://github.com/maisaai/python-sdk/tree/main/src/maisa/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
218
219
219
220
#### `.with_streaming_response`
220
221
@@ -223,8 +224,8 @@ The above interface eagerly reads the full response body when you make the reque
223
224
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
224
225
225
226
```python
226
-
with client.models.embeddings.with_streaming_response.create(
227
-
texts=["string"],
227
+
with client.capabilities.with_streaming_response.summarize(
228
+
text="Example long text...",
228
229
) as response:
229
230
print(response.headers.get("X-My-Header"))
230
231
@@ -270,7 +271,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
270
271
271
272
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
272
273
273
-
We are keen for your feedback; please open an [issue](https://www.github.com/clibrain/python-sdk/issues) with questions, bugs, or suggestions.
274
+
We are keen for your feedback; please open an [issue](https://www.github.com/maisaai/python-sdk/issues) with questions, bugs, or suggestions.
0 commit comments