Skip to content

Commit f7a4696

Browse files
feat(api): api update
1 parent 4929e75 commit f7a4696

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-1cdcb4c7714c5079221ac921612b5cf92a88afbd7a174729a790d3bfa71846e4.yml
3-
openapi_spec_hash: e6ee39e9ddb313fce9a48f6d8d664320
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-7bb7926b8f0d0775dcce01bb3de03182eb747a545e91e5526c2247c7e2f29c36.yml
3+
openapi_spec_hash: 9bbd56c331318d9cd0bb89774ac53aeb
44
config_hash: 663981a98c9fcf3f3a8aac163389b06b

src/hyperspell/resources/evaluate.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_query(
5757
timeout: float | httpx.Timeout | None | NotGiven = not_given,
5858
) -> Query:
5959
"""
60-
Retrieve an existing query
60+
Retrieve the result of a previous query.
6161
6262
Args:
6363
extra_headers: Send extra headers
@@ -92,7 +92,7 @@ def score_highlight(
9292
timeout: float | httpx.Timeout | None | NotGiven = not_given,
9393
) -> EvaluateScoreHighlightResponse:
9494
"""
95-
Provide feedback on a query result.
95+
Score an individual highlight.
9696
9797
Args:
9898
comment: Comment on the chunk
@@ -137,7 +137,7 @@ def score_query(
137137
timeout: float | httpx.Timeout | None | NotGiven = not_given,
138138
) -> EvaluateScoreQueryResponse:
139139
"""
140-
Provide feedback on a query result.
140+
Score the result of a query.
141141
142142
Args:
143143
score: Rating of the query result from -1 (bad) to +1 (good).
@@ -194,7 +194,7 @@ async def get_query(
194194
timeout: float | httpx.Timeout | None | NotGiven = not_given,
195195
) -> Query:
196196
"""
197-
Retrieve an existing query
197+
Retrieve the result of a previous query.
198198
199199
Args:
200200
extra_headers: Send extra headers
@@ -229,7 +229,7 @@ async def score_highlight(
229229
timeout: float | httpx.Timeout | None | NotGiven = not_given,
230230
) -> EvaluateScoreHighlightResponse:
231231
"""
232-
Provide feedback on a query result.
232+
Score an individual highlight.
233233
234234
Args:
235235
comment: Comment on the chunk
@@ -274,7 +274,7 @@ async def score_query(
274274
timeout: float | httpx.Timeout | None | NotGiven = not_given,
275275
) -> EvaluateScoreQueryResponse:
276276
"""
277-
Provide feedback on a query result.
277+
Score the result of a query.
278278
279279
Args:
280280
score: Rating of the query result from -1 (bad) to +1 (good).

0 commit comments

Comments
 (0)