From 3b8bffc37e2e11a68488a20dc434394a66dead93 Mon Sep 17 00:00:00 2001 From: "Joseph T. French" Date: Sat, 29 Aug 2026 00:04:49 -0500 Subject: [PATCH] chore(sdk): regenerate for the analyst operator rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docstrings only: the operator endpoints now describe `analyst` (formerly `cypher`, which the API still accepts as an alias) — see robosystems #1308. No request or response shape changed. --- .../api/operator/auto_select_operator.py | 20 +++++---- .../api/operator/execute_specific_operator.py | 44 ++++++++++--------- .../api/operator/get_operator_metadata.py | 8 ++-- 3 files changed, 40 insertions(+), 32 deletions(-) diff --git a/robosystems_client/api/operator/auto_select_operator.py b/robosystems_client/api/operator/auto_select_operator.py index 9c73c08..2403960 100644 --- a/robosystems_client/api/operator/auto_select_operator.py +++ b/robosystems_client/api/operator/auto_select_operator.py @@ -128,8 +128,9 @@ def sync_detailed( ) -> Response[Any | ErrorResponse | HTTPValidationError | OperatorResponse]: """Auto-select Operator for Query - Routes to the best operator for your query. Operators: `cypher` (answers natural-language questions - by querying the graph; supports `quick`, `standard`, `extended`) and `mapping` (autonomous Chart of + Routes to the best operator for your query. Operators: `analyst` (answers natural-language questions + over the graph — curated financial reads, documents, memory, and read-only Cypher; supports `quick`, + `standard`, `extended`; `cypher` is accepted as its former name) and `mapping` (autonomous Chart of Accounts → rs-gaap mapping; roboledger graphs only, `extended` only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. Credits are consumed by actual token usage, not a fixed price per mode. The run executes on the background worker: the default answer is @@ -174,8 +175,9 @@ def sync( ) -> Any | ErrorResponse | HTTPValidationError | OperatorResponse | None: """Auto-select Operator for Query - Routes to the best operator for your query. Operators: `cypher` (answers natural-language questions - by querying the graph; supports `quick`, `standard`, `extended`) and `mapping` (autonomous Chart of + Routes to the best operator for your query. Operators: `analyst` (answers natural-language questions + over the graph — curated financial reads, documents, memory, and read-only Cypher; supports `quick`, + `standard`, `extended`; `cypher` is accepted as its former name) and `mapping` (autonomous Chart of Accounts → rs-gaap mapping; roboledger graphs only, `extended` only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. Credits are consumed by actual token usage, not a fixed price per mode. The run executes on the background worker: the default answer is @@ -215,8 +217,9 @@ async def asyncio_detailed( ) -> Response[Any | ErrorResponse | HTTPValidationError | OperatorResponse]: """Auto-select Operator for Query - Routes to the best operator for your query. Operators: `cypher` (answers natural-language questions - by querying the graph; supports `quick`, `standard`, `extended`) and `mapping` (autonomous Chart of + Routes to the best operator for your query. Operators: `analyst` (answers natural-language questions + over the graph — curated financial reads, documents, memory, and read-only Cypher; supports `quick`, + `standard`, `extended`; `cypher` is accepted as its former name) and `mapping` (autonomous Chart of Accounts → rs-gaap mapping; roboledger graphs only, `extended` only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. Credits are consumed by actual token usage, not a fixed price per mode. The run executes on the background worker: the default answer is @@ -259,8 +262,9 @@ async def asyncio( ) -> Any | ErrorResponse | HTTPValidationError | OperatorResponse | None: """Auto-select Operator for Query - Routes to the best operator for your query. Operators: `cypher` (answers natural-language questions - by querying the graph; supports `quick`, `standard`, `extended`) and `mapping` (autonomous Chart of + Routes to the best operator for your query. Operators: `analyst` (answers natural-language questions + over the graph — curated financial reads, documents, memory, and read-only Cypher; supports `quick`, + `standard`, `extended`; `cypher` is accepted as its former name) and `mapping` (autonomous Chart of Accounts → rs-gaap mapping; roboledger graphs only, `extended` only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. Credits are consumed by actual token usage, not a fixed price per mode. The run executes on the background worker: the default answer is diff --git a/robosystems_client/api/operator/execute_specific_operator.py b/robosystems_client/api/operator/execute_specific_operator.py index 1c0ff25..227a913 100644 --- a/robosystems_client/api/operator/execute_specific_operator.py +++ b/robosystems_client/api/operator/execute_specific_operator.py @@ -131,11 +131,12 @@ def sync_detailed( ) -> Response[Any | ErrorResponse | HTTPValidationError | OperatorResponse]: """Execute Specific Operator - Available: `cypher` (natural-language questions answered by querying the graph; RAG retrieval is one - of its capabilities, not a separate operator) and `mapping` (Chart of Accounts → rs-gaap mapping, - roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The run - executes on the background worker: the default answer is 202 with the operation's `_links` (stream, - status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. + Available: `analyst` (natural-language questions over the graph — curated financial reads, + documents, memory, and read-only Cypher; RAG retrieval is one of its capabilities, not a separate + operator; `cypher` is accepted as its former name) and `mapping` (Chart of Accounts → rs-gaap + mapping, roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The + run executes on the background worker: the default answer is 202 with the operation's `_links` + (stream, status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. Args: graph_id (str): @@ -178,11 +179,12 @@ def sync( ) -> Any | ErrorResponse | HTTPValidationError | OperatorResponse | None: """Execute Specific Operator - Available: `cypher` (natural-language questions answered by querying the graph; RAG retrieval is one - of its capabilities, not a separate operator) and `mapping` (Chart of Accounts → rs-gaap mapping, - roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The run - executes on the background worker: the default answer is 202 with the operation's `_links` (stream, - status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. + Available: `analyst` (natural-language questions over the graph — curated financial reads, + documents, memory, and read-only Cypher; RAG retrieval is one of its capabilities, not a separate + operator; `cypher` is accepted as its former name) and `mapping` (Chart of Accounts → rs-gaap + mapping, roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The + run executes on the background worker: the default answer is 202 with the operation's `_links` + (stream, status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. Args: graph_id (str): @@ -220,11 +222,12 @@ async def asyncio_detailed( ) -> Response[Any | ErrorResponse | HTTPValidationError | OperatorResponse]: """Execute Specific Operator - Available: `cypher` (natural-language questions answered by querying the graph; RAG retrieval is one - of its capabilities, not a separate operator) and `mapping` (Chart of Accounts → rs-gaap mapping, - roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The run - executes on the background worker: the default answer is 202 with the operation's `_links` (stream, - status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. + Available: `analyst` (natural-language questions over the graph — curated financial reads, + documents, memory, and read-only Cypher; RAG retrieval is one of its capabilities, not a separate + operator; `cypher` is accepted as its former name) and `mapping` (Chart of Accounts → rs-gaap + mapping, roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The + run executes on the background worker: the default answer is 202 with the operation's `_links` + (stream, status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. Args: graph_id (str): @@ -265,11 +268,12 @@ async def asyncio( ) -> Any | ErrorResponse | HTTPValidationError | OperatorResponse | None: """Execute Specific Operator - Available: `cypher` (natural-language questions answered by querying the graph; RAG retrieval is one - of its capabilities, not a separate operator) and `mapping` (Chart of Accounts → rs-gaap mapping, - roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The run - executes on the background worker: the default answer is 202 with the operation's `_links` (stream, - status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. + Available: `analyst` (natural-language questions over the graph — curated financial reads, + documents, memory, and read-only Cypher; RAG retrieval is one of its capabilities, not a separate + operator; `cypher` is accepted as its former name) and `mapping` (Chart of Accounts → rs-gaap + mapping, roboledger graphs only). `GET /v1/graphs/{graph_id}/operator` lists what is registered. The + run executes on the background worker: the default answer is 202 with the operation's `_links` + (stream, status, cancel); `?mode=sync` waits up to 50s and answers 200 with the result. Args: graph_id (str): diff --git a/robosystems_client/api/operator/get_operator_metadata.py b/robosystems_client/api/operator/get_operator_metadata.py index 6e14d44..d1f8257 100644 --- a/robosystems_client/api/operator/get_operator_metadata.py +++ b/robosystems_client/api/operator/get_operator_metadata.py @@ -98,7 +98,7 @@ def sync_detailed( Args: graph_id (str): - operator_type (str): Operator type identifier (e.g., 'financial', 'research', 'rag') + operator_type (str): Operator type identifier (e.g., 'analyst', 'mapping') Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -130,7 +130,7 @@ def sync( Args: graph_id (str): - operator_type (str): Operator type identifier (e.g., 'financial', 'research', 'rag') + operator_type (str): Operator type identifier (e.g., 'analyst', 'mapping') Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,7 +157,7 @@ async def asyncio_detailed( Args: graph_id (str): - operator_type (str): Operator type identifier (e.g., 'financial', 'research', 'rag') + operator_type (str): Operator type identifier (e.g., 'analyst', 'mapping') Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -187,7 +187,7 @@ async def asyncio( Args: graph_id (str): - operator_type (str): Operator type identifier (e.g., 'financial', 'research', 'rag') + operator_type (str): Operator type identifier (e.g., 'analyst', 'mapping') Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.