llama-cloud 0.1.4__py3-none-any.whl → 0.1.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.
Potentially problematic release.
This version of llama-cloud might be problematic. Click here for more details.
- llama_cloud/__init__.py +64 -0
- llama_cloud/client.py +3 -0
- llama_cloud/resources/__init__.py +22 -1
- llama_cloud/resources/data_sinks/client.py +12 -6
- llama_cloud/resources/embedding_model_configs/__init__.py +23 -0
- llama_cloud/resources/embedding_model_configs/client.py +360 -0
- llama_cloud/resources/embedding_model_configs/types/__init__.py +23 -0
- llama_cloud/resources/embedding_model_configs/types/embedding_model_config_create_embedding_config.py +89 -0
- llama_cloud/resources/files/__init__.py +2 -2
- llama_cloud/resources/files/client.py +265 -34
- llama_cloud/resources/files/types/__init__.py +2 -1
- llama_cloud/resources/files/types/file_create_from_url_resource_info_value.py +7 -0
- llama_cloud/resources/organizations/client.py +65 -0
- llama_cloud/resources/parsing/client.py +157 -0
- llama_cloud/resources/pipelines/client.py +177 -14
- llama_cloud/resources/projects/client.py +71 -0
- llama_cloud/types/__init__.py +48 -0
- llama_cloud/types/cloud_one_drive_data_source.py +1 -0
- llama_cloud/types/cloud_postgres_vector_store.py +1 -1
- llama_cloud/types/cloud_sharepoint_data_source.py +1 -0
- llama_cloud/types/embedding_model_config.py +43 -0
- llama_cloud/types/embedding_model_config_embedding_config.py +89 -0
- llama_cloud/types/embedding_model_config_update.py +33 -0
- llama_cloud/types/embedding_model_config_update_embedding_config.py +89 -0
- llama_cloud/types/interval_usage_and_plan.py +36 -0
- llama_cloud/types/llama_parse_parameters.py +10 -0
- llama_cloud/types/markdown_node_parser.py +2 -1
- llama_cloud/types/paginated_list_pipeline_files_response.py +35 -0
- llama_cloud/types/pipeline.py +1 -0
- llama_cloud/types/pipeline_create.py +1 -0
- llama_cloud/types/pipeline_file.py +1 -0
- llama_cloud/types/plan.py +40 -0
- llama_cloud/types/usage.py +41 -0
- {llama_cloud-0.1.4.dist-info → llama_cloud-0.1.5.dist-info}/METADATA +1 -2
- {llama_cloud-0.1.4.dist-info → llama_cloud-0.1.5.dist-info}/RECORD +37 -24
- {llama_cloud-0.1.4.dist-info → llama_cloud-0.1.5.dist-info}/WHEEL +1 -1
- {llama_cloud-0.1.4.dist-info → llama_cloud-0.1.5.dist-info}/LICENSE +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .embedding_model_config_create_embedding_config import (
|
|
4
|
+
EmbeddingModelConfigCreateEmbeddingConfig,
|
|
5
|
+
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
6
|
+
EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding,
|
|
7
|
+
EmbeddingModelConfigCreateEmbeddingConfig_CohereEmbedding,
|
|
8
|
+
EmbeddingModelConfigCreateEmbeddingConfig_GeminiEmbedding,
|
|
9
|
+
EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding,
|
|
10
|
+
EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
|
|
11
|
+
EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"EmbeddingModelConfigCreateEmbeddingConfig",
|
|
16
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding",
|
|
17
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding",
|
|
18
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_CohereEmbedding",
|
|
19
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_GeminiEmbedding",
|
|
20
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding",
|
|
21
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding",
|
|
22
|
+
"EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding",
|
|
23
|
+
]
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
|
|
7
|
+
import typing_extensions
|
|
8
|
+
|
|
9
|
+
from ....types.azure_open_ai_embedding_config import AzureOpenAiEmbeddingConfig
|
|
10
|
+
from ....types.bedrock_embedding_config import BedrockEmbeddingConfig
|
|
11
|
+
from ....types.cohere_embedding_config import CohereEmbeddingConfig
|
|
12
|
+
from ....types.gemini_embedding_config import GeminiEmbeddingConfig
|
|
13
|
+
from ....types.hugging_face_inference_api_embedding_config import HuggingFaceInferenceApiEmbeddingConfig
|
|
14
|
+
from ....types.open_ai_embedding_config import OpenAiEmbeddingConfig
|
|
15
|
+
from ....types.vertex_ai_embedding_config import VertexAiEmbeddingConfig
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding(AzureOpenAiEmbeddingConfig):
|
|
19
|
+
type: typing_extensions.Literal["AZURE_EMBEDDING"]
|
|
20
|
+
|
|
21
|
+
class Config:
|
|
22
|
+
frozen = True
|
|
23
|
+
smart_union = True
|
|
24
|
+
allow_population_by_field_name = True
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding(BedrockEmbeddingConfig):
|
|
28
|
+
type: typing_extensions.Literal["BEDROCK_EMBEDDING"]
|
|
29
|
+
|
|
30
|
+
class Config:
|
|
31
|
+
frozen = True
|
|
32
|
+
smart_union = True
|
|
33
|
+
allow_population_by_field_name = True
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_CohereEmbedding(CohereEmbeddingConfig):
|
|
37
|
+
type: typing_extensions.Literal["COHERE_EMBEDDING"]
|
|
38
|
+
|
|
39
|
+
class Config:
|
|
40
|
+
frozen = True
|
|
41
|
+
smart_union = True
|
|
42
|
+
allow_population_by_field_name = True
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_GeminiEmbedding(GeminiEmbeddingConfig):
|
|
46
|
+
type: typing_extensions.Literal["GEMINI_EMBEDDING"]
|
|
47
|
+
|
|
48
|
+
class Config:
|
|
49
|
+
frozen = True
|
|
50
|
+
smart_union = True
|
|
51
|
+
allow_population_by_field_name = True
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding(HuggingFaceInferenceApiEmbeddingConfig):
|
|
55
|
+
type: typing_extensions.Literal["HUGGINGFACE_API_EMBEDDING"]
|
|
56
|
+
|
|
57
|
+
class Config:
|
|
58
|
+
frozen = True
|
|
59
|
+
smart_union = True
|
|
60
|
+
allow_population_by_field_name = True
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding(OpenAiEmbeddingConfig):
|
|
64
|
+
type: typing_extensions.Literal["OPENAI_EMBEDDING"]
|
|
65
|
+
|
|
66
|
+
class Config:
|
|
67
|
+
frozen = True
|
|
68
|
+
smart_union = True
|
|
69
|
+
allow_population_by_field_name = True
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding(VertexAiEmbeddingConfig):
|
|
73
|
+
type: typing_extensions.Literal["VERTEXAI_EMBEDDING"]
|
|
74
|
+
|
|
75
|
+
class Config:
|
|
76
|
+
frozen = True
|
|
77
|
+
smart_union = True
|
|
78
|
+
allow_population_by_field_name = True
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
EmbeddingModelConfigCreateEmbeddingConfig = typing.Union[
|
|
82
|
+
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
83
|
+
EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding,
|
|
84
|
+
EmbeddingModelConfigCreateEmbeddingConfig_CohereEmbedding,
|
|
85
|
+
EmbeddingModelConfigCreateEmbeddingConfig_GeminiEmbedding,
|
|
86
|
+
EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding,
|
|
87
|
+
EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
|
|
88
|
+
EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
|
|
89
|
+
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import FileCreateResourceInfoValue
|
|
3
|
+
from .types import FileCreateFromUrlResourceInfoValue, FileCreateResourceInfoValue
|
|
4
4
|
|
|
5
|
-
__all__ = ["FileCreateResourceInfoValue"]
|
|
5
|
+
__all__ = ["FileCreateFromUrlResourceInfoValue", "FileCreateResourceInfoValue"]
|