neurograph-core 1.202601291526__py3-none-any.whl → 1.202601291753__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- neurograph/v1/api/persona_api.py +286 -0
- {neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/METADATA +1 -1
- {neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/RECORD +5 -5
- {neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/top_level.txt +0 -0
neurograph/v1/api/persona_api.py
CHANGED
|
@@ -5813,6 +5813,292 @@ class PersonaApi:
|
|
|
5813
5813
|
|
|
5814
5814
|
|
|
5815
5815
|
|
|
5816
|
+
@validate_call
|
|
5817
|
+
def api_v1_persona_supplemental_prompt_get(
|
|
5818
|
+
self,
|
|
5819
|
+
limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
|
|
5820
|
+
offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
|
|
5821
|
+
_request_timeout: Union[
|
|
5822
|
+
None,
|
|
5823
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5824
|
+
Tuple[
|
|
5825
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5826
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5827
|
+
]
|
|
5828
|
+
] = None,
|
|
5829
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5830
|
+
_content_type: Optional[StrictStr] = None,
|
|
5831
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5832
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5833
|
+
) -> PersonasSupplementalPromptGetManyResponse:
|
|
5834
|
+
"""Get All Persona Supplemental Prompts
|
|
5835
|
+
|
|
5836
|
+
Get supplemental prompts (and status) across all persona seeds.
|
|
5837
|
+
|
|
5838
|
+
:param limit: Maximum number of records
|
|
5839
|
+
:type limit: int
|
|
5840
|
+
:param offset: Record offset
|
|
5841
|
+
:type offset: int
|
|
5842
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5843
|
+
number provided, it will be total request
|
|
5844
|
+
timeout. It can also be a pair (tuple) of
|
|
5845
|
+
(connection, read) timeouts.
|
|
5846
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5847
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5848
|
+
request; this effectively ignores the
|
|
5849
|
+
authentication in the spec for a single request.
|
|
5850
|
+
:type _request_auth: dict, optional
|
|
5851
|
+
:param _content_type: force content-type for the request.
|
|
5852
|
+
:type _content_type: str, Optional
|
|
5853
|
+
:param _headers: set to override the headers for a single
|
|
5854
|
+
request; this effectively ignores the headers
|
|
5855
|
+
in the spec for a single request.
|
|
5856
|
+
:type _headers: dict, optional
|
|
5857
|
+
:param _host_index: set to override the host_index for a single
|
|
5858
|
+
request; this effectively ignores the host_index
|
|
5859
|
+
in the spec for a single request.
|
|
5860
|
+
:type _host_index: int, optional
|
|
5861
|
+
:return: Returns the result object.
|
|
5862
|
+
""" # noqa: E501
|
|
5863
|
+
|
|
5864
|
+
_param = self._api_v1_persona_supplemental_prompt_get_serialize(
|
|
5865
|
+
limit=limit,
|
|
5866
|
+
offset=offset,
|
|
5867
|
+
_request_auth=_request_auth,
|
|
5868
|
+
_content_type=_content_type,
|
|
5869
|
+
_headers=_headers,
|
|
5870
|
+
_host_index=_host_index
|
|
5871
|
+
)
|
|
5872
|
+
|
|
5873
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5874
|
+
'200': "PersonasSupplementalPromptGetManyResponse",
|
|
5875
|
+
'400': "PersonasSupplementalPromptGetManyResponse",
|
|
5876
|
+
'503': "PersonasSupplementalPromptGetManyResponse",
|
|
5877
|
+
}
|
|
5878
|
+
response_data = self.api_client.call_api(
|
|
5879
|
+
*_param,
|
|
5880
|
+
_request_timeout=_request_timeout
|
|
5881
|
+
)
|
|
5882
|
+
response_data.read()
|
|
5883
|
+
return self.api_client.response_deserialize(
|
|
5884
|
+
response_data=response_data,
|
|
5885
|
+
response_types_map=_response_types_map,
|
|
5886
|
+
).data
|
|
5887
|
+
|
|
5888
|
+
|
|
5889
|
+
@validate_call
|
|
5890
|
+
def api_v1_persona_supplemental_prompt_get_with_http_info(
|
|
5891
|
+
self,
|
|
5892
|
+
limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
|
|
5893
|
+
offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
|
|
5894
|
+
_request_timeout: Union[
|
|
5895
|
+
None,
|
|
5896
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5897
|
+
Tuple[
|
|
5898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5899
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5900
|
+
]
|
|
5901
|
+
] = None,
|
|
5902
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5903
|
+
_content_type: Optional[StrictStr] = None,
|
|
5904
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5905
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5906
|
+
) -> ApiResponse[PersonasSupplementalPromptGetManyResponse]:
|
|
5907
|
+
"""Get All Persona Supplemental Prompts
|
|
5908
|
+
|
|
5909
|
+
Get supplemental prompts (and status) across all persona seeds.
|
|
5910
|
+
|
|
5911
|
+
:param limit: Maximum number of records
|
|
5912
|
+
:type limit: int
|
|
5913
|
+
:param offset: Record offset
|
|
5914
|
+
:type offset: int
|
|
5915
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5916
|
+
number provided, it will be total request
|
|
5917
|
+
timeout. It can also be a pair (tuple) of
|
|
5918
|
+
(connection, read) timeouts.
|
|
5919
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5920
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5921
|
+
request; this effectively ignores the
|
|
5922
|
+
authentication in the spec for a single request.
|
|
5923
|
+
:type _request_auth: dict, optional
|
|
5924
|
+
:param _content_type: force content-type for the request.
|
|
5925
|
+
:type _content_type: str, Optional
|
|
5926
|
+
:param _headers: set to override the headers for a single
|
|
5927
|
+
request; this effectively ignores the headers
|
|
5928
|
+
in the spec for a single request.
|
|
5929
|
+
:type _headers: dict, optional
|
|
5930
|
+
:param _host_index: set to override the host_index for a single
|
|
5931
|
+
request; this effectively ignores the host_index
|
|
5932
|
+
in the spec for a single request.
|
|
5933
|
+
:type _host_index: int, optional
|
|
5934
|
+
:return: Returns the result object.
|
|
5935
|
+
""" # noqa: E501
|
|
5936
|
+
|
|
5937
|
+
_param = self._api_v1_persona_supplemental_prompt_get_serialize(
|
|
5938
|
+
limit=limit,
|
|
5939
|
+
offset=offset,
|
|
5940
|
+
_request_auth=_request_auth,
|
|
5941
|
+
_content_type=_content_type,
|
|
5942
|
+
_headers=_headers,
|
|
5943
|
+
_host_index=_host_index
|
|
5944
|
+
)
|
|
5945
|
+
|
|
5946
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5947
|
+
'200': "PersonasSupplementalPromptGetManyResponse",
|
|
5948
|
+
'400': "PersonasSupplementalPromptGetManyResponse",
|
|
5949
|
+
'503': "PersonasSupplementalPromptGetManyResponse",
|
|
5950
|
+
}
|
|
5951
|
+
response_data = self.api_client.call_api(
|
|
5952
|
+
*_param,
|
|
5953
|
+
_request_timeout=_request_timeout
|
|
5954
|
+
)
|
|
5955
|
+
response_data.read()
|
|
5956
|
+
return self.api_client.response_deserialize(
|
|
5957
|
+
response_data=response_data,
|
|
5958
|
+
response_types_map=_response_types_map,
|
|
5959
|
+
)
|
|
5960
|
+
|
|
5961
|
+
|
|
5962
|
+
@validate_call
|
|
5963
|
+
def api_v1_persona_supplemental_prompt_get_without_preload_content(
|
|
5964
|
+
self,
|
|
5965
|
+
limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
|
|
5966
|
+
offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
|
|
5967
|
+
_request_timeout: Union[
|
|
5968
|
+
None,
|
|
5969
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5970
|
+
Tuple[
|
|
5971
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5972
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5973
|
+
]
|
|
5974
|
+
] = None,
|
|
5975
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5976
|
+
_content_type: Optional[StrictStr] = None,
|
|
5977
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5978
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5979
|
+
) -> RESTResponseType:
|
|
5980
|
+
"""Get All Persona Supplemental Prompts
|
|
5981
|
+
|
|
5982
|
+
Get supplemental prompts (and status) across all persona seeds.
|
|
5983
|
+
|
|
5984
|
+
:param limit: Maximum number of records
|
|
5985
|
+
:type limit: int
|
|
5986
|
+
:param offset: Record offset
|
|
5987
|
+
:type offset: int
|
|
5988
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5989
|
+
number provided, it will be total request
|
|
5990
|
+
timeout. It can also be a pair (tuple) of
|
|
5991
|
+
(connection, read) timeouts.
|
|
5992
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5993
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5994
|
+
request; this effectively ignores the
|
|
5995
|
+
authentication in the spec for a single request.
|
|
5996
|
+
:type _request_auth: dict, optional
|
|
5997
|
+
:param _content_type: force content-type for the request.
|
|
5998
|
+
:type _content_type: str, Optional
|
|
5999
|
+
:param _headers: set to override the headers for a single
|
|
6000
|
+
request; this effectively ignores the headers
|
|
6001
|
+
in the spec for a single request.
|
|
6002
|
+
:type _headers: dict, optional
|
|
6003
|
+
:param _host_index: set to override the host_index for a single
|
|
6004
|
+
request; this effectively ignores the host_index
|
|
6005
|
+
in the spec for a single request.
|
|
6006
|
+
:type _host_index: int, optional
|
|
6007
|
+
:return: Returns the result object.
|
|
6008
|
+
""" # noqa: E501
|
|
6009
|
+
|
|
6010
|
+
_param = self._api_v1_persona_supplemental_prompt_get_serialize(
|
|
6011
|
+
limit=limit,
|
|
6012
|
+
offset=offset,
|
|
6013
|
+
_request_auth=_request_auth,
|
|
6014
|
+
_content_type=_content_type,
|
|
6015
|
+
_headers=_headers,
|
|
6016
|
+
_host_index=_host_index
|
|
6017
|
+
)
|
|
6018
|
+
|
|
6019
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
6020
|
+
'200': "PersonasSupplementalPromptGetManyResponse",
|
|
6021
|
+
'400': "PersonasSupplementalPromptGetManyResponse",
|
|
6022
|
+
'503': "PersonasSupplementalPromptGetManyResponse",
|
|
6023
|
+
}
|
|
6024
|
+
response_data = self.api_client.call_api(
|
|
6025
|
+
*_param,
|
|
6026
|
+
_request_timeout=_request_timeout
|
|
6027
|
+
)
|
|
6028
|
+
return response_data.response
|
|
6029
|
+
|
|
6030
|
+
|
|
6031
|
+
def _api_v1_persona_supplemental_prompt_get_serialize(
|
|
6032
|
+
self,
|
|
6033
|
+
limit,
|
|
6034
|
+
offset,
|
|
6035
|
+
_request_auth,
|
|
6036
|
+
_content_type,
|
|
6037
|
+
_headers,
|
|
6038
|
+
_host_index,
|
|
6039
|
+
) -> RequestSerialized:
|
|
6040
|
+
|
|
6041
|
+
_host = None
|
|
6042
|
+
|
|
6043
|
+
_collection_formats: Dict[str, str] = {
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
_path_params: Dict[str, str] = {}
|
|
6047
|
+
_query_params: List[Tuple[str, str]] = []
|
|
6048
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
6049
|
+
_form_params: List[Tuple[str, str]] = []
|
|
6050
|
+
_files: Dict[
|
|
6051
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
6052
|
+
] = {}
|
|
6053
|
+
_body_params: Optional[bytes] = None
|
|
6054
|
+
|
|
6055
|
+
# process the path parameters
|
|
6056
|
+
# process the query parameters
|
|
6057
|
+
if limit is not None:
|
|
6058
|
+
|
|
6059
|
+
_query_params.append(('limit', limit))
|
|
6060
|
+
|
|
6061
|
+
if offset is not None:
|
|
6062
|
+
|
|
6063
|
+
_query_params.append(('offset', offset))
|
|
6064
|
+
|
|
6065
|
+
# process the header parameters
|
|
6066
|
+
# process the form parameters
|
|
6067
|
+
# process the body parameter
|
|
6068
|
+
|
|
6069
|
+
|
|
6070
|
+
# set the HTTP header `Accept`
|
|
6071
|
+
if 'Accept' not in _header_params:
|
|
6072
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
6073
|
+
[
|
|
6074
|
+
'application/json'
|
|
6075
|
+
]
|
|
6076
|
+
)
|
|
6077
|
+
|
|
6078
|
+
|
|
6079
|
+
# authentication setting
|
|
6080
|
+
_auth_settings: List[str] = [
|
|
6081
|
+
'TokenAuth'
|
|
6082
|
+
]
|
|
6083
|
+
|
|
6084
|
+
return self.api_client.param_serialize(
|
|
6085
|
+
method='GET',
|
|
6086
|
+
resource_path='/api/v1/persona/supplemental-prompt',
|
|
6087
|
+
path_params=_path_params,
|
|
6088
|
+
query_params=_query_params,
|
|
6089
|
+
header_params=_header_params,
|
|
6090
|
+
body=_body_params,
|
|
6091
|
+
post_params=_form_params,
|
|
6092
|
+
files=_files,
|
|
6093
|
+
auth_settings=_auth_settings,
|
|
6094
|
+
collection_formats=_collection_formats,
|
|
6095
|
+
_host=_host,
|
|
6096
|
+
_request_auth=_request_auth
|
|
6097
|
+
)
|
|
6098
|
+
|
|
6099
|
+
|
|
6100
|
+
|
|
6101
|
+
|
|
5816
6102
|
@validate_call
|
|
5817
6103
|
def api_v1_persona_supplemental_prompt_prompt_id_delete(
|
|
5818
6104
|
self,
|
{neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/RECORD
RENAMED
|
@@ -17,7 +17,7 @@ neurograph/v1/api/knowledge_extract_api.py,sha256=ggHBzFsfXEqaWJgX21jnDNnE4NRwiJ
|
|
|
17
17
|
neurograph/v1/api/lookup_api.py,sha256=Agoj04UIGDyMKWqb13FMViHyZMuUTZDZ9Cp9JqCdlyY,70273
|
|
18
18
|
neurograph/v1/api/organization_api.py,sha256=rmr9X3agXNKdr_DJlKuSzf72tZ20qCyDyjlt4mntugo,326616
|
|
19
19
|
neurograph/v1/api/organization_metadata_api.py,sha256=PtwuBFSY0FjCAB7fuR710CRkQbtR-xpruX9780hGQxk,34860
|
|
20
|
-
neurograph/v1/api/persona_api.py,sha256=
|
|
20
|
+
neurograph/v1/api/persona_api.py,sha256=vLlnDP9rUvdThi9x8tpoHV-gvFzpDBuF3dbeHLV0_is,257214
|
|
21
21
|
neurograph/v1/api/pixel_api.py,sha256=1tmF0IWix3KbgAhDFkOgpZOv0X8P2H4xknjQfHrSXTQ,22853
|
|
22
22
|
neurograph/v1/api/reporting_api.py,sha256=YyxE-OTsQVZY0T0mJLW7ZeJkfLlP6kRDIpcrXYAzzlU,169520
|
|
23
23
|
neurograph/v1/api/reports_api.py,sha256=wc3eq8ydpIHlh61TtP5miiGE45bV5RYQAoqm27K0dIo,207082
|
|
@@ -415,7 +415,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
|
|
|
415
415
|
neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
|
|
416
416
|
neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
|
|
417
417
|
neurograph/v1/models/workbench_workbench_version_upsert_request.py,sha256=bAxjBeFe8EG3bXPUrLjfntlC65lK5p_ddPs_0yX3A9g,2994
|
|
418
|
-
neurograph_core-1.
|
|
419
|
-
neurograph_core-1.
|
|
420
|
-
neurograph_core-1.
|
|
421
|
-
neurograph_core-1.
|
|
418
|
+
neurograph_core-1.202601291753.dist-info/METADATA,sha256=06_kVF7f4of9A2JSNJb92Cxow5Pi_ktdCACrQa0_D70,1902
|
|
419
|
+
neurograph_core-1.202601291753.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
420
|
+
neurograph_core-1.202601291753.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
|
|
421
|
+
neurograph_core-1.202601291753.dist-info/RECORD,,
|
|
File without changes
|
{neurograph_core-1.202601291526.dist-info → neurograph_core-1.202601291753.dist-info}/top_level.txt
RENAMED
|
File without changes
|