Improve docs
This commit is contained in:
parent
b1a66cb579
commit
4e07161a16
4 changed files with 40 additions and 4 deletions
|
|
@ -20,6 +20,11 @@ def call_remote_great_ai(
|
|||
timeout_in_seconds: Optional[int] = 300,
|
||||
model_class: Optional[Type[T]] = None,
|
||||
) -> Trace[T]:
|
||||
"""Communicate with a GreatAI object through an HTTP request.
|
||||
|
||||
Wrapper over `call_remote_great_ai_async` making it synchronous. For more info, see
|
||||
`call_remote_great_ai_async`.
|
||||
"""
|
||||
try:
|
||||
asyncio.get_running_loop()
|
||||
raise Exception(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue