c63a5cfe-b235-4fbe-8bbb-82a9e02a482a-python 0.1.0a5__py3-none-any.whl → 0.1.0a7__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.
Files changed (240) hide show
  1. {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info}/METADATA +27 -27
  2. c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info/RECORD +237 -0
  3. {do_gradientai → gradientai}/__init__.py +2 -2
  4. {do_gradientai → gradientai}/_base_client.py +1 -1
  5. {do_gradientai → gradientai}/_client.py +12 -0
  6. {do_gradientai → gradientai}/_response.py +4 -4
  7. {do_gradientai → gradientai}/_types.py +1 -1
  8. {do_gradientai → gradientai}/_utils/_logs.py +2 -2
  9. {do_gradientai → gradientai}/_utils/_resources_proxy.py +4 -4
  10. {do_gradientai → gradientai}/_version.py +2 -2
  11. {do_gradientai → gradientai}/resources/agents/__init__.py +14 -0
  12. {do_gradientai → gradientai}/resources/agents/agents.py +32 -0
  13. gradientai/resources/agents/chat/chat.py +102 -0
  14. gradientai/resources/agents/chat/completions.py +385 -0
  15. gradientai/resources/chat/__init__.py +33 -0
  16. {do_gradientai → gradientai}/resources/models.py +105 -77
  17. {do_gradientai → gradientai}/types/__init__.py +3 -2
  18. {do_gradientai/types → gradientai/types/agents}/chat/__init__.py +0 -1
  19. gradientai/types/agents/chat/completion_create_response.py +81 -0
  20. gradientai/types/api_model.py +32 -0
  21. gradientai/types/chat/__init__.py +6 -0
  22. gradientai/types/chat/completion_create_params.py +185 -0
  23. {do_gradientai → gradientai}/types/chat/completion_create_response.py +1 -1
  24. gradientai/types/model_list_params.py +42 -0
  25. gradientai/types/model_list_response.py +18 -0
  26. {do_gradientai → gradientai}/types/shared/__init__.py +1 -0
  27. c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info/RECORD +0 -230
  28. do_gradientai/types/model.py +0 -21
  29. do_gradientai/types/model_list_response.py +0 -15
  30. {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info}/WHEEL +0 -0
  31. {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info}/licenses/LICENSE +0 -0
  32. {do_gradientai → gradientai}/_compat.py +0 -0
  33. {do_gradientai → gradientai}/_constants.py +0 -0
  34. {do_gradientai → gradientai}/_exceptions.py +0 -0
  35. {do_gradientai → gradientai}/_files.py +0 -0
  36. {do_gradientai → gradientai}/_models.py +0 -0
  37. {do_gradientai → gradientai}/_qs.py +0 -0
  38. {do_gradientai → gradientai}/_resource.py +0 -0
  39. {do_gradientai → gradientai}/_streaming.py +0 -0
  40. {do_gradientai → gradientai}/_utils/__init__.py +0 -0
  41. {do_gradientai → gradientai}/_utils/_proxy.py +0 -0
  42. {do_gradientai → gradientai}/_utils/_reflection.py +0 -0
  43. {do_gradientai → gradientai}/_utils/_streams.py +0 -0
  44. {do_gradientai → gradientai}/_utils/_sync.py +0 -0
  45. {do_gradientai → gradientai}/_utils/_transform.py +0 -0
  46. {do_gradientai → gradientai}/_utils/_typing.py +0 -0
  47. {do_gradientai → gradientai}/_utils/_utils.py +0 -0
  48. {do_gradientai → gradientai}/lib/.keep +0 -0
  49. {do_gradientai → gradientai}/py.typed +0 -0
  50. {do_gradientai → gradientai}/resources/__init__.py +0 -0
  51. {do_gradientai → gradientai}/resources/agents/api_keys.py +0 -0
  52. {do_gradientai/resources → gradientai/resources/agents}/chat/__init__.py +0 -0
  53. {do_gradientai → gradientai}/resources/agents/evaluation_datasets.py +0 -0
  54. {do_gradientai → gradientai}/resources/agents/evaluation_metrics/__init__.py +0 -0
  55. {do_gradientai → gradientai}/resources/agents/evaluation_metrics/evaluation_metrics.py +0 -0
  56. {do_gradientai → gradientai}/resources/agents/evaluation_metrics/workspaces/__init__.py +0 -0
  57. {do_gradientai → gradientai}/resources/agents/evaluation_metrics/workspaces/agents.py +0 -0
  58. {do_gradientai → gradientai}/resources/agents/evaluation_metrics/workspaces/workspaces.py +0 -0
  59. {do_gradientai → gradientai}/resources/agents/evaluation_runs.py +0 -0
  60. {do_gradientai → gradientai}/resources/agents/evaluation_test_cases.py +0 -0
  61. {do_gradientai → gradientai}/resources/agents/functions.py +0 -0
  62. {do_gradientai → gradientai}/resources/agents/knowledge_bases.py +0 -0
  63. {do_gradientai → gradientai}/resources/agents/routes.py +0 -0
  64. {do_gradientai → gradientai}/resources/agents/versions.py +0 -0
  65. {do_gradientai → gradientai}/resources/chat/chat.py +0 -0
  66. {do_gradientai → gradientai}/resources/chat/completions.py +0 -0
  67. {do_gradientai → gradientai}/resources/inference/__init__.py +0 -0
  68. {do_gradientai → gradientai}/resources/inference/api_keys.py +0 -0
  69. {do_gradientai → gradientai}/resources/inference/inference.py +0 -0
  70. {do_gradientai → gradientai}/resources/knowledge_bases/__init__.py +0 -0
  71. {do_gradientai → gradientai}/resources/knowledge_bases/data_sources.py +0 -0
  72. {do_gradientai → gradientai}/resources/knowledge_bases/indexing_jobs.py +0 -0
  73. {do_gradientai → gradientai}/resources/knowledge_bases/knowledge_bases.py +0 -0
  74. {do_gradientai → gradientai}/resources/model_providers/__init__.py +0 -0
  75. {do_gradientai → gradientai}/resources/model_providers/anthropic/__init__.py +0 -0
  76. {do_gradientai → gradientai}/resources/model_providers/anthropic/anthropic.py +0 -0
  77. {do_gradientai → gradientai}/resources/model_providers/anthropic/keys.py +0 -0
  78. {do_gradientai → gradientai}/resources/model_providers/model_providers.py +0 -0
  79. {do_gradientai → gradientai}/resources/model_providers/openai/__init__.py +0 -0
  80. {do_gradientai → gradientai}/resources/model_providers/openai/keys.py +0 -0
  81. {do_gradientai → gradientai}/resources/model_providers/openai/openai.py +0 -0
  82. {do_gradientai → gradientai}/resources/regions.py +0 -0
  83. {do_gradientai → gradientai}/types/agent_create_params.py +0 -0
  84. {do_gradientai → gradientai}/types/agent_create_response.py +0 -0
  85. {do_gradientai → gradientai}/types/agent_delete_response.py +0 -0
  86. {do_gradientai → gradientai}/types/agent_list_params.py +0 -0
  87. {do_gradientai → gradientai}/types/agent_list_response.py +0 -0
  88. {do_gradientai → gradientai}/types/agent_retrieve_response.py +0 -0
  89. {do_gradientai → gradientai}/types/agent_update_params.py +0 -0
  90. {do_gradientai → gradientai}/types/agent_update_response.py +0 -0
  91. {do_gradientai → gradientai}/types/agent_update_status_params.py +0 -0
  92. {do_gradientai → gradientai}/types/agent_update_status_response.py +0 -0
  93. {do_gradientai → gradientai}/types/agents/__init__.py +0 -0
  94. {do_gradientai → gradientai}/types/agents/api_evaluation_metric.py +0 -0
  95. {do_gradientai → gradientai}/types/agents/api_evaluation_metric_result.py +0 -0
  96. {do_gradientai → gradientai}/types/agents/api_evaluation_prompt.py +0 -0
  97. {do_gradientai → gradientai}/types/agents/api_evaluation_run.py +0 -0
  98. {do_gradientai → gradientai}/types/agents/api_evaluation_test_case.py +0 -0
  99. {do_gradientai → gradientai}/types/agents/api_key_create_params.py +0 -0
  100. {do_gradientai → gradientai}/types/agents/api_key_create_response.py +0 -0
  101. {do_gradientai → gradientai}/types/agents/api_key_delete_response.py +0 -0
  102. {do_gradientai → gradientai}/types/agents/api_key_list_params.py +0 -0
  103. {do_gradientai → gradientai}/types/agents/api_key_list_response.py +0 -0
  104. {do_gradientai → gradientai}/types/agents/api_key_regenerate_response.py +0 -0
  105. {do_gradientai → gradientai}/types/agents/api_key_update_params.py +0 -0
  106. {do_gradientai → gradientai}/types/agents/api_key_update_response.py +0 -0
  107. {do_gradientai → gradientai}/types/agents/api_link_knowledge_base_output.py +0 -0
  108. {do_gradientai → gradientai}/types/agents/api_star_metric.py +0 -0
  109. {do_gradientai → gradientai}/types/agents/api_star_metric_param.py +0 -0
  110. {do_gradientai/types → gradientai/types/agents}/chat/completion_create_params.py +0 -0
  111. {do_gradientai → gradientai}/types/agents/evaluation_dataset_create_file_upload_presigned_urls_params.py +0 -0
  112. {do_gradientai → gradientai}/types/agents/evaluation_dataset_create_file_upload_presigned_urls_response.py +0 -0
  113. {do_gradientai → gradientai}/types/agents/evaluation_dataset_create_params.py +0 -0
  114. {do_gradientai → gradientai}/types/agents/evaluation_dataset_create_response.py +0 -0
  115. {do_gradientai → gradientai}/types/agents/evaluation_metric_list_response.py +0 -0
  116. {do_gradientai → gradientai}/types/agents/evaluation_metrics/__init__.py +0 -0
  117. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_create_params.py +0 -0
  118. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_create_response.py +0 -0
  119. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_delete_response.py +0 -0
  120. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_list_evaluation_test_cases_response.py +0 -0
  121. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_list_response.py +0 -0
  122. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_retrieve_response.py +0 -0
  123. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_update_params.py +0 -0
  124. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspace_update_response.py +0 -0
  125. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspaces/__init__.py +0 -0
  126. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspaces/agent_list_params.py +0 -0
  127. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspaces/agent_list_response.py +0 -0
  128. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspaces/agent_move_params.py +0 -0
  129. {do_gradientai → gradientai}/types/agents/evaluation_metrics/workspaces/agent_move_response.py +0 -0
  130. {do_gradientai → gradientai}/types/agents/evaluation_run_create_params.py +0 -0
  131. {do_gradientai → gradientai}/types/agents/evaluation_run_create_response.py +0 -0
  132. {do_gradientai → gradientai}/types/agents/evaluation_run_list_results_response.py +0 -0
  133. {do_gradientai → gradientai}/types/agents/evaluation_run_retrieve_response.py +0 -0
  134. {do_gradientai → gradientai}/types/agents/evaluation_run_retrieve_results_response.py +0 -0
  135. {do_gradientai → gradientai}/types/agents/evaluation_test_case_create_params.py +0 -0
  136. {do_gradientai → gradientai}/types/agents/evaluation_test_case_create_response.py +0 -0
  137. {do_gradientai → gradientai}/types/agents/evaluation_test_case_list_evaluation_runs_params.py +0 -0
  138. {do_gradientai → gradientai}/types/agents/evaluation_test_case_list_evaluation_runs_response.py +0 -0
  139. {do_gradientai → gradientai}/types/agents/evaluation_test_case_list_response.py +0 -0
  140. {do_gradientai → gradientai}/types/agents/evaluation_test_case_retrieve_params.py +0 -0
  141. {do_gradientai → gradientai}/types/agents/evaluation_test_case_retrieve_response.py +0 -0
  142. {do_gradientai → gradientai}/types/agents/evaluation_test_case_update_params.py +0 -0
  143. {do_gradientai → gradientai}/types/agents/evaluation_test_case_update_response.py +0 -0
  144. {do_gradientai → gradientai}/types/agents/function_create_params.py +0 -0
  145. {do_gradientai → gradientai}/types/agents/function_create_response.py +0 -0
  146. {do_gradientai → gradientai}/types/agents/function_delete_response.py +0 -0
  147. {do_gradientai → gradientai}/types/agents/function_update_params.py +0 -0
  148. {do_gradientai → gradientai}/types/agents/function_update_response.py +0 -0
  149. {do_gradientai → gradientai}/types/agents/knowledge_base_detach_response.py +0 -0
  150. {do_gradientai → gradientai}/types/agents/route_add_params.py +0 -0
  151. {do_gradientai → gradientai}/types/agents/route_add_response.py +0 -0
  152. {do_gradientai → gradientai}/types/agents/route_delete_response.py +0 -0
  153. {do_gradientai → gradientai}/types/agents/route_update_params.py +0 -0
  154. {do_gradientai → gradientai}/types/agents/route_update_response.py +0 -0
  155. {do_gradientai → gradientai}/types/agents/route_view_response.py +0 -0
  156. {do_gradientai → gradientai}/types/agents/version_list_params.py +0 -0
  157. {do_gradientai → gradientai}/types/agents/version_list_response.py +0 -0
  158. {do_gradientai → gradientai}/types/agents/version_update_params.py +0 -0
  159. {do_gradientai → gradientai}/types/agents/version_update_response.py +0 -0
  160. {do_gradientai → gradientai}/types/api_agent.py +0 -0
  161. {do_gradientai → gradientai}/types/api_agent_api_key_info.py +0 -0
  162. {do_gradientai → gradientai}/types/api_agent_model.py +0 -0
  163. {do_gradientai → gradientai}/types/api_agreement.py +0 -0
  164. {do_gradientai → gradientai}/types/api_anthropic_api_key_info.py +0 -0
  165. {do_gradientai → gradientai}/types/api_deployment_visibility.py +0 -0
  166. {do_gradientai → gradientai}/types/api_knowledge_base.py +0 -0
  167. {do_gradientai → gradientai}/types/api_model_version.py +0 -0
  168. {do_gradientai → gradientai}/types/api_openai_api_key_info.py +0 -0
  169. {do_gradientai → gradientai}/types/api_retrieval_method.py +0 -0
  170. {do_gradientai → gradientai}/types/api_workspace.py +0 -0
  171. {do_gradientai → gradientai}/types/inference/__init__.py +0 -0
  172. {do_gradientai → gradientai}/types/inference/api_key_create_params.py +0 -0
  173. {do_gradientai → gradientai}/types/inference/api_key_create_response.py +0 -0
  174. {do_gradientai → gradientai}/types/inference/api_key_delete_response.py +0 -0
  175. {do_gradientai → gradientai}/types/inference/api_key_list_params.py +0 -0
  176. {do_gradientai → gradientai}/types/inference/api_key_list_response.py +0 -0
  177. {do_gradientai → gradientai}/types/inference/api_key_update_params.py +0 -0
  178. {do_gradientai → gradientai}/types/inference/api_key_update_regenerate_response.py +0 -0
  179. {do_gradientai → gradientai}/types/inference/api_key_update_response.py +0 -0
  180. {do_gradientai → gradientai}/types/inference/api_model_api_key_info.py +0 -0
  181. {do_gradientai → gradientai}/types/knowledge_base_create_params.py +0 -0
  182. {do_gradientai → gradientai}/types/knowledge_base_create_response.py +0 -0
  183. {do_gradientai → gradientai}/types/knowledge_base_delete_response.py +0 -0
  184. {do_gradientai → gradientai}/types/knowledge_base_list_params.py +0 -0
  185. {do_gradientai → gradientai}/types/knowledge_base_list_response.py +0 -0
  186. {do_gradientai → gradientai}/types/knowledge_base_retrieve_response.py +0 -0
  187. {do_gradientai → gradientai}/types/knowledge_base_update_params.py +0 -0
  188. {do_gradientai → gradientai}/types/knowledge_base_update_response.py +0 -0
  189. {do_gradientai → gradientai}/types/knowledge_bases/__init__.py +0 -0
  190. {do_gradientai → gradientai}/types/knowledge_bases/api_file_upload_data_source.py +0 -0
  191. {do_gradientai → gradientai}/types/knowledge_bases/api_file_upload_data_source_param.py +0 -0
  192. {do_gradientai → gradientai}/types/knowledge_bases/api_indexed_data_source.py +0 -0
  193. {do_gradientai → gradientai}/types/knowledge_bases/api_indexing_job.py +0 -0
  194. {do_gradientai → gradientai}/types/knowledge_bases/api_knowledge_base_data_source.py +0 -0
  195. {do_gradientai → gradientai}/types/knowledge_bases/api_spaces_data_source.py +0 -0
  196. {do_gradientai → gradientai}/types/knowledge_bases/api_spaces_data_source_param.py +0 -0
  197. {do_gradientai → gradientai}/types/knowledge_bases/api_web_crawler_data_source.py +0 -0
  198. {do_gradientai → gradientai}/types/knowledge_bases/api_web_crawler_data_source_param.py +0 -0
  199. {do_gradientai → gradientai}/types/knowledge_bases/aws_data_source_param.py +0 -0
  200. {do_gradientai → gradientai}/types/knowledge_bases/data_source_create_params.py +0 -0
  201. {do_gradientai → gradientai}/types/knowledge_bases/data_source_create_response.py +0 -0
  202. {do_gradientai → gradientai}/types/knowledge_bases/data_source_delete_response.py +0 -0
  203. {do_gradientai → gradientai}/types/knowledge_bases/data_source_list_params.py +0 -0
  204. {do_gradientai → gradientai}/types/knowledge_bases/data_source_list_response.py +0 -0
  205. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_create_params.py +0 -0
  206. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_create_response.py +0 -0
  207. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_list_params.py +0 -0
  208. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_list_response.py +0 -0
  209. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_retrieve_data_sources_response.py +0 -0
  210. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_retrieve_response.py +0 -0
  211. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_update_cancel_params.py +0 -0
  212. {do_gradientai → gradientai}/types/knowledge_bases/indexing_job_update_cancel_response.py +0 -0
  213. {do_gradientai → gradientai}/types/model_providers/__init__.py +0 -0
  214. {do_gradientai → gradientai}/types/model_providers/anthropic/__init__.py +0 -0
  215. {do_gradientai → gradientai}/types/model_providers/anthropic/key_create_params.py +0 -0
  216. {do_gradientai → gradientai}/types/model_providers/anthropic/key_create_response.py +0 -0
  217. {do_gradientai → gradientai}/types/model_providers/anthropic/key_delete_response.py +0 -0
  218. {do_gradientai → gradientai}/types/model_providers/anthropic/key_list_agents_params.py +0 -0
  219. {do_gradientai → gradientai}/types/model_providers/anthropic/key_list_agents_response.py +0 -0
  220. {do_gradientai → gradientai}/types/model_providers/anthropic/key_list_params.py +0 -0
  221. {do_gradientai → gradientai}/types/model_providers/anthropic/key_list_response.py +0 -0
  222. {do_gradientai → gradientai}/types/model_providers/anthropic/key_retrieve_response.py +0 -0
  223. {do_gradientai → gradientai}/types/model_providers/anthropic/key_update_params.py +0 -0
  224. {do_gradientai → gradientai}/types/model_providers/anthropic/key_update_response.py +0 -0
  225. {do_gradientai → gradientai}/types/model_providers/openai/__init__.py +0 -0
  226. {do_gradientai → gradientai}/types/model_providers/openai/key_create_params.py +0 -0
  227. {do_gradientai → gradientai}/types/model_providers/openai/key_create_response.py +0 -0
  228. {do_gradientai → gradientai}/types/model_providers/openai/key_delete_response.py +0 -0
  229. {do_gradientai → gradientai}/types/model_providers/openai/key_list_params.py +0 -0
  230. {do_gradientai → gradientai}/types/model_providers/openai/key_list_response.py +0 -0
  231. {do_gradientai → gradientai}/types/model_providers/openai/key_retrieve_agents_params.py +0 -0
  232. {do_gradientai → gradientai}/types/model_providers/openai/key_retrieve_agents_response.py +0 -0
  233. {do_gradientai → gradientai}/types/model_providers/openai/key_retrieve_response.py +0 -0
  234. {do_gradientai → gradientai}/types/model_providers/openai/key_update_params.py +0 -0
  235. {do_gradientai → gradientai}/types/model_providers/openai/key_update_response.py +0 -0
  236. {do_gradientai → gradientai}/types/region_list_params.py +0 -0
  237. {do_gradientai → gradientai}/types/region_list_response.py +0 -0
  238. {do_gradientai → gradientai}/types/shared/api_links.py +0 -0
  239. {do_gradientai → gradientai}/types/shared/api_meta.py +0 -0
  240. {do_gradientai/types/chat → gradientai/types/shared}/chat_completion_token_logprob.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: c63a5cfe-b235-4fbe-8bbb-82a9e02a482a-python
3
- Version: 0.1.0a5
3
+ Version: 0.1.0a7
4
4
  Summary: The official Python library for GradientAI
5
5
  Project-URL: Homepage, https://github.com/digitalocean/gradientai-python
6
6
  Project-URL: Repository, https://github.com/digitalocean/gradientai-python
@@ -59,13 +59,13 @@ The full API of this library can be found in [api.md](https://github.com/digital
59
59
 
60
60
  ```python
61
61
  import os
62
- from do_gradientai import GradientAI
62
+ from gradientai import GradientAI
63
63
 
64
64
  client = GradientAI(
65
65
  api_key=os.environ.get("GRADIENTAI_API_KEY"), # This is the default and can be omitted
66
66
  )
67
67
 
68
- completion = client.chat.completions.create(
68
+ completion = client.agents.chat.completions.create(
69
69
  messages=[
70
70
  {
71
71
  "content": "string",
@@ -89,7 +89,7 @@ Simply import `AsyncGradientAI` instead of `GradientAI` and use `await` with eac
89
89
  ```python
90
90
  import os
91
91
  import asyncio
92
- from do_gradientai import AsyncGradientAI
92
+ from gradientai import AsyncGradientAI
93
93
 
94
94
  client = AsyncGradientAI(
95
95
  api_key=os.environ.get("GRADIENTAI_API_KEY"), # This is the default and can be omitted
@@ -97,7 +97,7 @@ client = AsyncGradientAI(
97
97
 
98
98
 
99
99
  async def main() -> None:
100
- completion = await client.chat.completions.create(
100
+ completion = await client.agents.chat.completions.create(
101
101
  messages=[
102
102
  {
103
103
  "content": "string",
@@ -130,8 +130,8 @@ Then you can enable it by instantiating the client with `http_client=DefaultAioH
130
130
  ```python
131
131
  import os
132
132
  import asyncio
133
- from do_gradientai import DefaultAioHttpClient
134
- from do_gradientai import AsyncGradientAI
133
+ from gradientai import DefaultAioHttpClient
134
+ from gradientai import AsyncGradientAI
135
135
 
136
136
 
137
137
  async def main() -> None:
@@ -139,7 +139,7 @@ async def main() -> None:
139
139
  api_key=os.environ.get("GRADIENTAI_API_KEY"), # This is the default and can be omitted
140
140
  http_client=DefaultAioHttpClient(),
141
141
  ) as client:
142
- completion = await client.chat.completions.create(
142
+ completion = await client.agents.chat.completions.create(
143
143
  messages=[
144
144
  {
145
145
  "content": "string",
@@ -168,11 +168,11 @@ Typed requests and responses provide autocomplete and documentation within your
168
168
  Nested parameters are dictionaries, typed using `TypedDict`, for example:
169
169
 
170
170
  ```python
171
- from do_gradientai import GradientAI
171
+ from gradientai import GradientAI
172
172
 
173
173
  client = GradientAI()
174
174
 
175
- completion = client.chat.completions.create(
175
+ completion = client.agents.chat.completions.create(
176
176
  messages=[
177
177
  {
178
178
  "content": "string",
@@ -187,16 +187,16 @@ print(completion.stream_options)
187
187
 
188
188
  ## Handling errors
189
189
 
190
- When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `do_gradientai.APIConnectionError` is raised.
190
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `gradientai.APIConnectionError` is raised.
191
191
 
192
192
  When the API returns a non-success status code (that is, 4xx or 5xx
193
- response), a subclass of `do_gradientai.APIStatusError` is raised, containing `status_code` and `response` properties.
193
+ response), a subclass of `gradientai.APIStatusError` is raised, containing `status_code` and `response` properties.
194
194
 
195
- All errors inherit from `do_gradientai.APIError`.
195
+ All errors inherit from `gradientai.APIError`.
196
196
 
197
197
  ```python
198
- import do_gradientai
199
- from do_gradientai import GradientAI
198
+ import gradientai
199
+ from gradientai import GradientAI
200
200
 
201
201
  client = GradientAI()
202
202
 
@@ -204,12 +204,12 @@ try:
204
204
  client.agents.versions.list(
205
205
  uuid="REPLACE_ME",
206
206
  )
207
- except do_gradientai.APIConnectionError as e:
207
+ except gradientai.APIConnectionError as e:
208
208
  print("The server could not be reached")
209
209
  print(e.__cause__) # an underlying Exception, likely raised within httpx.
210
- except do_gradientai.RateLimitError as e:
210
+ except gradientai.RateLimitError as e:
211
211
  print("A 429 status code was received; we should back off a bit.")
212
- except do_gradientai.APIStatusError as e:
212
+ except gradientai.APIStatusError as e:
213
213
  print("Another non-200-range status code was received")
214
214
  print(e.status_code)
215
215
  print(e.response)
@@ -237,7 +237,7 @@ Connection errors (for example, due to a network connectivity problem), 408 Requ
237
237
  You can use the `max_retries` option to configure or disable retry settings:
238
238
 
239
239
  ```python
240
- from do_gradientai import GradientAI
240
+ from gradientai import GradientAI
241
241
 
242
242
  # Configure the default for all requests:
243
243
  client = GradientAI(
@@ -257,7 +257,7 @@ By default requests time out after 1 minute. You can configure this with a `time
257
257
  which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
258
258
 
259
259
  ```python
260
- from do_gradientai import GradientAI
260
+ from gradientai import GradientAI
261
261
 
262
262
  # Configure the default for all requests:
263
263
  client = GradientAI(
@@ -311,7 +311,7 @@ if response.my_field is None:
311
311
  The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
312
312
 
313
313
  ```py
314
- from do_gradientai import GradientAI
314
+ from gradientai import GradientAI
315
315
 
316
316
  client = GradientAI()
317
317
  response = client.agents.versions.with_raw_response.list(
@@ -323,9 +323,9 @@ version = response.parse() # get the object that `agents.versions.list()` would
323
323
  print(version.agent_versions)
324
324
  ```
325
325
 
326
- These methods return an [`APIResponse`](https://github.com/digitalocean/gradientai-python/tree/main/src/do_gradientai/_response.py) object.
326
+ These methods return an [`APIResponse`](https://github.com/digitalocean/gradientai-python/tree/main/src/gradientai/_response.py) object.
327
327
 
328
- The async client returns an [`AsyncAPIResponse`](https://github.com/digitalocean/gradientai-python/tree/main/src/do_gradientai/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
328
+ The async client returns an [`AsyncAPIResponse`](https://github.com/digitalocean/gradientai-python/tree/main/src/gradientai/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
329
329
 
330
330
  #### `.with_streaming_response`
331
331
 
@@ -389,7 +389,7 @@ You can directly override the [httpx client](https://www.python-httpx.org/api/#c
389
389
 
390
390
  ```python
391
391
  import httpx
392
- from do_gradientai import GradientAI, DefaultHttpxClient
392
+ from gradientai import GradientAI, DefaultHttpxClient
393
393
 
394
394
  client = GradientAI(
395
395
  # Or use the `GRADIENT_AI_BASE_URL` env var
@@ -412,7 +412,7 @@ client.with_options(http_client=DefaultHttpxClient(...))
412
412
  By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
413
413
 
414
414
  ```py
415
- from do_gradientai import GradientAI
415
+ from gradientai import GradientAI
416
416
 
417
417
  with GradientAI() as client:
418
418
  # make requests here
@@ -440,8 +440,8 @@ If you've upgraded to the latest version but aren't seeing any new features you
440
440
  You can determine the version that is being used at runtime with:
441
441
 
442
442
  ```py
443
- import do_gradientai
444
- print(do_gradientai.__version__)
443
+ import gradientai
444
+ print(gradientai.__version__)
445
445
  ```
446
446
 
447
447
  ## Requirements
@@ -0,0 +1,237 @@
1
+ gradientai/__init__.py,sha256=yqy3yZnX0JVUS-H01MAvroChzqS67Qf072OrPfNckjI,2655
2
+ gradientai/_base_client.py,sha256=TADFnPHK7WpsNuJUY76SxMFf2IVoOdz_tlloQEXkutk,66719
3
+ gradientai/_client.py,sha256=eKRTIA1SXYoAA28P6LyDc49IOxCB4hUI2YWrszXqXdY,27334
4
+ gradientai/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
+ gradientai/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ gradientai/_exceptions.py,sha256=o1GvaW36c7_LMj5WasVKUBOpae8tzETBJsfbVphb3Vk,3228
7
+ gradientai/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
+ gradientai/_models.py,sha256=G1vczEodX0vUySeVKbF-mbzlaObNL1oVAYH4c65agRk,29131
9
+ gradientai/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ gradientai/_resource.py,sha256=4NZbH2h8dQ-t-DQPida4VANJ_oZJNA7qxV84mwJT8oM,1124
11
+ gradientai/_response.py,sha256=RhlDdupxTcKNyDDj045MZD3-a_lsEc3yjiOzxWg0cDc,28842
12
+ gradientai/_streaming.py,sha256=AWqY4cmmmTplZperXnkkMkeQ11gmpqYbt6TIXByqCv8,10116
13
+ gradientai/_types.py,sha256=22gBoIuoGJ1R6l5nPwquWCRzJodKhO-3e7k22-h37JQ,6201
14
+ gradientai/_version.py,sha256=3OiJuEV2eKbtW9ToIU93cLhPFrPrdnFJrulaUojrGfE,170
15
+ gradientai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ gradientai/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
+ gradientai/_utils/_logs.py,sha256=1QuZcxzSKHcqNFbPoz_pvfLD5eDfOMBzGMyanAm_2gw,787
18
+ gradientai/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
19
+ gradientai/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ gradientai/_utils/_resources_proxy.py,sha256=NDJuLXxRGC4t6-ySSK6WI-uyqJzx3Z-doQRGfCkuP3w,609
21
+ gradientai/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
22
+ gradientai/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
23
+ gradientai/_utils/_transform.py,sha256=n7kskEWz6o__aoNvhFoGVyDoalNe6mJwp-g7BWkdj88,15617
24
+ gradientai/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0XcnjtY,4602
25
+ gradientai/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
26
+ gradientai/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
+ gradientai/resources/__init__.py,sha256=Sej63-wOANl_4F78LH6m2Zx2Qu_-wGPHirIiq_20gwk,3488
28
+ gradientai/resources/models.py,sha256=SKdBMKr6NP1ldD_xzbr-gUL8hdo33omUAz5UPAJ0KWQ,9434
29
+ gradientai/resources/regions.py,sha256=c4KX_qFTu83Svil1CO8CP4XdkEIfNQD3zwU_E6w734A,7172
30
+ gradientai/resources/agents/__init__.py,sha256=2LkcBGQQJzBhZhVaeAy_IiqAPu28nV-d3_S-b__lTmk,5787
31
+ gradientai/resources/agents/agents.py,sha256=8hp-HMwlAH9VO-TBbTQMUpkkhRDFYzpc47VN9URJY_0,46177
32
+ gradientai/resources/agents/api_keys.py,sha256=1Uh77vhUD0WYUkvX0RD4VcLCOWFG6vL6Lz1EQRDx-t4,24632
33
+ gradientai/resources/agents/evaluation_datasets.py,sha256=mhs9lTIIZHfUFgN93jBdJYQZ0iGHQwN_EQlTFk2IiDU,12594
34
+ gradientai/resources/agents/evaluation_runs.py,sha256=LDaEWVWUjrPcLMqQ6TQldzoc1a1ydz2rzpAcP1KNpxI,19483
35
+ gradientai/resources/agents/evaluation_test_cases.py,sha256=F7nTpn6cKhUkC7wy8DAr4Lm7G9I1cVX6goBaOUR4Pow,27342
36
+ gradientai/resources/agents/functions.py,sha256=ZAOelsCnOl8lRuF5RpZDVGMN-E0yTG4Vo3hA-wv5Ldg,18492
37
+ gradientai/resources/agents/knowledge_bases.py,sha256=rFIrqsT7nXFJ_Sy4OWpUc8QmBGKSN_PhYpFpWvYHTfg,15191
38
+ gradientai/resources/agents/routes.py,sha256=pDoK5hUgluhz5awJ9FR_krF8DIbkRzLX__MTYYQa2bA,21957
39
+ gradientai/resources/agents/versions.py,sha256=hmHDaawFkpqoUEYI4Vi5jckH3mamkPKupXO3cZccyKE,11546
40
+ gradientai/resources/agents/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
41
+ gradientai/resources/agents/chat/chat.py,sha256=nt97777qa-xM71JQBKDFG_x7fUDJRvy6rF5LoBiMOKE,3698
42
+ gradientai/resources/agents/chat/completions.py,sha256=bkaLCAXB9RkTg_D56XbnCIsJl_gKwwaoFhCDDDYT040,18230
43
+ gradientai/resources/agents/evaluation_metrics/__init__.py,sha256=qUCsT_vI2TrZrUBPe8h-VMNBE4ytcoe0RXshDctV0g0,1198
44
+ gradientai/resources/agents/evaluation_metrics/evaluation_metrics.py,sha256=BueqcWT0lqbElo-lgntkr1s7J0-qi2KqEZV2qzc7dcI,7089
45
+ gradientai/resources/agents/evaluation_metrics/workspaces/__init__.py,sha256=Zf3wa7WSVOKyG1x9Fppny38_ewQCbdghxbptqGFVfOM,1054
46
+ gradientai/resources/agents/evaluation_metrics/workspaces/agents.py,sha256=AVgDNRVJI07ERA_cRFY8KeUZZjPBLHv6GK2jPhu4Jt0,12553
47
+ gradientai/resources/agents/evaluation_metrics/workspaces/workspaces.py,sha256=iSQS3IW5xjOX5EsyJraoS5enwzrBARUhm6Xl1EgiICE,27079
48
+ gradientai/resources/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
49
+ gradientai/resources/chat/chat.py,sha256=ANOEzzDATXj-onkkdtvVad9O-Dfwe7Uza7yfA_3bU4U,3696
50
+ gradientai/resources/chat/completions.py,sha256=KWtB8ro2ClciI4NhbXzgXL-bIE7fcInDdGR7EElA5nU,19108
51
+ gradientai/resources/inference/__init__.py,sha256=5Yk9bdOpUJPTero0_CvA-GJvcU5_gVlN1jf5r2GGGPY,1055
52
+ gradientai/resources/inference/api_keys.py,sha256=xgWTFTp8IVRkw2nvXnfjBZPOTJyLUDIKlE7fSmb1y2I,22021
53
+ gradientai/resources/inference/inference.py,sha256=jBimuBx3kKsuwC3pgy-PPrWg1TryO_a108CC_xLS2-Y,3771
54
+ gradientai/resources/knowledge_bases/__init__.py,sha256=lTQb-5YWsLKoXrPaxO6opzsGXpXZybuowe1kgFGDTcA,1702
55
+ gradientai/resources/knowledge_bases/data_sources.py,sha256=uSX40BBVrjnEpa3DATR2XH76gmJANG-oFnMe5N8MTis,17889
56
+ gradientai/resources/knowledge_bases/indexing_jobs.py,sha256=01xbt4UNTla51cUD5tLeUIT3cH87GoP3VKK-Mv-rEaY,23185
57
+ gradientai/resources/knowledge_bases/knowledge_bases.py,sha256=ZEIAfLoIlfgzY19xyinKZRlp-ZNjfbr8X3nDbtKsfP0,29461
58
+ gradientai/resources/model_providers/__init__.py,sha256=JuYymuWt40b6uJfYZpKGT9Ym1kmhO7Et8rnte6YNGJE,1596
59
+ gradientai/resources/model_providers/model_providers.py,sha256=XYhPTpba1nMnVNd2pRajekeQEvG2OPCVuxOkkRFIc2E,5136
60
+ gradientai/resources/model_providers/anthropic/__init__.py,sha256=07ZXCxoPjF79SZEYuffvDn-WcVsSjhNZm7HBMb_6pYI,1015
61
+ gradientai/resources/model_providers/anthropic/anthropic.py,sha256=F056ue6d1WI8amKsarHh-Sfe_E3DRgxlEZOUL5S5JkU,3675
62
+ gradientai/resources/model_providers/anthropic/keys.py,sha256=WyRqOn51jfb3Iuu8mlhghBuX1uYyd0rga3-3owc3NLA,26495
63
+ gradientai/resources/model_providers/openai/__init__.py,sha256=77LFIe5ko8imMJR7pkAn3E9r4rzw7j2fF9ZSpBaLZyo,976
64
+ gradientai/resources/model_providers/openai/keys.py,sha256=HAwxE3WVrBLPZnn799iHL9LRzMWTCdldZ5-PNeWhQrs,26388
65
+ gradientai/resources/model_providers/openai/openai.py,sha256=MfV9fB4EJVa6RYIfVS2QJW_BSkShLKCscDuxDV8wCBE,3567
66
+ gradientai/types/__init__.py,sha256=U5bsYUOgm6miO6k6D6oMl_dbFfzP5UsJT_L8QSyj7Bc,2918
67
+ gradientai/types/agent_create_params.py,sha256=nvLpM8V64762cwAn7ggyvbSzQ0mgjwOopOUZ_bVL1-I,912
68
+ gradientai/types/agent_create_response.py,sha256=frBMp76xLUzznVzWP70fb49drn3r3-2l4kX1xpQrNmg,332
69
+ gradientai/types/agent_delete_response.py,sha256=_1ciIOuRDvbeuaBvbCOpLV7QF6TufMX5MXNsBZv6H4s,332
70
+ gradientai/types/agent_list_params.py,sha256=RC6oo07xNp6vfHRLvwS5wRrM6yjpEUf7Q0RNyc3lUQM,396
71
+ gradientai/types/agent_list_response.py,sha256=WrK6dBVB0D36kaMqxG-UO6Xh9T0eyjvkgrLr6Ndg5AQ,4873
72
+ gradientai/types/agent_retrieve_response.py,sha256=y7F3MascI1aBoVkPORghe_CQHstUXBVF4oMJcjDByMk,336
73
+ gradientai/types/agent_update_params.py,sha256=aIuFbZmb0fBXvGFnjL4nWobXgwfVUe1IEiMqYzYPAJ8,1771
74
+ gradientai/types/agent_update_response.py,sha256=tLXl32VqNHwi8oW9A9jRKMFcGjXR1edflnr7ermyspQ,332
75
+ gradientai/types/agent_update_status_params.py,sha256=rK-txkmPGkR4cChMVJ0_t5fy3XZWBPlTP2eEykPST0w,467
76
+ gradientai/types/agent_update_status_response.py,sha256=pbl3IO_hNYlVh3cFmXQccUZKSJe97pC-LFS-QZ5Ab2U,344
77
+ gradientai/types/api_agent.py,sha256=dUGm4_bD_R7OQ_fSvQWZU6fSUVIMhFUAfnzUIfmZ2W0,6017
78
+ gradientai/types/api_agent_api_key_info.py,sha256=fXqCbC6UVQg3X15WhGFoDn1g0x6IJ9ec5uK3siAnmE0,476
79
+ gradientai/types/api_agent_model.py,sha256=GHX8w9IBBOsYnIFv8E0SF_vOWvETAG8kkrYqvz8S59g,1435
80
+ gradientai/types/api_agreement.py,sha256=hMeoGBF2HySVHDm4dFTyamq19BexwhezL6Y1e_R1uFk,342
81
+ gradientai/types/api_anthropic_api_key_info.py,sha256=Ii_1zvwZselJjf9XwUGDFWq-fT7VlgC_l-cfXQfpc-s,489
82
+ gradientai/types/api_deployment_visibility.py,sha256=WT2fj4lgBorEOB9EirE50Xn0-J56a5v1zXuNpKCrzf0,340
83
+ gradientai/types/api_knowledge_base.py,sha256=LoZAFXubzOBaV3edIYCr8-N7cwwf4BEyzKudw1hQjZQ,839
84
+ gradientai/types/api_model.py,sha256=cTBrApG2za1_mR6Cca9vL254XczcxZM0lVMfXEqhFnE,718
85
+ gradientai/types/api_model_version.py,sha256=heTuejUUfP0GVFThpYEhwPqBc331hrMBGF_8Uq2qcME,313
86
+ gradientai/types/api_openai_api_key_info.py,sha256=_vfDX_fAIwHB1BXqNk7dUeA7meSU5GVTLbdDblSK5rY,582
87
+ gradientai/types/api_retrieval_method.py,sha256=hbD5272cHgAqDCwPv7tqIUlqNnDAOIjkwDUTciglitE,377
88
+ gradientai/types/api_workspace.py,sha256=rR9yxetW9xzia9DGFWqH36wPfOIv1aOomB0ScxTDWxo,815
89
+ gradientai/types/knowledge_base_create_params.py,sha256=qr9msSag-RTna-wcjDeGJ4xMi7vhnXbtGOub4b3nhME,2076
90
+ gradientai/types/knowledge_base_create_response.py,sha256=bpVpd6X2_OfBZMQPdvkFXQb6YfHTPsXw3F1RpX4Vaso,342
91
+ gradientai/types/knowledge_base_delete_response.py,sha256=Qwzyk1akgmNrjfYmtm53onng5UtFSXYxLzHKQNSuW6A,270
92
+ gradientai/types/knowledge_base_list_params.py,sha256=ix0uGYXNXrRhZNRFtun3sLhE6Hd_yoSlgzvGyPqT0XY,341
93
+ gradientai/types/knowledge_base_list_response.py,sha256=z8mUZAd328EEvs_3YnHZVcbT6lUsHEVzRiFPHIW2Rpw,501
94
+ gradientai/types/knowledge_base_retrieve_response.py,sha256=zwsKaL1KEfgFbglBriT4XorDz6PUwmvgkIrnD0mzWpI,758
95
+ gradientai/types/knowledge_base_update_params.py,sha256=8TRWSRY6c1tRTKPwBNkjwdw_1FbJ1Jmy7vX3covlj64,681
96
+ gradientai/types/knowledge_base_update_response.py,sha256=hNxnfwd-eyRIAuy7KxcQfG-dEK3TZITMYmAv7VH7AyE,342
97
+ gradientai/types/model_list_params.py,sha256=RGl48iwa2txemByFNe1EypUyE3CjPgsyr_bOu2mKesY,1335
98
+ gradientai/types/model_list_response.py,sha256=TK6-R0XAWZH2LPrgJMVsjaFO317n5TfdSeBXOAc5B1U,451
99
+ gradientai/types/region_list_params.py,sha256=_oeMCCqhoSpB4rb3BvQw97w-Zo6eblgye3iuIoTjMHs,418
100
+ gradientai/types/region_list_response.py,sha256=JyPfcqxMTafktlkuq5S2Vog77rMQ1RJ6_3cCa-gi0yA,515
101
+ gradientai/types/agents/__init__.py,sha256=h0Uk85a9xEa8HmelfaLVLHmB82wRmIZxj4eVXO4GR28,5117
102
+ gradientai/types/agents/api_evaluation_metric.py,sha256=T0CTm5p9uHPQkjbBN8UkD9w44B6sQr_otOxVP91csW0,673
103
+ gradientai/types/agents/api_evaluation_metric_result.py,sha256=we8AdZV1pi3ivzJDkT3kx3z8AkqQ6MeRdHiUwx_IOPs,450
104
+ gradientai/types/agents/api_evaluation_prompt.py,sha256=anx9cyrOsVh22jhKPIa7n_nzZu9_m3_C64b5RgefDt0,1218
105
+ gradientai/types/agents/api_evaluation_run.py,sha256=iGxojNe5Gsb6oIjsZHYUTtoC1kRmJSTWySL_YKfGbHY,1862
106
+ gradientai/types/agents/api_evaluation_test_case.py,sha256=tT2OZLJMSC3D5ZrfQff7smvYbF612EOKiA_ID3tHxkQ,1110
107
+ gradientai/types/agents/api_key_create_params.py,sha256=nbdADmTDS1_MbQZYsGTPkmpHvWQV7s6R815uSBJO3KA,381
108
+ gradientai/types/agents/api_key_create_response.py,sha256=3GURkoTxf4JQ3vegYIN5Ph68jz82k2UG6yKbLIN8Xqk,336
109
+ gradientai/types/agents/api_key_delete_response.py,sha256=jDUrMgujEeW-Y-KqvoG28IGZSgPOOZ2XjuVIIo2lVrU,336
110
+ gradientai/types/agents/api_key_list_params.py,sha256=2bqdW2M_aw0ae7qY-zDgnxa96gun0V9Wzv2hwISss-8,327
111
+ gradientai/types/agents/api_key_list_response.py,sha256=RyTrL6RU6AaK6rBJ9WDWOfy8B8w3j82d4ulle9gb238,497
112
+ gradientai/types/agents/api_key_regenerate_response.py,sha256=TML0mOW1vJ7A1E49xJsVfJSs4BTcNmhsKMNPv0GeGF8,344
113
+ gradientai/types/agents/api_key_update_params.py,sha256=dK14YjCCy8GThEOBykQhgAvCuYPAHxFsf0nHIrmO534,547
114
+ gradientai/types/agents/api_key_update_response.py,sha256=t8QvQ1HJT2DadyMUjCpmthK8OpqAUwo-7SKmqcs1RSI,336
115
+ gradientai/types/agents/api_link_knowledge_base_output.py,sha256=7CppA-k04phV0oaqBiZssJKTfWHyDybJrNGY56NBT5k,348
116
+ gradientai/types/agents/api_star_metric.py,sha256=zoIdToH1tDzi1rXSev8ys-VFDHOiL-PLDVk4NgM6jF8,444
117
+ gradientai/types/agents/api_star_metric_param.py,sha256=21SYQ7J8rgYtw8JIDgPb2d_Xh1plzBjVPPgWuwqZYwY,430
118
+ gradientai/types/agents/evaluation_dataset_create_file_upload_presigned_urls_params.py,sha256=5VmGf4WuVMmIhjFbJcVRoyOTXq-Z484Z0utiza2b4k8,555
119
+ gradientai/types/agents/evaluation_dataset_create_file_upload_presigned_urls_response.py,sha256=D71yt5RvwxzY0M33uTPGcxlC8xhhf2pske-0-Uur8x8,964
120
+ gradientai/types/agents/evaluation_dataset_create_params.py,sha256=_Ab7rv6id0zOWDsZynBVZH9T_OL35l39HY-hMROynp8,546
121
+ gradientai/types/agents/evaluation_dataset_create_response.py,sha256=UJGh8WSeleKopfjG9MAy5uCW-l0L8vtDYt_rPm-yiTE,333
122
+ gradientai/types/agents/evaluation_metric_list_response.py,sha256=iuM4v76PGX5o_HSmc2-SlRYvxqIWPtfIJk0GzZZLUBE,359
123
+ gradientai/types/agents/evaluation_run_create_params.py,sha256=vabJd9XM_ctfmzXMSyONKlf1e_19PGBrngFn9ZeTu_Q,441
124
+ gradientai/types/agents/evaluation_run_create_response.py,sha256=K9rMKeMZ3w8UxktDCL_lqT9VzMsWquENtJyhcujbnCI,299
125
+ gradientai/types/agents/evaluation_run_list_results_response.py,sha256=xULgLCkz7RkZEhGvHGBWipFOPj4TonW70Mad87_-i_k,507
126
+ gradientai/types/agents/evaluation_run_retrieve_response.py,sha256=a_iqhS8uvQr3QLNgStdDkdfGsVEhMcMbhhlBV57EsPc,347
127
+ gradientai/types/agents/evaluation_run_retrieve_results_response.py,sha256=GQoxrgyX_JgppfNc4QUh8bz5qxxH3m1lxOqqcQLpnrk,362
128
+ gradientai/types/agents/evaluation_test_case_create_params.py,sha256=MDzlgUtT_TvI3AEBi10oqqqh46GY7Hzbhzks-9NWzL8,721
129
+ gradientai/types/agents/evaluation_test_case_create_response.py,sha256=6o_tJW7oECyIFtOl9C96eaHoMF_GwIGuwK772BMkcNY,319
130
+ gradientai/types/agents/evaluation_test_case_list_evaluation_runs_params.py,sha256=YpIdWEwwEtBStTZl6fuD60fT7xmMXk8cj2yuWTQz-NY,371
131
+ gradientai/types/agents/evaluation_test_case_list_evaluation_runs_response.py,sha256=QKriPoRmv3AW0RMc5tVYxQOGF1rrQqMoM5oJffHUXnk,425
132
+ gradientai/types/agents/evaluation_test_case_list_response.py,sha256=8BqMiIhwizpSFles_MpvcDWkYqzEFfFwY6icGzBkSfY,384
133
+ gradientai/types/agents/evaluation_test_case_retrieve_params.py,sha256=B5a7G0qN8CiSEjAUrv3h_Ys3c-nv1rhM8YA470FJtF4,351
134
+ gradientai/types/agents/evaluation_test_case_retrieve_response.py,sha256=zr5U956-FgFoPAUSSEvOI8CsyBFDdGG-dpC5rIfxZ60,379
135
+ gradientai/types/agents/evaluation_test_case_update_params.py,sha256=S0FRlU-b1dRQlDKJFthcAmIGmjb4IwAy4zL9uQ0XKqM,809
136
+ gradientai/types/agents/evaluation_test_case_update_response.py,sha256=SBsxKPG4_0T6LoL7rKj9kp0J4sHqtamRszprgD064h4,369
137
+ gradientai/types/agents/function_create_params.py,sha256=AagCrtptfN15XA0WdFWvzcDTsVqjH_ztjvW3yZXxIQU,514
138
+ gradientai/types/agents/function_create_response.py,sha256=_HlKLn7L6NtRQJEQLTYAZRk1XLq8AmrspjxJ7NO3FOI,340
139
+ gradientai/types/agents/function_delete_response.py,sha256=mXVfs4hsYbiRijPwfEAz3xhmpsGrJbz58YF-BLt-NrY,340
140
+ gradientai/types/agents/function_update_params.py,sha256=rTc1J3VwUikAk3WR3lbWe_dq8QebS39C1LKm8kkXYs0,682
141
+ gradientai/types/agents/function_update_response.py,sha256=_u_a9cf7DSx6wplCKx7ZkzM4-TBWNhIXgtVZY83gCWQ,340
142
+ gradientai/types/agents/knowledge_base_detach_response.py,sha256=dCFJvnfuz6otqLZ9Lae11S3ouSSM9xkYU9UWenaKPjg,350
143
+ gradientai/types/agents/route_add_params.py,sha256=00mdO2llJA2tFg2BKGiy43EITIs2seLfA3uMwFB8Dqo,651
144
+ gradientai/types/agents/route_add_response.py,sha256=TT7zCfUfvzlct-wbGbgFygjv_vZAcOW0xpZoJCY4lbQ,358
145
+ gradientai/types/agents/route_delete_response.py,sha256=SFhq1l8DKUJK6mUwwk1-DTqwZsYITsGDjkK6HXnZPcU,312
146
+ gradientai/types/agents/route_update_params.py,sha256=e8fWgOq8mMGi20ng-XlqtbAusKTQOd5TzLsNUWa_V5w,672
147
+ gradientai/types/agents/route_update_response.py,sha256=zDFovVKBqmPTtiDbTXuqHokEGC8uKaeDZjcnrW3Y9nI,433
148
+ gradientai/types/agents/route_view_response.py,sha256=ShDsY0nJX8ECbY9Eu1zWcYMpERwzEeRjU_7Tb-IKFbY,345
149
+ gradientai/types/agents/version_list_params.py,sha256=0_3DhUbFDRyjUnn2G4saFOvuotRXI5EFZ4n4s6qUF8o,329
150
+ gradientai/types/agents/version_list_response.py,sha256=Y0Y8CSPUPVHKRA3zTRRfQ8gC2aFyBacSCaGz-D5k8nk,2725
151
+ gradientai/types/agents/version_update_params.py,sha256=j9tOda5wXmSOHsmcxQONo2mM-hEtrYi5-19HfGU_XnI,379
152
+ gradientai/types/agents/version_update_response.py,sha256=nspPIkxQskT82tcW0JyG7bBVlXq_KU6CZzodTd9jfkQ,709
153
+ gradientai/types/agents/chat/__init__.py,sha256=A5VCUPqJZydjjOqEXC01GXmcDkKM3bq6zuCu9lmi5Es,303
154
+ gradientai/types/agents/chat/completion_create_params.py,sha256=F4Dcrt5aYC_GEWUSN2OA3Zm5ImevZ7tFuTxBH7RyooM,6635
155
+ gradientai/types/agents/chat/completion_create_response.py,sha256=9uKS3memEoV0_Xd1CZwI0jQGsQyfVkhXRPGlRO3rUIc,2415
156
+ gradientai/types/agents/evaluation_metrics/__init__.py,sha256=XWH_utxMx-JwArRpr-rHQfmoxQRGK6GciKOllbkqg40,894
157
+ gradientai/types/agents/evaluation_metrics/workspace_create_params.py,sha256=LrccBST52BUMlIidiba8K_7vU9HLZW8TTQ2E227UF8Y,343
158
+ gradientai/types/agents/evaluation_metrics/workspace_create_response.py,sha256=jCVs2l3APGqA7gTetoepZS0Fkf7XJdK4e9pspgI3zpo,360
159
+ gradientai/types/agents/evaluation_metrics/workspace_delete_response.py,sha256=Al8qWJXknJCeDm30oPGONeSD1TONg555gKu5fkkEU28,274
160
+ gradientai/types/agents/evaluation_metrics/workspace_list_evaluation_test_cases_response.py,sha256=PSQLxyGQqgePycIL8I5OywCe6w5jcEiDu9gnCtCJefw,406
161
+ gradientai/types/agents/evaluation_metrics/workspace_list_response.py,sha256=UPaO8jS48UYrKwszGwQRJ2lBJ4OALtHDQTseNHXuUf8,369
162
+ gradientai/types/agents/evaluation_metrics/workspace_retrieve_response.py,sha256=k7ORQIxXYMsTyLEmkJN1PAz9vXFH139Sq0jBRLv-S5M,364
163
+ gradientai/types/agents/evaluation_metrics/workspace_update_params.py,sha256=rq7mZeZUJ2BDQA6L2zeMB4nWvA5U_EkNDjvKiVBPY6M,444
164
+ gradientai/types/agents/evaluation_metrics/workspace_update_response.py,sha256=sPvuXY7fxAl0hk2d4p8eIGl9iAciqu2HzmIc7c4sDxk,360
165
+ gradientai/types/agents/evaluation_metrics/workspaces/__init__.py,sha256=JmVfrkVAdpoy5Rcyw8n4AVVcGNAfpLHWGJjFhg7CcQU,399
166
+ gradientai/types/agents/evaluation_metrics/workspaces/agent_list_params.py,sha256=0zqP67__kS_8qDZz6Aud_CePzVUFK4m4p5Ch4m5HcXs,563
167
+ gradientai/types/agents/evaluation_metrics/workspaces/agent_list_response.py,sha256=W4O5v1LoWh2hQJTpUm5SfQCYcv6Q9Yz1Id5Pm1sPQNA,503
168
+ gradientai/types/agents/evaluation_metrics/workspaces/agent_move_params.py,sha256=4INiLEvgT9UDqFbrGwp3nuWOzFhwv7sX_YCr1Um1RaQ,422
169
+ gradientai/types/agents/evaluation_metrics/workspaces/agent_move_response.py,sha256=j2uoTmFwnLNU7kGI5LZdPpMUxWmUk-HdQIVVDOwSy4Y,350
170
+ gradientai/types/chat/__init__.py,sha256=A5VCUPqJZydjjOqEXC01GXmcDkKM3bq6zuCu9lmi5Es,303
171
+ gradientai/types/chat/completion_create_params.py,sha256=F4Dcrt5aYC_GEWUSN2OA3Zm5ImevZ7tFuTxBH7RyooM,6635
172
+ gradientai/types/chat/completion_create_response.py,sha256=nNPWSXZYbyYLjT_ikVvDcjRw3f9eRGHFsUrLKtQHYGI,2413
173
+ gradientai/types/inference/__init__.py,sha256=4Dt7-03NeP9ehdHLkLsZMiL_YLQwZsl92D0mMoDQ5g0,857
174
+ gradientai/types/inference/api_key_create_params.py,sha256=MOy5Bdr1wNBqCvqzyZ0FLfFY2a97q6eXCzgCR1wcLAE,263
175
+ gradientai/types/inference/api_key_create_response.py,sha256=HjTGC3rpPKqYPE-D6Z9jIE8fqrmo2hTTGBrt00cMwIU,335
176
+ gradientai/types/inference/api_key_delete_response.py,sha256=18JbFhk0T0qsNM8PosxQDaBwy-fzKLclG_cAbk8WqS4,335
177
+ gradientai/types/inference/api_key_list_params.py,sha256=2bqdW2M_aw0ae7qY-zDgnxa96gun0V9Wzv2hwISss-8,327
178
+ gradientai/types/inference/api_key_list_response.py,sha256=EYzeo66RGZbXAjoMA0oihTYyrF0vh8e4-ISeyARbipA,496
179
+ gradientai/types/inference/api_key_update_params.py,sha256=Jeq5mm_HXgkh77SjYpct-vdc1UZBWAo9fUtoZSAxCpQ,385
180
+ gradientai/types/inference/api_key_update_regenerate_response.py,sha256=EdejYl_Kuu3r0O-Zzu8sO7P32lQSzsVpJu-m7j1TkpI,355
181
+ gradientai/types/inference/api_key_update_response.py,sha256=x77TF5sMy-k9wVEBP0h1bkp2bi1nX1oP4SpzetnF-Rc,335
182
+ gradientai/types/inference/api_model_api_key_info.py,sha256=P8vLRvhdCqqkD6Jbzfa6cijmCRMeJGHw70nMEvcOKCU,477
183
+ gradientai/types/knowledge_bases/__init__.py,sha256=AOvaWdzrac-_M4coPjLsObAfh1YU8oWKBSdeK4Ml80s,2305
184
+ gradientai/types/knowledge_bases/api_file_upload_data_source.py,sha256=pwuooMktHMl3-c9_XAqisMW2euFXE_WzLW2MrH4cphY,363
185
+ gradientai/types/knowledge_bases/api_file_upload_data_source_param.py,sha256=BYJsp891zGJL9NxKAQA9wj7ZI5oW8O7ktpGQTf78-Z4,349
186
+ gradientai/types/knowledge_bases/api_indexed_data_source.py,sha256=bC9O35k9Bw9eZ5vHSJDnVdMkbZkHt61fjy8ROcNauTQ,1194
187
+ gradientai/types/knowledge_bases/api_indexing_job.py,sha256=IRY0OUaRY8iWPIX3MvrCw3nR8HMOmWYXwNGWbV2Ctrs,1405
188
+ gradientai/types/knowledge_bases/api_knowledge_base_data_source.py,sha256=dd5m7pefZR_x2yiPXWqln2lce9yjAoP1Gsh3uF3HdE0,1390
189
+ gradientai/types/knowledge_bases/api_spaces_data_source.py,sha256=hikZqBGk2a6deuYtL5o0x2a0ShTk_-r6Mrlocw04g54,333
190
+ gradientai/types/knowledge_bases/api_spaces_data_source_param.py,sha256=fHHNZiL9k5JX8NLFJSrrh11S6mHE6l1Tv_GOs5HmSvw,319
191
+ gradientai/types/knowledge_bases/api_web_crawler_data_source.py,sha256=TwP9_tIh7lZyYBYA8vcUBsJ8t1njlqvRnSkbe5kBFx4,927
192
+ gradientai/types/knowledge_bases/api_web_crawler_data_source_param.py,sha256=5RNeniApD7_5LobZWFhQ3iZ2RaLa2Lj4hpqXvIPAfco,884
193
+ gradientai/types/knowledge_bases/aws_data_source_param.py,sha256=MXImPMnxy2B2LEof2CSGH2BRIs77HrN6lYgwdYHFx7k,345
194
+ gradientai/types/knowledge_bases/data_source_create_params.py,sha256=qXoTkAJ3Mta5Lx3q8-Fd5EXwsQXhGmOw1NH2PjQJ-pY,739
195
+ gradientai/types/knowledge_bases/data_source_create_response.py,sha256=Pr6z8AvrNNvgABGB9cL_-gdwBYQn8z3OYDrramZeWIY,381
196
+ gradientai/types/knowledge_bases/data_source_delete_response.py,sha256=9W0vPF3zE6aoO4pKKY1FWNFhvyBSJ4UJ0bq-jIf5Rug,324
197
+ gradientai/types/knowledge_bases/data_source_list_params.py,sha256=LE15JRXzJdFffHga_aS1JUnGc-gDdTbSfdV-hyywVTw,335
198
+ gradientai/types/knowledge_bases/data_source_list_response.py,sha256=gtJOM-0MNFnUjHQ397vCA7TseSrPM2-YaGSWQznubV4,542
199
+ gradientai/types/knowledge_bases/indexing_job_create_params.py,sha256=OhQcaCShz4GB3N27erLsRCDLJOXJMSTPnAL8jN099hg,346
200
+ gradientai/types/knowledge_bases/indexing_job_create_response.py,sha256=Bm7HG0n745DGz5dLsma4Lm_CwIOIBA1KtrmcUzYx7K0,322
201
+ gradientai/types/knowledge_bases/indexing_job_list_params.py,sha256=6bECitbPQGnm-WdSIULUcX47CeEVa5wqKWfYhWZC4Wo,337
202
+ gradientai/types/knowledge_bases/indexing_job_list_response.py,sha256=ga_tcBAXhKNaUPcL3pEkI4IXLRs3bV55LHja3RlNAP8,483
203
+ gradientai/types/knowledge_bases/indexing_job_retrieve_data_sources_response.py,sha256=tpac0_oX9Tqjxy7wgLIWMk0d74f-konAVHRr5yNKu9g,396
204
+ gradientai/types/knowledge_bases/indexing_job_retrieve_response.py,sha256=ubGW4WrVlUXw5oemxsFiBlFCfD-xEs8SU2iszY6WA1U,326
205
+ gradientai/types/knowledge_bases/indexing_job_update_cancel_params.py,sha256=g0q6nlUdyOIz8ZFygW5IqFKP7Y7-BGkm9ft-2u7WT2U,427
206
+ gradientai/types/knowledge_bases/indexing_job_update_cancel_response.py,sha256=2YC31-iwH3Fep1MQRgsVCI8E_Wy73NB-bjnFbIphLO4,334
207
+ gradientai/types/model_providers/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
208
+ gradientai/types/model_providers/anthropic/__init__.py,sha256=Rc-P39qouKDD0KcLrR0xXtDercCG-01WvVGfITLxH3w,839
209
+ gradientai/types/model_providers/anthropic/key_create_params.py,sha256=Wpo2FgKsoMDwT0DrN9QiFdxGL93QUV7PsyZjU_dZwVo,275
210
+ gradientai/types/model_providers/anthropic/key_create_response.py,sha256=QMr7WcgcSAU4-X3OBzZ_x8z37UQKN4gVNctFjFx35ZU,344
211
+ gradientai/types/model_providers/anthropic/key_delete_response.py,sha256=woDhj5cV-I-bl-8SahR4yIhLzXXOl4YQjuZq9JhQXow,344
212
+ gradientai/types/model_providers/anthropic/key_list_agents_params.py,sha256=ZOwFGGQpBm0H-jceINE2yFj5SQsRi3eAYJldIIhdZG0,333
213
+ gradientai/types/model_providers/anthropic/key_list_agents_response.py,sha256=GTvbpdAduT4tQ8s8BHAzL1oEK4DtI04IDX2maEIKrWo,507
214
+ gradientai/types/model_providers/anthropic/key_list_params.py,sha256=NIUqtMZ4wCEmsf4pSVYf52rlKg4j98VeXHdsBHvJkb0,321
215
+ gradientai/types/model_providers/anthropic/key_list_response.py,sha256=PEByTAy9lhKEUVmduGalNdtHP5M7MMCiC3iJFBhaldg,507
216
+ gradientai/types/model_providers/anthropic/key_retrieve_response.py,sha256=kwlHSeYuNimwsfAc11EYYiONL1QEuj-nRSyYbenCdMA,348
217
+ gradientai/types/model_providers/anthropic/key_update_params.py,sha256=Y3soYvQEpYbnofgxQoLdeZFolk-NcUSnlUg8BQ2BliU,398
218
+ gradientai/types/model_providers/anthropic/key_update_response.py,sha256=RsO2ImbQNdJgGNDUPwnOMrE2Bq_pw4e8f_DBB01ZsPw,344
219
+ gradientai/types/model_providers/openai/__init__.py,sha256=vTB3oppxWE1E9S4c2XzsDERHaaRUkUKGuWUsgp2PY5Y,863
220
+ gradientai/types/model_providers/openai/key_create_params.py,sha256=Wpo2FgKsoMDwT0DrN9QiFdxGL93QUV7PsyZjU_dZwVo,275
221
+ gradientai/types/model_providers/openai/key_create_response.py,sha256=D8eRhllf50P3LJHMDzMT2YWuymUXtV-2KgfAZdRHM08,335
222
+ gradientai/types/model_providers/openai/key_delete_response.py,sha256=AOF_SSCaagPjxP9mEHEXuTX2G8mBYyyaVwviNC0PfTg,335
223
+ gradientai/types/model_providers/openai/key_list_params.py,sha256=NIUqtMZ4wCEmsf4pSVYf52rlKg4j98VeXHdsBHvJkb0,321
224
+ gradientai/types/model_providers/openai/key_list_response.py,sha256=Sqlw5FdENZyKcIUcsnYzJVlJOF5UKl2ayJW3aUuRzvw,498
225
+ gradientai/types/model_providers/openai/key_retrieve_agents_params.py,sha256=iXx-1E5feJfrtjuNIXV0SsCTMB_wA88edXunaMd0sEY,341
226
+ gradientai/types/model_providers/openai/key_retrieve_agents_response.py,sha256=IdkDMHJFXQgoml9KRLISoWCBEJtNelFXKR0rTto826A,515
227
+ gradientai/types/model_providers/openai/key_retrieve_response.py,sha256=96ZitCFjLlTzk8UhB2Q1ekmLYF2fer_9TGZ1kzhT2Ck,339
228
+ gradientai/types/model_providers/openai/key_update_params.py,sha256=Y3soYvQEpYbnofgxQoLdeZFolk-NcUSnlUg8BQ2BliU,398
229
+ gradientai/types/model_providers/openai/key_update_response.py,sha256=918Y7yxffOe0DmFci54fq0-zTO_1Lc6jruSok8WsBX4,335
230
+ gradientai/types/shared/__init__.py,sha256=YA2_qLkZLySOac1HrqOfCTEz6GeipnjIJh1mK_QYwYU,272
231
+ gradientai/types/shared/api_links.py,sha256=Iq5iQwOkRYuwLcuDLk54dUfrq0f2ZVEOXSpF744gYgA,403
232
+ gradientai/types/shared/api_meta.py,sha256=-KyinzQqM5GSjD7E5xm7A4UALXAvLOyVNR1SYVOUFJM,297
233
+ gradientai/types/shared/chat_completion_token_logprob.py,sha256=6-ipUFfsXMf5L7FDFi127NaVkDtmEooVgGBF6Ts965A,1769
234
+ c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info/METADATA,sha256=g-NQEA3bos3YcRy4U0sil0jrvchjE0S8ufrQpio2jv4,15049
235
+ c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
236
+ c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info/licenses/LICENSE,sha256=AzxEF8mEks6hu5V_87CXF8gLdL875WeO8FmQtEZTFok,11341
237
+ c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a7.dist-info/RECORD,,
@@ -89,12 +89,12 @@ _setup_logging()
89
89
  # Update the __module__ attribute for exported symbols so that
90
90
  # error messages point to this module instead of the module
91
91
  # it was originally defined in, e.g.
92
- # do_gradientai._exceptions.NotFoundError -> do_gradientai.NotFoundError
92
+ # gradientai._exceptions.NotFoundError -> gradientai.NotFoundError
93
93
  __locals = locals()
94
94
  for __name in __all__:
95
95
  if not __name.startswith("__"):
96
96
  try:
97
- __locals[__name].__module__ = "do_gradientai"
97
+ __locals[__name].__module__ = "gradientai"
98
98
  except (TypeError, AttributeError):
99
99
  # Some of our exported symbols are builtins which we can't set attributes for.
100
100
  pass
@@ -389,7 +389,7 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
389
389
 
390
390
  if max_retries is None: # pyright: ignore[reportUnnecessaryComparison]
391
391
  raise TypeError(
392
- "max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `do_gradientai.DEFAULT_MAX_RETRIES`"
392
+ "max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `gradientai.DEFAULT_MAX_RETRIES`"
393
393
  )
394
394
 
395
395
  def _enforce_trailing_slash(self, url: URL) -> URL:
@@ -57,12 +57,14 @@ class GradientAI(SyncAPIClient):
57
57
  # client options
58
58
  api_key: str | None
59
59
  inference_key: str | None
60
+ agent_domain: str | None
60
61
 
61
62
  def __init__(
62
63
  self,
63
64
  *,
64
65
  api_key: str | None = None,
65
66
  inference_key: str | None = None,
67
+ agent_domain: str | None = None,
66
68
  base_url: str | httpx.URL | None = None,
67
69
  timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
68
70
  max_retries: int = DEFAULT_MAX_RETRIES,
@@ -96,6 +98,8 @@ class GradientAI(SyncAPIClient):
96
98
  inference_key = os.environ.get("GRADIENTAI_INFERENCE_KEY")
97
99
  self.inference_key = inference_key
98
100
 
101
+ self.agent_domain = agent_domain
102
+
99
103
  if base_url is None:
100
104
  base_url = os.environ.get("GRADIENT_AI_BASE_URL")
101
105
  self._base_url_overridden = base_url is not None
@@ -201,6 +205,7 @@ class GradientAI(SyncAPIClient):
201
205
  *,
202
206
  api_key: str | None = None,
203
207
  inference_key: str | None = None,
208
+ agent_domain: str | None = None,
204
209
  base_url: str | httpx.URL | None = None,
205
210
  timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
206
211
  http_client: httpx.Client | None = None,
@@ -236,6 +241,7 @@ class GradientAI(SyncAPIClient):
236
241
  client = self.__class__(
237
242
  api_key=api_key or self.api_key,
238
243
  inference_key=inference_key or self.inference_key,
244
+ agent_domain=agent_domain or self.agent_domain,
239
245
  base_url=base_url or self.base_url,
240
246
  timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
241
247
  http_client=http_client,
@@ -289,12 +295,14 @@ class AsyncGradientAI(AsyncAPIClient):
289
295
  # client options
290
296
  api_key: str | None
291
297
  inference_key: str | None
298
+ agent_domain: str | None
292
299
 
293
300
  def __init__(
294
301
  self,
295
302
  *,
296
303
  api_key: str | None = None,
297
304
  inference_key: str | None = None,
305
+ agent_domain: str | None = None,
298
306
  base_url: str | httpx.URL | None = None,
299
307
  timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
300
308
  max_retries: int = DEFAULT_MAX_RETRIES,
@@ -328,6 +336,8 @@ class AsyncGradientAI(AsyncAPIClient):
328
336
  inference_key = os.environ.get("GRADIENTAI_INFERENCE_KEY")
329
337
  self.inference_key = inference_key
330
338
 
339
+ self.agent_domain = agent_domain
340
+
331
341
  if base_url is None:
332
342
  base_url = os.environ.get("GRADIENT_AI_BASE_URL")
333
343
  self._base_url_overridden = base_url is not None
@@ -433,6 +443,7 @@ class AsyncGradientAI(AsyncAPIClient):
433
443
  *,
434
444
  api_key: str | None = None,
435
445
  inference_key: str | None = None,
446
+ agent_domain: str | None = None,
436
447
  base_url: str | httpx.URL | None = None,
437
448
  timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
438
449
  http_client: httpx.AsyncClient | None = None,
@@ -468,6 +479,7 @@ class AsyncGradientAI(AsyncAPIClient):
468
479
  client = self.__class__(
469
480
  api_key=api_key or self.api_key,
470
481
  inference_key=inference_key or self.inference_key,
482
+ agent_domain=agent_domain or self.agent_domain,
471
483
  base_url=base_url or self.base_url,
472
484
  timeout=self.timeout if isinstance(timeout, NotGiven) else timeout,
473
485
  http_client=http_client,
@@ -218,7 +218,7 @@ class BaseAPIResponse(Generic[R]):
218
218
  and issubclass(origin, pydantic.BaseModel)
219
219
  ):
220
220
  raise TypeError(
221
- "Pydantic models must subclass our base model type, e.g. `from do_gradientai import BaseModel`"
221
+ "Pydantic models must subclass our base model type, e.g. `from gradientai import BaseModel`"
222
222
  )
223
223
 
224
224
  if (
@@ -285,7 +285,7 @@ class APIResponse(BaseAPIResponse[R]):
285
285
  the `to` argument, e.g.
286
286
 
287
287
  ```py
288
- from do_gradientai import BaseModel
288
+ from gradientai import BaseModel
289
289
 
290
290
 
291
291
  class MyModel(BaseModel):
@@ -387,7 +387,7 @@ class AsyncAPIResponse(BaseAPIResponse[R]):
387
387
  the `to` argument, e.g.
388
388
 
389
389
  ```py
390
- from do_gradientai import BaseModel
390
+ from gradientai import BaseModel
391
391
 
392
392
 
393
393
  class MyModel(BaseModel):
@@ -558,7 +558,7 @@ class AsyncStreamedBinaryAPIResponse(AsyncAPIResponse[bytes]):
558
558
  class MissingStreamClassError(TypeError):
559
559
  def __init__(self) -> None:
560
560
  super().__init__(
561
- "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `do_gradientai._streaming` for reference",
561
+ "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `gradientai._streaming` for reference",
562
562
  )
563
563
 
564
564
 
@@ -81,7 +81,7 @@ HttpxRequestFiles = Union[Mapping[str, HttpxFileTypes], Sequence[Tuple[str, Http
81
81
  # This unfortunately means that you will either have
82
82
  # to import this type and pass it explicitly:
83
83
  #
84
- # from do_gradientai import NoneType
84
+ # from gradientai import NoneType
85
85
  # client.get('/foo', cast_to=NoneType)
86
86
  #
87
87
  # or build it yourself:
@@ -1,12 +1,12 @@
1
1
  import os
2
2
  import logging
3
3
 
4
- logger: logging.Logger = logging.getLogger("do_gradientai")
4
+ logger: logging.Logger = logging.getLogger("gradientai")
5
5
  httpx_logger: logging.Logger = logging.getLogger("httpx")
6
6
 
7
7
 
8
8
  def _basic_config() -> None:
9
- # e.g. [2023-10-05 14:12:26 - do_gradientai._base_client:818 - DEBUG] HTTP Request: POST http://127.0.0.1:4010/foo/bar "200 OK"
9
+ # e.g. [2023-10-05 14:12:26 - gradientai._base_client:818 - DEBUG] HTTP Request: POST http://127.0.0.1:4010/foo/bar "200 OK"
10
10
  logging.basicConfig(
11
11
  format="[%(asctime)s - %(name)s:%(lineno)d - %(levelname)s] %(message)s",
12
12
  datefmt="%Y-%m-%d %H:%M:%S",
@@ -7,17 +7,17 @@ from ._proxy import LazyProxy
7
7
 
8
8
 
9
9
  class ResourcesProxy(LazyProxy[Any]):
10
- """A proxy for the `do_gradientai.resources` module.
10
+ """A proxy for the `gradientai.resources` module.
11
11
 
12
- This is used so that we can lazily import `do_gradientai.resources` only when
13
- needed *and* so that users can just import `do_gradientai` and reference `do_gradientai.resources`
12
+ This is used so that we can lazily import `gradientai.resources` only when
13
+ needed *and* so that users can just import `gradientai` and reference `gradientai.resources`
14
14
  """
15
15
 
16
16
  @override
17
17
  def __load__(self) -> Any:
18
18
  import importlib
19
19
 
20
- mod = importlib.import_module("do_gradientai.resources")
20
+ mod = importlib.import_module("gradientai.resources")
21
21
  return mod
22
22
 
23
23
 
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- __title__ = "do_gradientai"
4
- __version__ = "0.1.0-alpha.5" # x-release-please-version
3
+ __title__ = "gradientai"
4
+ __version__ = "0.1.0-alpha.7" # x-release-please-version