phenoml 0.0.19__tar.gz → 0.1.0__tar.gz
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.
- {phenoml-0.0.19 → phenoml-0.1.0}/PKG-INFO +1 -1
- {phenoml-0.0.19 → phenoml-0.1.0}/pyproject.toml +1 -1
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/client.py +4 -44
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/raw_client.py +2 -38
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_create_request.py +0 -5
- phenoml-0.1.0/src/phenoml/construe/__init__.py +63 -0
- phenoml-0.1.0/src/phenoml/construe/client.py +886 -0
- phenoml-0.1.0/src/phenoml/construe/errors/__init__.py +23 -0
- phenoml-0.1.0/src/phenoml/construe/errors/not_implemented_error.py +10 -0
- phenoml-0.1.0/src/phenoml/construe/errors/service_unavailable_error.py +10 -0
- phenoml-0.1.0/src/phenoml/construe/raw_client.py +1569 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/__init__.py +20 -0
- phenoml-0.1.0/src/phenoml/construe/types/code_response.py +32 -0
- phenoml-0.1.0/src/phenoml/construe/types/code_system_details.py +37 -0
- phenoml-0.1.0/src/phenoml/construe/types/code_system_info.py +27 -0
- phenoml-0.1.0/src/phenoml/construe/types/get_code_response.py +34 -0
- phenoml-0.1.0/src/phenoml/construe/types/list_code_systems_response.py +20 -0
- phenoml-0.1.0/src/phenoml/construe/types/list_codes_response.py +31 -0
- phenoml-0.1.0/src/phenoml/construe/types/semantic_search_response.py +25 -0
- phenoml-0.1.0/src/phenoml/construe/types/semantic_search_result.py +20 -0
- phenoml-0.1.0/src/phenoml/construe/types/text_search_response.py +30 -0
- phenoml-0.1.0/src/phenoml/construe/types/text_search_result.py +20 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/client_wrapper.py +2 -2
- phenoml-0.1.0/src/phenoml/workflows/errors/not_found_error.py +10 -0
- phenoml-0.0.19/src/phenoml/construe/__init__.py +0 -31
- phenoml-0.0.19/src/phenoml/construe/client.py +0 -309
- phenoml-0.0.19/src/phenoml/construe/errors/__init__.py +0 -11
- phenoml-0.0.19/src/phenoml/construe/raw_client.py +0 -526
- {phenoml-0.0.19 → phenoml-0.1.0}/LICENSE +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/README.md +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/not_found_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/types/prompts_delete_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/prompts/types/prompts_list_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_chat_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_create_request_provider.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_delete_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_get_chat_messages_request_order.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_get_chat_messages_request_role.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_get_chat_messages_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_list_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_prompts_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/agent_template_provider.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/chat_message_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/chat_message_template_role.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/chat_session_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/json_patch.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/json_patch_operation.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/json_patch_operation_op.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/prompt_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/agent/types/success_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/auth/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/auth/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/auth/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/auth/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/auth/types/auth_generate_token_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/types/bad_request_error_body.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/authtoken/types/unauthorized_error_body.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/types/cohort_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/cohort/types/search_concept.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/errors/conflict_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/errors/failed_dependency_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19/src/phenoml/fhir → phenoml-0.1.0/src/phenoml/construe}/errors/not_found_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/construe_upload_code_system_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extract_codes_result.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extract_request_config.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extract_request_config_chunking_method.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extract_request_config_validation_method.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extract_request_system.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/extracted_code_result.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/construe/types/upload_request_format.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/api_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/datetime_utils.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/file.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/force_multipart.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/http_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/http_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/jsonable_encoder.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/pydantic_utilities.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/query_encoder.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/remove_none_from_dict.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/request_options.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/core/serialization.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/environment.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19/src/phenoml/fhir_provider → phenoml-0.1.0/src/phenoml/fhir}/errors/not_found_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/error_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_bundle.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_bundle_entry_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_request.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_request_method.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_patch_request_body_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_patch_request_body_item_op.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_resource_meta.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir/types/fhir_search_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19/src/phenoml/summary → phenoml-0.1.0/src/phenoml/fhir_provider}/errors/not_found_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/auth_method.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_auth_config.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_delete_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_list_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_list_response_fhir_providers_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_remove_auth_config_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_response_data.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_sandbox_info.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_provider_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_query_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/fhir_query_response_data.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/json_web_key.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/provider.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/role.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/service_account_key.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/service_account_metadata.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/fhir_provider/types/smart_configuration.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/failed_dependency_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_multi_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle_entry_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle_entry_item_request.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_multi_response_resources_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/create_request_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/document_request_file_type.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/document_request_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/fhir_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/lang2fhir_upload_profile_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/search_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/lang2fhir/types/search_response_resource_type.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/py.typed +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19/src/phenoml/workflows → phenoml-0.1.0/src/phenoml/summary}/errors/not_found_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/create_summary_request_fhir_resources.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/create_summary_request_mode.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/create_summary_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/create_summary_template_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/error_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/fhir_bundle.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/fhir_bundle_entry_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/fhir_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/summary_delete_template_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/summary_get_template_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/summary_list_templates_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/summary_template.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/summary/types/summary_update_template_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/failed_dependency_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/tools/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/tools/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/mcp_server/tools/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/cohort_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response_resource_info_item.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response_response_bundle.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_create_request_resource.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_create_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/lang2fhir_and_search_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/mcp_server_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/mcp_server_response_data.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/mcp_server_tool_call_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/mcp_server_tool_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/mcp_server_tool_response_data.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/tools/types/search_concept.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/version.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/errors/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/errors/bad_request_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/errors/forbidden_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/errors/internal_server_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/errors/unauthorized_error.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/raw_client.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/__init__.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/create_workflow_request_fhir_provider_id.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/create_workflow_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/decision_node_definition.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/execute_workflow_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/execute_workflow_response_results.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/lang2fhir_create_definition.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/lang2fhir_search_definition.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/list_workflows_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/step_operation.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/sub_workflow_definition.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/update_workflow_request_fhir_provider_id.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_config.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_definition.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_graph.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_response_graph.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_step.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_step_summary.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_step_summary_type.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflow_step_type.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflows_delete_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflows_get_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/workflows/types/workflows_update_response.py +0 -0
- {phenoml-0.0.19 → phenoml-0.1.0}/src/phenoml/wrapper_client.py +0 -0
|
@@ -41,7 +41,6 @@ class AgentClient:
|
|
|
41
41
|
*,
|
|
42
42
|
name: str,
|
|
43
43
|
prompts: typing.Sequence[str],
|
|
44
|
-
is_active: bool,
|
|
45
44
|
description: typing.Optional[str] = OMIT,
|
|
46
45
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
47
46
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -59,9 +58,6 @@ class AgentClient:
|
|
|
59
58
|
prompts : typing.Sequence[str]
|
|
60
59
|
Array of prompt IDs to use for this agent
|
|
61
60
|
|
|
62
|
-
is_active : bool
|
|
63
|
-
Whether the agent is active
|
|
64
|
-
|
|
65
61
|
description : typing.Optional[str]
|
|
66
62
|
Agent description
|
|
67
63
|
|
|
@@ -92,13 +88,11 @@ class AgentClient:
|
|
|
92
88
|
client.agent.create(
|
|
93
89
|
name="name",
|
|
94
90
|
prompts=["prompt_123", "prompt_456"],
|
|
95
|
-
is_active=True,
|
|
96
91
|
)
|
|
97
92
|
"""
|
|
98
93
|
_response = self._raw_client.create(
|
|
99
94
|
name=name,
|
|
100
95
|
prompts=prompts,
|
|
101
|
-
is_active=is_active,
|
|
102
96
|
description=description,
|
|
103
97
|
tools=tools,
|
|
104
98
|
tags=tags,
|
|
@@ -108,20 +102,13 @@ class AgentClient:
|
|
|
108
102
|
return _response.data
|
|
109
103
|
|
|
110
104
|
def list(
|
|
111
|
-
self,
|
|
112
|
-
*,
|
|
113
|
-
is_active: typing.Optional[bool] = None,
|
|
114
|
-
tags: typing.Optional[str] = None,
|
|
115
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
105
|
+
self, *, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
|
|
116
106
|
) -> AgentListResponse:
|
|
117
107
|
"""
|
|
118
108
|
Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
119
109
|
|
|
120
110
|
Parameters
|
|
121
111
|
----------
|
|
122
|
-
is_active : typing.Optional[bool]
|
|
123
|
-
Filter by active status
|
|
124
|
-
|
|
125
112
|
tags : typing.Optional[str]
|
|
126
113
|
Filter by tags
|
|
127
114
|
|
|
@@ -141,11 +128,10 @@ class AgentClient:
|
|
|
141
128
|
token="YOUR_TOKEN",
|
|
142
129
|
)
|
|
143
130
|
client.agent.list(
|
|
144
|
-
is_active=True,
|
|
145
131
|
tags="tags",
|
|
146
132
|
)
|
|
147
133
|
"""
|
|
148
|
-
_response = self._raw_client.list(
|
|
134
|
+
_response = self._raw_client.list(tags=tags, request_options=request_options)
|
|
149
135
|
return _response.data
|
|
150
136
|
|
|
151
137
|
def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AgentResponse:
|
|
@@ -185,7 +171,6 @@ class AgentClient:
|
|
|
185
171
|
*,
|
|
186
172
|
name: str,
|
|
187
173
|
prompts: typing.Sequence[str],
|
|
188
|
-
is_active: bool,
|
|
189
174
|
description: typing.Optional[str] = OMIT,
|
|
190
175
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
191
176
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -206,9 +191,6 @@ class AgentClient:
|
|
|
206
191
|
prompts : typing.Sequence[str]
|
|
207
192
|
Array of prompt IDs to use for this agent
|
|
208
193
|
|
|
209
|
-
is_active : bool
|
|
210
|
-
Whether the agent is active
|
|
211
|
-
|
|
212
194
|
description : typing.Optional[str]
|
|
213
195
|
Agent description
|
|
214
196
|
|
|
@@ -240,14 +222,12 @@ class AgentClient:
|
|
|
240
222
|
id="id",
|
|
241
223
|
name="name",
|
|
242
224
|
prompts=["prompt_123", "prompt_456"],
|
|
243
|
-
is_active=True,
|
|
244
225
|
)
|
|
245
226
|
"""
|
|
246
227
|
_response = self._raw_client.update(
|
|
247
228
|
id,
|
|
248
229
|
name=name,
|
|
249
230
|
prompts=prompts,
|
|
250
|
-
is_active=is_active,
|
|
251
231
|
description=description,
|
|
252
232
|
tools=tools,
|
|
253
233
|
tags=tags,
|
|
@@ -494,7 +474,6 @@ class AsyncAgentClient:
|
|
|
494
474
|
*,
|
|
495
475
|
name: str,
|
|
496
476
|
prompts: typing.Sequence[str],
|
|
497
|
-
is_active: bool,
|
|
498
477
|
description: typing.Optional[str] = OMIT,
|
|
499
478
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
500
479
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -512,9 +491,6 @@ class AsyncAgentClient:
|
|
|
512
491
|
prompts : typing.Sequence[str]
|
|
513
492
|
Array of prompt IDs to use for this agent
|
|
514
493
|
|
|
515
|
-
is_active : bool
|
|
516
|
-
Whether the agent is active
|
|
517
|
-
|
|
518
494
|
description : typing.Optional[str]
|
|
519
495
|
Agent description
|
|
520
496
|
|
|
@@ -550,7 +526,6 @@ class AsyncAgentClient:
|
|
|
550
526
|
await client.agent.create(
|
|
551
527
|
name="name",
|
|
552
528
|
prompts=["prompt_123", "prompt_456"],
|
|
553
|
-
is_active=True,
|
|
554
529
|
)
|
|
555
530
|
|
|
556
531
|
|
|
@@ -559,7 +534,6 @@ class AsyncAgentClient:
|
|
|
559
534
|
_response = await self._raw_client.create(
|
|
560
535
|
name=name,
|
|
561
536
|
prompts=prompts,
|
|
562
|
-
is_active=is_active,
|
|
563
537
|
description=description,
|
|
564
538
|
tools=tools,
|
|
565
539
|
tags=tags,
|
|
@@ -569,20 +543,13 @@ class AsyncAgentClient:
|
|
|
569
543
|
return _response.data
|
|
570
544
|
|
|
571
545
|
async def list(
|
|
572
|
-
self,
|
|
573
|
-
*,
|
|
574
|
-
is_active: typing.Optional[bool] = None,
|
|
575
|
-
tags: typing.Optional[str] = None,
|
|
576
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
546
|
+
self, *, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
|
|
577
547
|
) -> AgentListResponse:
|
|
578
548
|
"""
|
|
579
549
|
Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
580
550
|
|
|
581
551
|
Parameters
|
|
582
552
|
----------
|
|
583
|
-
is_active : typing.Optional[bool]
|
|
584
|
-
Filter by active status
|
|
585
|
-
|
|
586
553
|
tags : typing.Optional[str]
|
|
587
554
|
Filter by tags
|
|
588
555
|
|
|
@@ -607,14 +574,13 @@ class AsyncAgentClient:
|
|
|
607
574
|
|
|
608
575
|
async def main() -> None:
|
|
609
576
|
await client.agent.list(
|
|
610
|
-
is_active=True,
|
|
611
577
|
tags="tags",
|
|
612
578
|
)
|
|
613
579
|
|
|
614
580
|
|
|
615
581
|
asyncio.run(main())
|
|
616
582
|
"""
|
|
617
|
-
_response = await self._raw_client.list(
|
|
583
|
+
_response = await self._raw_client.list(tags=tags, request_options=request_options)
|
|
618
584
|
return _response.data
|
|
619
585
|
|
|
620
586
|
async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AgentResponse:
|
|
@@ -662,7 +628,6 @@ class AsyncAgentClient:
|
|
|
662
628
|
*,
|
|
663
629
|
name: str,
|
|
664
630
|
prompts: typing.Sequence[str],
|
|
665
|
-
is_active: bool,
|
|
666
631
|
description: typing.Optional[str] = OMIT,
|
|
667
632
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
668
633
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -683,9 +648,6 @@ class AsyncAgentClient:
|
|
|
683
648
|
prompts : typing.Sequence[str]
|
|
684
649
|
Array of prompt IDs to use for this agent
|
|
685
650
|
|
|
686
|
-
is_active : bool
|
|
687
|
-
Whether the agent is active
|
|
688
|
-
|
|
689
651
|
description : typing.Optional[str]
|
|
690
652
|
Agent description
|
|
691
653
|
|
|
@@ -722,7 +684,6 @@ class AsyncAgentClient:
|
|
|
722
684
|
id="id",
|
|
723
685
|
name="name",
|
|
724
686
|
prompts=["prompt_123", "prompt_456"],
|
|
725
|
-
is_active=True,
|
|
726
687
|
)
|
|
727
688
|
|
|
728
689
|
|
|
@@ -732,7 +693,6 @@ class AsyncAgentClient:
|
|
|
732
693
|
id,
|
|
733
694
|
name=name,
|
|
734
695
|
prompts=prompts,
|
|
735
|
-
is_active=is_active,
|
|
736
696
|
description=description,
|
|
737
697
|
tools=tools,
|
|
738
698
|
tags=tags,
|
|
@@ -38,7 +38,6 @@ class RawAgentClient:
|
|
|
38
38
|
*,
|
|
39
39
|
name: str,
|
|
40
40
|
prompts: typing.Sequence[str],
|
|
41
|
-
is_active: bool,
|
|
42
41
|
description: typing.Optional[str] = OMIT,
|
|
43
42
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
44
43
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -56,9 +55,6 @@ class RawAgentClient:
|
|
|
56
55
|
prompts : typing.Sequence[str]
|
|
57
56
|
Array of prompt IDs to use for this agent
|
|
58
57
|
|
|
59
|
-
is_active : bool
|
|
60
|
-
Whether the agent is active
|
|
61
|
-
|
|
62
58
|
description : typing.Optional[str]
|
|
63
59
|
Agent description
|
|
64
60
|
|
|
@@ -87,7 +83,6 @@ class RawAgentClient:
|
|
|
87
83
|
"description": description,
|
|
88
84
|
"prompts": prompts,
|
|
89
85
|
"tools": tools,
|
|
90
|
-
"is_active": is_active,
|
|
91
86
|
"tags": tags,
|
|
92
87
|
"provider": convert_and_respect_annotation_metadata(
|
|
93
88
|
object_=provider, annotation=AgentCreateRequestProvider, direction="write"
|
|
@@ -159,20 +154,13 @@ class RawAgentClient:
|
|
|
159
154
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
160
155
|
|
|
161
156
|
def list(
|
|
162
|
-
self,
|
|
163
|
-
*,
|
|
164
|
-
is_active: typing.Optional[bool] = None,
|
|
165
|
-
tags: typing.Optional[str] = None,
|
|
166
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
157
|
+
self, *, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
|
|
167
158
|
) -> HttpResponse[AgentListResponse]:
|
|
168
159
|
"""
|
|
169
160
|
Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
170
161
|
|
|
171
162
|
Parameters
|
|
172
163
|
----------
|
|
173
|
-
is_active : typing.Optional[bool]
|
|
174
|
-
Filter by active status
|
|
175
|
-
|
|
176
164
|
tags : typing.Optional[str]
|
|
177
165
|
Filter by tags
|
|
178
166
|
|
|
@@ -188,7 +176,6 @@ class RawAgentClient:
|
|
|
188
176
|
"agent/list",
|
|
189
177
|
method="GET",
|
|
190
178
|
params={
|
|
191
|
-
"is_active": is_active,
|
|
192
179
|
"tags": tags,
|
|
193
180
|
},
|
|
194
181
|
request_options=request_options,
|
|
@@ -328,7 +315,6 @@ class RawAgentClient:
|
|
|
328
315
|
*,
|
|
329
316
|
name: str,
|
|
330
317
|
prompts: typing.Sequence[str],
|
|
331
|
-
is_active: bool,
|
|
332
318
|
description: typing.Optional[str] = OMIT,
|
|
333
319
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
334
320
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -349,9 +335,6 @@ class RawAgentClient:
|
|
|
349
335
|
prompts : typing.Sequence[str]
|
|
350
336
|
Array of prompt IDs to use for this agent
|
|
351
337
|
|
|
352
|
-
is_active : bool
|
|
353
|
-
Whether the agent is active
|
|
354
|
-
|
|
355
338
|
description : typing.Optional[str]
|
|
356
339
|
Agent description
|
|
357
340
|
|
|
@@ -380,7 +363,6 @@ class RawAgentClient:
|
|
|
380
363
|
"description": description,
|
|
381
364
|
"prompts": prompts,
|
|
382
365
|
"tools": tools,
|
|
383
|
-
"is_active": is_active,
|
|
384
366
|
"tags": tags,
|
|
385
367
|
"provider": convert_and_respect_annotation_metadata(
|
|
386
368
|
object_=provider, annotation=AgentCreateRequestProvider, direction="write"
|
|
@@ -876,7 +858,6 @@ class AsyncRawAgentClient:
|
|
|
876
858
|
*,
|
|
877
859
|
name: str,
|
|
878
860
|
prompts: typing.Sequence[str],
|
|
879
|
-
is_active: bool,
|
|
880
861
|
description: typing.Optional[str] = OMIT,
|
|
881
862
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
882
863
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -894,9 +875,6 @@ class AsyncRawAgentClient:
|
|
|
894
875
|
prompts : typing.Sequence[str]
|
|
895
876
|
Array of prompt IDs to use for this agent
|
|
896
877
|
|
|
897
|
-
is_active : bool
|
|
898
|
-
Whether the agent is active
|
|
899
|
-
|
|
900
878
|
description : typing.Optional[str]
|
|
901
879
|
Agent description
|
|
902
880
|
|
|
@@ -925,7 +903,6 @@ class AsyncRawAgentClient:
|
|
|
925
903
|
"description": description,
|
|
926
904
|
"prompts": prompts,
|
|
927
905
|
"tools": tools,
|
|
928
|
-
"is_active": is_active,
|
|
929
906
|
"tags": tags,
|
|
930
907
|
"provider": convert_and_respect_annotation_metadata(
|
|
931
908
|
object_=provider, annotation=AgentCreateRequestProvider, direction="write"
|
|
@@ -997,20 +974,13 @@ class AsyncRawAgentClient:
|
|
|
997
974
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
998
975
|
|
|
999
976
|
async def list(
|
|
1000
|
-
self,
|
|
1001
|
-
*,
|
|
1002
|
-
is_active: typing.Optional[bool] = None,
|
|
1003
|
-
tags: typing.Optional[str] = None,
|
|
1004
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
977
|
+
self, *, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
|
|
1005
978
|
) -> AsyncHttpResponse[AgentListResponse]:
|
|
1006
979
|
"""
|
|
1007
980
|
Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
1008
981
|
|
|
1009
982
|
Parameters
|
|
1010
983
|
----------
|
|
1011
|
-
is_active : typing.Optional[bool]
|
|
1012
|
-
Filter by active status
|
|
1013
|
-
|
|
1014
984
|
tags : typing.Optional[str]
|
|
1015
985
|
Filter by tags
|
|
1016
986
|
|
|
@@ -1026,7 +996,6 @@ class AsyncRawAgentClient:
|
|
|
1026
996
|
"agent/list",
|
|
1027
997
|
method="GET",
|
|
1028
998
|
params={
|
|
1029
|
-
"is_active": is_active,
|
|
1030
999
|
"tags": tags,
|
|
1031
1000
|
},
|
|
1032
1001
|
request_options=request_options,
|
|
@@ -1168,7 +1137,6 @@ class AsyncRawAgentClient:
|
|
|
1168
1137
|
*,
|
|
1169
1138
|
name: str,
|
|
1170
1139
|
prompts: typing.Sequence[str],
|
|
1171
|
-
is_active: bool,
|
|
1172
1140
|
description: typing.Optional[str] = OMIT,
|
|
1173
1141
|
tools: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
1174
1142
|
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
@@ -1189,9 +1157,6 @@ class AsyncRawAgentClient:
|
|
|
1189
1157
|
prompts : typing.Sequence[str]
|
|
1190
1158
|
Array of prompt IDs to use for this agent
|
|
1191
1159
|
|
|
1192
|
-
is_active : bool
|
|
1193
|
-
Whether the agent is active
|
|
1194
|
-
|
|
1195
1160
|
description : typing.Optional[str]
|
|
1196
1161
|
Agent description
|
|
1197
1162
|
|
|
@@ -1220,7 +1185,6 @@ class AsyncRawAgentClient:
|
|
|
1220
1185
|
"description": description,
|
|
1221
1186
|
"prompts": prompts,
|
|
1222
1187
|
"tools": tools,
|
|
1223
|
-
"is_active": is_active,
|
|
1224
1188
|
"tags": tags,
|
|
1225
1189
|
"provider": convert_and_respect_annotation_metadata(
|
|
1226
1190
|
object_=provider, annotation=AgentCreateRequestProvider, direction="write"
|
|
@@ -28,11 +28,6 @@ class AgentCreateRequest(UniversalBaseModel):
|
|
|
28
28
|
Array of MCP server tool IDs to use for this agent
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
-
is_active: bool = pydantic.Field()
|
|
32
|
-
"""
|
|
33
|
-
Whether the agent is active
|
|
34
|
-
"""
|
|
35
|
-
|
|
36
31
|
tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
37
32
|
"""
|
|
38
33
|
Tags for categorizing the agent
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from .types import (
|
|
6
|
+
CodeResponse,
|
|
7
|
+
CodeSystemDetails,
|
|
8
|
+
CodeSystemInfo,
|
|
9
|
+
ConstrueUploadCodeSystemResponse,
|
|
10
|
+
ExtractCodesResult,
|
|
11
|
+
ExtractRequestConfig,
|
|
12
|
+
ExtractRequestConfigChunkingMethod,
|
|
13
|
+
ExtractRequestConfigValidationMethod,
|
|
14
|
+
ExtractRequestSystem,
|
|
15
|
+
ExtractedCodeResult,
|
|
16
|
+
GetCodeResponse,
|
|
17
|
+
ListCodeSystemsResponse,
|
|
18
|
+
ListCodesResponse,
|
|
19
|
+
SemanticSearchResponse,
|
|
20
|
+
SemanticSearchResult,
|
|
21
|
+
TextSearchResponse,
|
|
22
|
+
TextSearchResult,
|
|
23
|
+
UploadRequestFormat,
|
|
24
|
+
)
|
|
25
|
+
from .errors import (
|
|
26
|
+
BadRequestError,
|
|
27
|
+
ConflictError,
|
|
28
|
+
FailedDependencyError,
|
|
29
|
+
InternalServerError,
|
|
30
|
+
NotFoundError,
|
|
31
|
+
NotImplementedError,
|
|
32
|
+
ServiceUnavailableError,
|
|
33
|
+
UnauthorizedError,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"BadRequestError",
|
|
38
|
+
"CodeResponse",
|
|
39
|
+
"CodeSystemDetails",
|
|
40
|
+
"CodeSystemInfo",
|
|
41
|
+
"ConflictError",
|
|
42
|
+
"ConstrueUploadCodeSystemResponse",
|
|
43
|
+
"ExtractCodesResult",
|
|
44
|
+
"ExtractRequestConfig",
|
|
45
|
+
"ExtractRequestConfigChunkingMethod",
|
|
46
|
+
"ExtractRequestConfigValidationMethod",
|
|
47
|
+
"ExtractRequestSystem",
|
|
48
|
+
"ExtractedCodeResult",
|
|
49
|
+
"FailedDependencyError",
|
|
50
|
+
"GetCodeResponse",
|
|
51
|
+
"InternalServerError",
|
|
52
|
+
"ListCodeSystemsResponse",
|
|
53
|
+
"ListCodesResponse",
|
|
54
|
+
"NotFoundError",
|
|
55
|
+
"NotImplementedError",
|
|
56
|
+
"SemanticSearchResponse",
|
|
57
|
+
"SemanticSearchResult",
|
|
58
|
+
"ServiceUnavailableError",
|
|
59
|
+
"TextSearchResponse",
|
|
60
|
+
"TextSearchResult",
|
|
61
|
+
"UnauthorizedError",
|
|
62
|
+
"UploadRequestFormat",
|
|
63
|
+
]
|