Skip to content

Commit 69d3882

Browse files
committed
Release 0.0.143
1 parent 7b1a50a commit 69d3882

File tree

11 files changed

+435
-9
lines changed

11 files changed

+435
-9
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.142"
6+
version = "0.0.143"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 121 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ client = Axiomatic(
11291129
api_key="YOUR_API_KEY",
11301130
)
11311131
client.digital_twin.optimize(
1132-
model_name="PNJunctionSiliconOnInsulatorWavelength",
1132+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
11331133
parameters=[
11341134
NamedQuantity(
11351135
name="name",
@@ -1307,7 +1307,7 @@ client = Axiomatic(
13071307
api_key="YOUR_API_KEY",
13081308
)
13091309
client.digital_twin.evaluate(
1310-
model_name="PNJunctionSiliconOnInsulatorWavelength",
1310+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
13111311
parameters=[
13121312
NamedQuantity(
13131313
name="name",
@@ -2028,6 +2028,125 @@ client.document.expression.process(
20282028
</dl>
20292029

20302030

2031+
</dd>
2032+
</dl>
2033+
</details>
2034+
2035+
<details><summary><code>client.document.expression.<a href="src/axiomatic/document/expression/client.py">sympy_plot</a>(...)</code></summary>
2036+
<dl>
2037+
<dd>
2038+
2039+
#### 📝 Description
2040+
2041+
<dl>
2042+
<dd>
2043+
2044+
<dl>
2045+
<dd>
2046+
2047+
generate a sympy plot for a given expression
2048+
</dd>
2049+
</dl>
2050+
</dd>
2051+
</dl>
2052+
2053+
#### 🔌 Usage
2054+
2055+
<dl>
2056+
<dd>
2057+
2058+
<dl>
2059+
<dd>
2060+
2061+
```python
2062+
from axiomatic import (
2063+
Axiomatic,
2064+
Expression,
2065+
Symbol,
2066+
SympyPlotVariable,
2067+
ValidationResult,
2068+
)
2069+
2070+
client = Axiomatic(
2071+
api_key="YOUR_API_KEY",
2072+
)
2073+
client.document.expression.sympy_plot(
2074+
expression=Expression(
2075+
name="name",
2076+
description="description",
2077+
original_format="original_format",
2078+
wolfram_expression="wolfram_expression",
2079+
symbols={
2080+
"key": Symbol(
2081+
name="name",
2082+
wolfram_format="wolfram_format",
2083+
latex_representation="latex_representation",
2084+
dimension="dimension",
2085+
description="description",
2086+
type="scalar",
2087+
validations={
2088+
"key": ValidationResult(
2089+
is_valid=True,
2090+
message="message",
2091+
)
2092+
},
2093+
)
2094+
},
2095+
narrative_assumptions=["narrative_assumptions"],
2096+
exp_validations={
2097+
"key": ValidationResult(
2098+
is_valid=True,
2099+
message="message",
2100+
)
2101+
},
2102+
),
2103+
variables=[
2104+
SympyPlotVariable(
2105+
symbol="symbol",
2106+
span=[1.1],
2107+
feature="x",
2108+
)
2109+
],
2110+
)
2111+
2112+
```
2113+
</dd>
2114+
</dl>
2115+
</dd>
2116+
</dl>
2117+
2118+
#### ⚙️ Parameters
2119+
2120+
<dl>
2121+
<dd>
2122+
2123+
<dl>
2124+
<dd>
2125+
2126+
**expression:** `Expression`
2127+
2128+
</dd>
2129+
</dl>
2130+
2131+
<dl>
2132+
<dd>
2133+
2134+
**variables:** `typing.Sequence[SympyPlotVariable]`
2135+
2136+
</dd>
2137+
</dl>
2138+
2139+
<dl>
2140+
<dd>
2141+
2142+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2143+
2144+
</dd>
2145+
</dl>
2146+
</dd>
2147+
</dl>
2148+
2149+
20312150
</dd>
20322151
</dl>
20332152
</details>

src/axiomatic/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
ExtractedPointDto,
3131
ExtractedPoints,
3232
ExtractedSeriesDto,
33+
Feature,
3334
FindMappingResponse,
3435
FindUserResponse,
3536
FormalizeCircuitResponse,
@@ -107,6 +108,8 @@
107108
StatusResponse,
108109
SummarizerResponse,
109110
Symbol,
111+
SympyPlotResponse,
112+
SympyPlotVariable,
110113
Targets,
111114
ToolsListResponse,
112115
Type,
@@ -160,6 +163,7 @@
160163
"ExtractedPointDto",
161164
"ExtractedPoints",
162165
"ExtractedSeriesDto",
166+
"Feature",
163167
"FindMappingResponse",
164168
"FindUserResponse",
165169
"FormalizeCircuitResponse",
@@ -237,6 +241,8 @@
237241
"StatusResponse",
238242
"SummarizerResponse",
239243
"Symbol",
244+
"SympyPlotResponse",
245+
"SympyPlotVariable",
240246
"Targets",
241247
"ToolsListResponse",
242248
"Type",

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.142",
19+
"X-Fern-SDK-Version": "0.0.143",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/digital_twin/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def optimize(
9292
api_key="YOUR_API_KEY",
9393
)
9494
client.digital_twin.optimize(
95-
model_name="PNJunctionSiliconOnInsulatorWavelength",
95+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
9696
parameters=[
9797
NamedQuantity(
9898
name="name",
@@ -241,7 +241,7 @@ def evaluate(
241241
api_key="YOUR_API_KEY",
242242
)
243243
client.digital_twin.evaluate(
244-
model_name="PNJunctionSiliconOnInsulatorWavelength",
244+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
245245
parameters=[
246246
NamedQuantity(
247247
name="name",
@@ -430,7 +430,7 @@ async def optimize(
430430
431431
async def main() -> None:
432432
await client.digital_twin.optimize(
433-
model_name="PNJunctionSiliconOnInsulatorWavelength",
433+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
434434
parameters=[
435435
NamedQuantity(
436436
name="name",
@@ -587,7 +587,7 @@ async def evaluate(
587587
588588
async def main() -> None:
589589
await client.digital_twin.evaluate(
590-
model_name="PNJunctionSiliconOnInsulatorWavelength",
590+
model_name="RingModulatorSiliconOnInsulatorAllPassWavelength",
591591
parameters=[
592592
NamedQuantity(
593593
name="name",

0 commit comments

Comments
 (0)