Skip to content

Commit 6d99b15

Browse files
author
brandon
committed
Doc fix caught by Avi
1 parent 2004b65 commit 6d99b15

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/groundlight/client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ def _verify_connectivity(self) -> None:
207207
f"Error connecting to Groundlight using API token '{self.api_token_prefix}...'"
208208
f" at endpoint '{self.endpoint}'. Endpoint might be invalid or unreachable? "
209209
"Check https://status.groundlight.ai/ for service status."
210+
211+
f"Original Error was: {str(e)}"
210212
)
211213
raise GroundlightClientError(msg) from e
212214

@@ -361,6 +363,9 @@ def create_detector( # noqa: PLR0913
361363
"""
362364
Create a new Detector with a given name and query.
363365
366+
Counting and Multiclass detectors are in Beta, and can be created through the
367+
ExperimentalApi via the `create_counting_detector` and `create_multiclass_detector` methods.
368+
364369
**Example usage**::
365370
366371
gl = Groundlight()
@@ -384,7 +389,7 @@ def create_detector( # noqa: PLR0913
384389
# Create a detector in a specific group
385390
detector = gl.create_detector(
386391
name="vehicle-counter",
387-
query="How many vehicles are in the parking lot?",
392+
query="Are there vehicles are in the parking lot?",
388393
group_name="parking-monitoring",
389394
patience_time=60.0
390395
)

0 commit comments

Comments
 (0)