mixpeek 0.6.1__py3-none-any.whl → 0.6.5__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 (44) hide show
  1. mixpeek/__init__.py +24 -15
  2. mixpeek/base_client.py +883 -22
  3. mixpeek/client.py +7 -7
  4. mixpeek/core/client_wrapper.py +1 -1
  5. mixpeek/environment.py +7 -0
  6. mixpeek/{pipelines → pipeline}/client.py +60 -132
  7. mixpeek/storage/__init__.py +3 -0
  8. mixpeek/storage/client.py +7 -116
  9. mixpeek/storage/sample/client.py +282 -0
  10. mixpeek/types/__init__.py +18 -10
  11. mixpeek/types/{embedding_request.py → api_key.py} +4 -5
  12. mixpeek/types/configs_response.py +14 -3
  13. mixpeek/types/connection.py +1 -1
  14. mixpeek/types/{field_schema.py → destination.py} +15 -6
  15. mixpeek/types/embedding_response.py +6 -2
  16. mixpeek/types/extract_response.py +39 -0
  17. mixpeek/types/field_type.py +1 -1
  18. mixpeek/types/generation_response.py +6 -4
  19. mixpeek/types/message.py +9 -2
  20. mixpeek/types/metadata.py +0 -2
  21. mixpeek/types/modality.py +1 -1
  22. mixpeek/types/model.py +10 -2
  23. mixpeek/types/models.py +5 -0
  24. mixpeek/types/pipeline_response.py +19 -9
  25. mixpeek/types/{configs_request.py → pipeline_task_response.py} +5 -4
  26. mixpeek/types/source.py +43 -0
  27. mixpeek/types/source_destination_mapping.py +44 -0
  28. mixpeek/types/user.py +36 -0
  29. mixpeek/types/{destination_schema.py → workflow_code_response.py} +2 -4
  30. mixpeek/user/client.py +308 -0
  31. mixpeek/{workflows → workflow}/client.py +127 -10
  32. {mixpeek-0.6.1.dist-info → mixpeek-0.6.5.dist-info}/METADATA +1 -1
  33. mixpeek-0.6.5.dist-info/RECORD +75 -0
  34. mixpeek/generators/client.py +0 -239
  35. mixpeek/parse/client.py +0 -349
  36. mixpeek/parse_client.py +0 -14
  37. mixpeek/types/source_schema.py +0 -32
  38. mixpeek-0.6.1.dist-info/RECORD +0 -71
  39. /mixpeek/{generators → pipeline}/__init__.py +0 -0
  40. /mixpeek/{parse → storage/sample}/__init__.py +0 -0
  41. /mixpeek/{pipelines → user}/__init__.py +0 -0
  42. /mixpeek/{workflows → workflow}/__init__.py +0 -0
  43. {mixpeek-0.6.1.dist-info → mixpeek-0.6.5.dist-info}/LICENSE +0 -0
  44. {mixpeek-0.6.1.dist-info → mixpeek-0.6.5.dist-info}/WHEEL +0 -0
mixpeek/__init__.py CHANGED
@@ -1,18 +1,17 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  from .types import (
4
+ ApiKey,
4
5
  AudioParams,
5
- ConfigsRequest,
6
6
  ConfigsResponse,
7
7
  Connection,
8
8
  ConnectionEngine,
9
9
  CsvParams,
10
- DestinationSchema,
11
- EmbeddingRequest,
10
+ Destination,
12
11
  EmbeddingResponse,
13
12
  ErrorMessage,
14
13
  ErrorResponse,
15
- FieldSchema,
14
+ ExtractResponse,
16
15
  FieldType,
17
16
  GenerationResponse,
18
17
  HtmlParams,
@@ -22,16 +21,21 @@ from .types import (
22
21
  Metadata,
23
22
  Modality,
24
23
  Model,
24
+ Models,
25
25
  PdfParams,
26
26
  PipelineResponse,
27
+ PipelineTaskResponse,
27
28
  PptParams,
28
29
  PptxParams,
29
30
  Settings,
30
- SourceSchema,
31
+ Source,
32
+ SourceDestinationMapping,
31
33
  TxtParams,
34
+ User,
32
35
  ValidationError,
33
36
  ValidationErrorLocItem,
34
37
  VideoParams,
38
+ WorkflowCodeResponse,
35
39
  WorkflowResponse,
36
40
  WorkflowSettings,
37
41
  XlsxParams,
@@ -44,23 +48,23 @@ from .errors import (
44
48
  UnauthorizedError,
45
49
  UnprocessableEntityError,
46
50
  )
47
- from . import generators, parse, pipelines, storage, workflows
51
+ from . import pipeline, storage, user, workflow
52
+ from .environment import MixpeekEnvironment
48
53
  from .version import __version__
49
54
 
50
55
  __all__ = [
56
+ "ApiKey",
51
57
  "AudioParams",
52
58
  "BadRequestError",
53
- "ConfigsRequest",
54
59
  "ConfigsResponse",
55
60
  "Connection",
56
61
  "ConnectionEngine",
57
62
  "CsvParams",
58
- "DestinationSchema",
59
- "EmbeddingRequest",
63
+ "Destination",
60
64
  "EmbeddingResponse",
61
65
  "ErrorMessage",
62
66
  "ErrorResponse",
63
- "FieldSchema",
67
+ "ExtractResponse",
64
68
  "FieldType",
65
69
  "ForbiddenError",
66
70
  "GenerationResponse",
@@ -70,28 +74,33 @@ __all__ = [
70
74
  "InternalServerError",
71
75
  "Message",
72
76
  "Metadata",
77
+ "MixpeekEnvironment",
73
78
  "Modality",
74
79
  "Model",
80
+ "Models",
75
81
  "NotFoundError",
76
82
  "PdfParams",
77
83
  "PipelineResponse",
84
+ "PipelineTaskResponse",
78
85
  "PptParams",
79
86
  "PptxParams",
80
87
  "Settings",
81
- "SourceSchema",
88
+ "Source",
89
+ "SourceDestinationMapping",
82
90
  "TxtParams",
83
91
  "UnauthorizedError",
84
92
  "UnprocessableEntityError",
93
+ "User",
85
94
  "ValidationError",
86
95
  "ValidationErrorLocItem",
87
96
  "VideoParams",
97
+ "WorkflowCodeResponse",
88
98
  "WorkflowResponse",
89
99
  "WorkflowSettings",
90
100
  "XlsxParams",
91
101
  "__version__",
92
- "generators",
93
- "parse",
94
- "pipelines",
102
+ "pipeline",
95
103
  "storage",
96
- "workflows",
104
+ "user",
105
+ "workflow",
97
106
  ]