groundx 2.6.3__tar.gz → 2.6.5__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.
Files changed (158) hide show
  1. {groundx-2.6.3 → groundx-2.6.5}/PKG-INFO +1 -1
  2. {groundx-2.6.3 → groundx-2.6.5}/pyproject.toml +1 -1
  3. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/__init__.py +2 -14
  4. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/client_wrapper.py +2 -2
  5. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/__init__.py +2 -14
  6. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_prompt.py +1 -3
  7. groundx-2.6.3/src/groundx/types/workflow_steps_doc_summary.py → groundx-2.6.5/src/groundx/types/workflow_step.py +14 -4
  8. groundx-2.6.3/src/groundx/types/workflow_step.py → groundx-2.6.5/src/groundx/types/workflow_step_config.py +1 -1
  9. groundx-2.6.5/src/groundx/types/workflow_steps.py +38 -0
  10. groundx-2.6.3/src/groundx/types/workflow_steps.py +0 -50
  11. groundx-2.6.3/src/groundx/types/workflow_steps_chunk_instruct.py +0 -24
  12. groundx-2.6.3/src/groundx/types/workflow_steps_chunk_summary.py +0 -26
  13. groundx-2.6.3/src/groundx/types/workflow_steps_doc_keys.py +0 -22
  14. groundx-2.6.3/src/groundx/types/workflow_steps_search_query.py +0 -22
  15. groundx-2.6.3/src/groundx/types/workflow_steps_sect_instruct.py +0 -20
  16. groundx-2.6.3/src/groundx/types/workflow_steps_sect_summary.py +0 -23
  17. {groundx-2.6.3 → groundx-2.6.5}/LICENSE +0 -0
  18. {groundx-2.6.3 → groundx-2.6.5}/README.md +0 -0
  19. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/buckets/__init__.py +0 -0
  20. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/buckets/client.py +0 -0
  21. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/buckets/raw_client.py +0 -0
  22. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/client.py +0 -0
  23. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/__init__.py +0 -0
  24. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/api_error.py +0 -0
  25. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/datetime_utils.py +0 -0
  26. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/file.py +0 -0
  27. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/force_multipart.py +0 -0
  28. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/http_client.py +0 -0
  29. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/http_response.py +0 -0
  30. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/jsonable_encoder.py +0 -0
  31. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/pydantic_utilities.py +0 -0
  32. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/query_encoder.py +0 -0
  33. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/remove_none_from_dict.py +0 -0
  34. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/request_options.py +0 -0
  35. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/core/serialization.py +0 -0
  36. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/csv_splitter.py +0 -0
  37. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/customer/__init__.py +0 -0
  38. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/customer/client.py +0 -0
  39. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/customer/raw_client.py +0 -0
  40. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/documents/__init__.py +0 -0
  41. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/documents/client.py +0 -0
  42. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/documents/raw_client.py +0 -0
  43. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/environment.py +0 -0
  44. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/errors/__init__.py +0 -0
  45. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/errors/bad_request_error.py +0 -0
  46. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/errors/unauthorized_error.py +0 -0
  47. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/__init__.py +0 -0
  48. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/agents/__init__.py +0 -0
  49. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/agents/agent.py +0 -0
  50. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/__init__.py +0 -0
  51. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/agent.py +0 -0
  52. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/api.py +0 -0
  53. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/document.py +0 -0
  54. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/field.py +0 -0
  55. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/groundx.py +0 -0
  56. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/prompt.py +0 -0
  57. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/test_document.py +0 -0
  58. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/test_field.py +0 -0
  59. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/test_groundx.py +0 -0
  60. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/classes/test_prompt.py +0 -0
  61. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/post_process/__init__.py +0 -0
  62. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/post_process/post_process.py +0 -0
  63. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/.DS_Store +0 -0
  64. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/__init__.py +0 -0
  65. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/csv.py +0 -0
  66. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/logger.py +0 -0
  67. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/logging_cfg.py +0 -0
  68. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/ratelimit.py +0 -0
  69. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/sheets_client.py +0 -0
  70. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/status.py +0 -0
  71. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/upload.py +0 -0
  72. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/upload_minio.py +0 -0
  73. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/upload_s3.py +0 -0
  74. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/services/utility.py +0 -0
  75. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/settings/__init__.py +0 -0
  76. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/settings/settings.py +0 -0
  77. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/settings/test_settings.py +0 -0
  78. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/tasks/__init__.py +0 -0
  79. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/tasks/utility.py +0 -0
  80. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/utility/__init__.py +0 -0
  81. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/utility/classes.py +0 -0
  82. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/extract/utility/test_utility.py +0 -0
  83. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/groups/__init__.py +0 -0
  84. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/groups/client.py +0 -0
  85. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/groups/raw_client.py +0 -0
  86. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/health/__init__.py +0 -0
  87. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/health/client.py +0 -0
  88. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/health/raw_client.py +0 -0
  89. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/ingest.py +0 -0
  90. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/py.typed +0 -0
  91. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/search/__init__.py +0 -0
  92. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/search/client.py +0 -0
  93. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/search/raw_client.py +0 -0
  94. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/search/types/__init__.py +0 -0
  95. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/search/types/search_content_request_id.py +0 -0
  96. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bounding_box_detail.py +0 -0
  97. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bucket_detail.py +0 -0
  98. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bucket_list_response.py +0 -0
  99. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bucket_response.py +0 -0
  100. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bucket_update_detail.py +0 -0
  101. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/bucket_update_response.py +0 -0
  102. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/customer_detail.py +0 -0
  103. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/customer_response.py +0 -0
  104. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document.py +0 -0
  105. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_detail.py +0 -0
  106. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_list_response.py +0 -0
  107. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_local_ingest_request.py +0 -0
  108. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_lookup_response.py +0 -0
  109. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_response.py +0 -0
  110. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/document_type.py +0 -0
  111. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/group_detail.py +0 -0
  112. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/group_list_response.py +0 -0
  113. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/group_response.py +0 -0
  114. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/health_response.py +0 -0
  115. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/health_response_health.py +0 -0
  116. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/health_service.py +0 -0
  117. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/health_service_status.py +0 -0
  118. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_local_document.py +0 -0
  119. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_local_document_metadata.py +0 -0
  120. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_remote_document.py +0 -0
  121. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_response.py +0 -0
  122. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status.py +0 -0
  123. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_light.py +0 -0
  124. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_progress.py +0 -0
  125. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_progress_cancelled.py +0 -0
  126. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_progress_complete.py +0 -0
  127. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_progress_errors.py +0 -0
  128. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/ingest_status_progress_processing.py +0 -0
  129. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/message_response.py +0 -0
  130. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/meter_detail.py +0 -0
  131. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/process_level.py +0 -0
  132. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/processes_status_response.py +0 -0
  133. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/processing_status.py +0 -0
  134. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/search_response.py +0 -0
  135. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/search_response_search.py +0 -0
  136. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/search_result_item.py +0 -0
  137. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/search_result_item_pages_item.py +0 -0
  138. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/sort.py +0 -0
  139. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/sort_order.py +0 -0
  140. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/subscription_detail.py +0 -0
  141. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/subscription_detail_meters.py +0 -0
  142. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/website_source.py +0 -0
  143. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_apply_request.py +0 -0
  144. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_detail.py +0 -0
  145. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_detail_relationships.py +0 -0
  146. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_engine.py +0 -0
  147. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_engine_reasoning_effort.py +0 -0
  148. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_engine_service.py +0 -0
  149. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_prompt_group.py +0 -0
  150. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_prompt_role.py +0 -0
  151. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflow_response.py +0 -0
  152. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/types/workflows_response.py +0 -0
  153. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/version.py +0 -0
  154. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/workflows/__init__.py +0 -0
  155. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/workflows/client.py +0 -0
  156. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/workflows/raw_client.py +0 -0
  157. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/workflows/types/__init__.py +0 -0
  158. {groundx-2.6.3 → groundx-2.6.5}/src/groundx/workflows/types/workflows_get_request_id.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: groundx
