Skip to content

Commit 93c2368

Browse files
committed
Release 0.0.41
1 parent 0cd6f95 commit 93c2368

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.40"
6+
version = "0.0.41"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ client = Axiomatic(
10601060
api_key="YOUR_API_KEY",
10611061
)
10621062
client.pic.document.summarize(
1063-
query="query",
1063+
markdown="markdown",
10641064
images={"key": "value"},
10651065
)
10661066

@@ -1078,7 +1078,7 @@ client.pic.document.summarize(
10781078
<dl>
10791079
<dd>
10801080

1081-
**query:** `str`
1081+
**markdown:** `str`
10821082

10831083
</dd>
10841084
</dl>

src/axiomatic/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.40",
19+
"X-Fern-SDK-Version": "0.0.41",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/pic/document/client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2020
self._client_wrapper = client_wrapper
2121

2222
def summarize(
23-
self, *, query: str, images: typing.Dict[str, str], request_options: typing.Optional[RequestOptions] = None
23+
self, *, markdown: str, images: typing.Dict[str, str], request_options: typing.Optional[RequestOptions] = None
2424
) -> SummarizerResponse:
2525
"""
2626
Generate GDS factory code to create a PIC component
2727
2828
Parameters
2929
----------
30-
query : str
30+
markdown : str
3131
3232
images : typing.Dict[str, str]
3333
@@ -47,15 +47,15 @@ def summarize(
4747
api_key="YOUR_API_KEY",
4848
)
4949
client.pic.document.summarize(
50-
query="query",
50+
markdown="markdown",
5151
images={"key": "value"},
5252
)
5353
"""
5454
_response = self._client_wrapper.httpx_client.request(
5555
"pic/circuit/summarize",
5656
method="POST",
5757
json={
58-
"query": query,
58+
"markdown": markdown,
5959
"images": images,
6060
},
6161
headers={
@@ -94,14 +94,14 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
9494
self._client_wrapper = client_wrapper
9595

9696
async def summarize(
97-
self, *, query: str, images: typing.Dict[str, str], request_options: typing.Optional[RequestOptions] = None
97+
self, *, markdown: str, images: typing.Dict[str, str], request_options: typing.Optional[RequestOptions] = None
9898
) -> SummarizerResponse:
9999
"""
100100
Generate GDS factory code to create a PIC component
101101
102102
Parameters
103103
----------
104-
query : str
104+
markdown : str
105105
106106
images : typing.Dict[str, str]
107107
@@ -126,7 +126,7 @@ async def summarize(
126126
127127
async def main() -> None:
128128
await client.pic.document.summarize(
129-
query="query",
129+
markdown="markdown",
130130
images={"key": "value"},
131131
)
132132
@@ -137,7 +137,7 @@ async def main() -> None:
137137
"pic/circuit/summarize",
138138
method="POST",
139139
json={
140-
"query": query,
140+
"markdown": markdown,
141141
"images": images,
142142
},
143143
headers={

0 commit comments

Comments
 (0)