3
- Version: 2.6.3
3
+ Version: 2.6.5
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -3,7 +3,7 @@ name = "groundx"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "groundx"
6
- version = "2.6.3"
6
+ version = "2.6.5"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -61,14 +61,8 @@ from .types import (
61
61
  WorkflowPromptRole,
62
62
  WorkflowResponse,
63
63
  WorkflowStep,
64
+ WorkflowStepConfig,
64
65
  WorkflowSteps,
65
- WorkflowStepsChunkInstruct,
66
- WorkflowStepsChunkSummary,
67
- WorkflowStepsDocKeys,
68
- WorkflowStepsDocSummary,
69
- WorkflowStepsSearchQuery,
70
- WorkflowStepsSectInstruct,
71
- WorkflowStepsSectSummary,
72
66
  WorkflowsResponse,
73
67
  )
74
68
  from .errors import BadRequestError, UnauthorizedError
@@ -144,14 +138,8 @@ __all__ = [
144
138
  "WorkflowPromptRole",
145
139
  "WorkflowResponse",
146
140
  "WorkflowStep",
141
+ "WorkflowStepConfig",
147
142
  "WorkflowSteps",
148
- "WorkflowStepsChunkInstruct",
149
- "WorkflowStepsChunkSummary",
150
- "WorkflowStepsDocKeys",
151
- "WorkflowStepsDocSummary",
152
- "WorkflowStepsSearchQuery",
153
- "WorkflowStepsSectInstruct",
154
- "WorkflowStepsSectSummary",
155
143
  "WorkflowsGetRequestId",
156
144
  "WorkflowsResponse",
157
145
  "__version__",
@@ -14,10 +14,10 @@ class BaseClientWrapper:
14
14
 
15
15
  def get_headers(self) -> typing.Dict[str, str]:
16
16
  headers: typing.Dict[str, str] = {
17
- "User-Agent": "groundx/2.6.3",
17
+ "User-Agent": "groundx/2.6.5",
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "groundx",
20
- "X-Fern-SDK-Version": "2.6.3",
20
+ "X-Fern-SDK-Version": "2.6.5",
21
21
  }
22
22
  headers["X-API-Key"] = self.api_key
23
23
  return headers
@@ -60,14 +60,8 @@ from .workflow_prompt_group import WorkflowPromptGroup
60
60
  from .workflow_prompt_role import WorkflowPromptRole
61
61
  from .workflow_response import WorkflowResponse
62
62
  from .workflow_step import WorkflowStep
63
+ from .workflow_step_config import WorkflowStepConfig
63
64
  from .workflow_steps import WorkflowSteps
64
- from .workflow_steps_chunk_instruct import WorkflowStepsChunkInstruct
65
- from .workflow_steps_chunk_summary import WorkflowStepsChunkSummary
66
- from .workflow_steps_doc_keys import WorkflowStepsDocKeys
67
- from .workflow_steps_doc_summary import WorkflowStepsDocSummary
68
- from .workflow_steps_search_query import WorkflowStepsSearchQuery
69
- from .workflow_steps_sect_instruct import WorkflowStepsSectInstruct
70
- from .workflow_steps_sect_summary import WorkflowStepsSectSummary
71
65
  from .workflows_response import WorkflowsResponse
72
66
 
73
67
  __all__ = [
@@ -129,13 +123,7 @@ __all__ = [
129
123
  "WorkflowPromptRole",
130
124
  "WorkflowResponse",
131
125
  "WorkflowStep",
126
+ "WorkflowStepConfig",
132
127
  "WorkflowSteps",
133
- "WorkflowStepsChunkInstruct",
134
- "WorkflowStepsChunkSummary",
135
- "WorkflowStepsDocKeys",
136
- "WorkflowStepsDocSummary",
137
- "WorkflowStepsSearchQuery",
138
- "WorkflowStepsSectInstruct",
139
- "WorkflowStepsSectSummary",
140
128
  "WorkflowsResponse",
141
129
  ]
@@ -3,9 +3,7 @@
3
3
  import typing
4
4
 
5
5
  import pydantic
6
- import typing_extensions
7
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
7
  from .workflow_prompt_role import WorkflowPromptRole
10
8
 
11
9
 
@@ -19,7 +17,7 @@ class WorkflowPrompt(UniversalBaseModel):
19
17
  A short version of the prompt that is included in historical chat transcripts as part of the prompt context
20
18
  """
21
19
 
22
- long_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="long")] = pydantic.Field(default=None)
20
+ prompt: typing.Optional[str] = pydantic.Field(default=None)
23
21
  """
24
22
  The prompt that is sent to the LLM
25
23
  """
@@ -6,12 +6,22 @@ import pydantic
6
6
  import typing_extensions
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
9
+ from .workflow_step_config import WorkflowStepConfig
10
10
 
11
11
 
12
- class WorkflowStepsDocSummary(UniversalBaseModel):
13
- all_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="all")] = None
14
- json_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="json")] = None
12
+ class WorkflowStep(UniversalBaseModel):
13
+ """
14
+ Configurations for an agent, including LLM information and prompts
15
+ """
16
+
17
+ all_: typing_extensions.Annotated[typing.Optional[WorkflowStepConfig], FieldMetadata(alias="all")] = None
18
+ figure: typing.Optional[WorkflowStepConfig] = None
19
+ json_: typing_extensions.Annotated[typing.Optional[WorkflowStepConfig], FieldMetadata(alias="json")] = None
20
+ paragraph: typing.Optional[WorkflowStepConfig] = None
21
+ table: typing.Optional[WorkflowStepConfig] = None
22
+ table_figure: typing_extensions.Annotated[
23
+ typing.Optional[WorkflowStepConfig], FieldMetadata(alias="table-figure")
24
+ ] = None
15
25
 
16
26
  if IS_PYDANTIC_V2:
17
27
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -8,7 +8,7 @@ from .workflow_engine import WorkflowEngine
8
8
  from .workflow_prompt_group import WorkflowPromptGroup
9
9
 
10
10
 
11
- class WorkflowStep(UniversalBaseModel):
11
+ class WorkflowStepConfig(UniversalBaseModel):
12
12
  """
13
13
  Configurations for an agent, including LLM information and prompts
14
14
  """
@@ -0,0 +1,38 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from ..core.serialization import FieldMetadata
9
+ from .workflow_step import WorkflowStep
10
+
11
+
12
+ class WorkflowSteps(UniversalBaseModel):
13
+ """
14
+ A collection of workflow steps
15
+ """
16
+
17
+ chunk_instruct: typing_extensions.Annotated[
18
+ typing.Optional[WorkflowStep], FieldMetadata(alias="chunk-instruct")
19
+ ] = None
20
+ chunk_summary: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="chunk-summary")] = (
21
+ None
22
+ )
23
+ doc_keys: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="doc-keys")] = None
24
+ doc_summary: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="doc-summary")] = None
25
+ search_query: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="search-query")] = None
26
+ sect_instruct: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="sect-instruct")] = (
27
+ None
28
+ )
29
+ sect_summary: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="sect-summary")] = None
30
+
31
+ if IS_PYDANTIC_V2:
32
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
33
+ else:
34
+
35
+ class Config:
36
+ frozen = True
37
+ smart_union = True
38
+ extra = pydantic.Extra.allow
@@ -1,50 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_steps_chunk_instruct import WorkflowStepsChunkInstruct
10
- from .workflow_steps_chunk_summary import WorkflowStepsChunkSummary
11
- from .workflow_steps_doc_keys import WorkflowStepsDocKeys
12
- from .workflow_steps_doc_summary import WorkflowStepsDocSummary
13
- from .workflow_steps_search_query import WorkflowStepsSearchQuery
14
- from .workflow_steps_sect_instruct import WorkflowStepsSectInstruct
15
- from .workflow_steps_sect_summary import WorkflowStepsSectSummary
16
-
17
-
18
- class WorkflowSteps(UniversalBaseModel):
19
- """
20
- A collection of workflow steps
21
- """
22
-
23
- chunk_instruct: typing_extensions.Annotated[
24
- typing.Optional[WorkflowStepsChunkInstruct], FieldMetadata(alias="chunk-instruct")
25
- ] = None
26
- chunk_summary: typing_extensions.Annotated[
27
- typing.Optional[WorkflowStepsChunkSummary], FieldMetadata(alias="chunk-summary")
28
- ] = None
29
- doc_keys: typing_extensions.Annotated[typing.Optional[WorkflowStepsDocKeys], FieldMetadata(alias="doc-keys")] = None
30
- doc_summary: typing_extensions.Annotated[
31
- typing.Optional[WorkflowStepsDocSummary], FieldMetadata(alias="doc-summary")
32
- ] = None
33
- search_query: typing_extensions.Annotated[
34
- typing.Optional[WorkflowStepsSearchQuery], FieldMetadata(alias="search-query")
35
- ] = None
36
- sect_instruct: typing_extensions.Annotated[
37
- typing.Optional[WorkflowStepsSectInstruct], FieldMetadata(alias="sect-instruct")
38
- ] = None
39
- sect_summary: typing_extensions.Annotated[
40
- typing.Optional[WorkflowStepsSectSummary], FieldMetadata(alias="sect-summary")
41
- ] = None
42
-
43
- if IS_PYDANTIC_V2:
44
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
45
- else:
46
-
47
- class Config:
48
- frozen = True
49
- smart_union = True
50
- extra = pydantic.Extra.allow
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
10
-
11
-
12
- class WorkflowStepsChunkInstruct(UniversalBaseModel):
13
- figure: typing.Optional[WorkflowStep] = None
14
- json_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="json")] = None
15
- table_figure: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="table-figure")] = None
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
10
-
11
-
12
- class WorkflowStepsChunkSummary(UniversalBaseModel):
13
- all_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="all")] = None
14
- figure: typing.Optional[WorkflowStep] = None
15
- json_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="json")] = None
16
- table: typing.Optional[WorkflowStep] = None
17
- table_figure: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="table-figure")] = None
18
-
19
- if IS_PYDANTIC_V2:
20
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
- else:
22
-
23
- class Config:
24
- frozen = True
25
- smart_union = True
26
- extra = pydantic.Extra.allow
@@ -1,22 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
10
-
11
-
12
- class WorkflowStepsDocKeys(UniversalBaseModel):
13
- all_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="all")] = None
14
-
15
- if IS_PYDANTIC_V2:
16
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
17
- else:
18
-
19
- class Config:
20
- frozen = True
21
- smart_union = True
22
- extra = pydantic.Extra.allow
@@ -1,22 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
10
-
11
-
12
- class WorkflowStepsSearchQuery(UniversalBaseModel):
13
- all_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="all")] = None
14
-
15
- if IS_PYDANTIC_V2:
16
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
17
- else:
18
-
19
- class Config:
20
- frozen = True
21
- smart_union = True
22
- extra = pydantic.Extra.allow
@@ -1,20 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .workflow_step import WorkflowStep
8
-
9
-
10
- class WorkflowStepsSectInstruct(UniversalBaseModel):
11
- table: typing.Optional[WorkflowStep] = None
12
-
13
- if IS_PYDANTIC_V2:
14
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
15
- else:
16
-
17
- class Config:
18
- frozen = True
19
- smart_union = True
20
- extra = pydantic.Extra.allow
@@ -1,23 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .workflow_step import WorkflowStep
10
-
11
-
12
- class WorkflowStepsSectSummary(UniversalBaseModel):
13
- all_: typing_extensions.Annotated[typing.Optional[WorkflowStep], FieldMetadata(alias="all")] = None
14
- table: typing.Optional[WorkflowStep] = None
15
-
16
- if IS_PYDANTIC_V2:
17
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
- else:
19
-
20
- class Config:
21
- frozen = True
22
- smart_union = True
23
- extra = pydantic.Extra.allow
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes