llama-cloud 0.0.13__py3-none-any.whl → 0.0.15__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 +76 -14
- llama_cloud/resources/__init__.py +14 -0
- llama_cloud/resources/data_sources/types/data_source_update_component_one.py +2 -0
- llama_cloud/resources/evals/client.py +5 -5
- llama_cloud/resources/parsing/client.py +8 -0
- llama_cloud/resources/pipelines/__init__.py +14 -0
- llama_cloud/resources/pipelines/client.py +285 -66
- llama_cloud/resources/pipelines/types/__init__.py +16 -0
- llama_cloud/resources/pipelines/types/pipeline_update_embedding_config.py +78 -0
- llama_cloud/types/__init__.py +68 -14
- llama_cloud/types/{embedding_config.py → azure_open_ai_embedding_config.py} +4 -6
- llama_cloud/types/bedrock_embedding_config.py +34 -0
- llama_cloud/types/box_auth_mechanism.py +21 -0
- llama_cloud/types/chat_data.py +1 -1
- llama_cloud/types/chat_message.py +14 -4
- llama_cloud/types/cloud_azure_ai_search_vector_store.py +3 -0
- llama_cloud/types/cloud_box_data_source.py +51 -0
- llama_cloud/types/cloud_document.py +3 -0
- llama_cloud/types/cloud_document_create.py +3 -0
- llama_cloud/types/cloud_sharepoint_data_source.py +2 -1
- llama_cloud/types/cohere_embedding_config.py +34 -0
- llama_cloud/types/configurable_data_source_names.py +4 -0
- llama_cloud/types/custom_claims.py +0 -3
- llama_cloud/types/data_source_component_one.py +2 -0
- llama_cloud/types/data_source_create_component_one.py +2 -0
- llama_cloud/types/eval_execution_params.py +2 -2
- llama_cloud/types/eval_execution_params_override.py +2 -2
- llama_cloud/types/filter_operator.py +4 -0
- llama_cloud/types/gemini_embedding_config.py +34 -0
- llama_cloud/types/hugging_face_inference_api_embedding_config.py +34 -0
- llama_cloud/types/input_message.py +42 -0
- llama_cloud/types/llama_parse_parameters.py +4 -1
- llama_cloud/types/{eval_llm_model_data.py → llm_model_data.py} +1 -1
- llama_cloud/types/llm_parameters.py +2 -2
- llama_cloud/types/{supported_eval_llm_model.py → message_annotation.py} +6 -6
- llama_cloud/types/metadata_filter.py +1 -1
- llama_cloud/types/open_ai_embedding_config.py +34 -0
- llama_cloud/types/page_segmentation_config.py +2 -0
- llama_cloud/types/pipeline.py +11 -1
- llama_cloud/types/pipeline_create.py +3 -3
- llama_cloud/types/pipeline_create_embedding_config.py +78 -0
- llama_cloud/types/pipeline_data_source.py +7 -0
- llama_cloud/types/pipeline_data_source_component_one.py +2 -0
- llama_cloud/types/pipeline_data_source_create.py +3 -0
- llama_cloud/types/pipeline_embedding_config.py +78 -0
- llama_cloud/types/pipeline_transform_config.py +31 -0
- llama_cloud/types/playground_session.py +51 -0
- llama_cloud/types/supported_llm_model.py +41 -0
- llama_cloud/types/{supported_eval_llm_model_names.py → supported_llm_model_names.py} +10 -6
- {llama_cloud-0.0.13.dist-info → llama_cloud-0.0.15.dist-info}/METADATA +1 -1
- {llama_cloud-0.0.13.dist-info → llama_cloud-0.0.15.dist-info}/RECORD +53 -42
- llama_cloud/types/embedding_config_component.py +0 -7
- llama_cloud/types/embedding_config_component_one.py +0 -19
- llama_cloud/types/embedding_config_type.py +0 -41
- {llama_cloud-0.0.13.dist-info → llama_cloud-0.0.15.dist-info}/LICENSE +0 -0
- {llama_cloud-0.0.13.dist-info → llama_cloud-0.0.15.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
|
7
|
+
from .llm_model_data import LlmModelData
|
|
8
|
+
from .supported_llm_model_names import SupportedLlmModelNames
|
|
9
|
+
|
|
10
|
+
try:
|
|
11
|
+
import pydantic
|
|
12
|
+
if pydantic.__version__.startswith("1."):
|
|
13
|
+
raise ImportError
|
|
14
|
+
import pydantic.v1 as pydantic # type: ignore
|
|
15
|
+
except ImportError:
|
|
16
|
+
import pydantic # type: ignore
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class SupportedLlmModel(pydantic.BaseModel):
|
|
20
|
+
"""
|
|
21
|
+
Response Schema for a supported eval LLM model.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
name: SupportedLlmModelNames = pydantic.Field(description="The name of the supported LLM model.")
|
|
25
|
+
enabled: typing.Optional[bool] = pydantic.Field(
|
|
26
|
+
description="Whether the LLM model is enabled for use in LlamaCloud."
|
|
27
|
+
)
|
|
28
|
+
details: LlmModelData = pydantic.Field(description="The details of the supported LLM model.")
|
|
29
|
+
|
|
30
|
+
def json(self, **kwargs: typing.Any) -> str:
|
|
31
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
32
|
+
return super().json(**kwargs_with_defaults)
|
|
33
|
+
|
|
34
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
|
35
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
36
|
+
return super().dict(**kwargs_with_defaults)
|
|
37
|
+
|
|
38
|
+
class Config:
|
|
39
|
+
frozen = True
|
|
40
|
+
smart_union = True
|
|
41
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
|
@@ -6,7 +6,7 @@ import typing
|
|
|
6
6
|
T_Result = typing.TypeVar("T_Result")
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class SupportedLlmModelNames(str, enum.Enum):
|
|
10
10
|
"""
|
|
11
11
|
An enumeration.
|
|
12
12
|
"""
|
|
@@ -16,6 +16,7 @@ class SupportedEvalLlmModelNames(str, enum.Enum):
|
|
|
16
16
|
GPT_4_TURBO = "GPT_4_TURBO"
|
|
17
17
|
GPT_4_O = "GPT_4O"
|
|
18
18
|
GPT_4_O_MINI = "GPT_4O_MINI"
|
|
19
|
+
AZURE_OPENAI = "AZURE_OPENAI"
|
|
19
20
|
|
|
20
21
|
def visit(
|
|
21
22
|
self,
|
|
@@ -24,14 +25,17 @@ class SupportedEvalLlmModelNames(str, enum.Enum):
|
|
|
24
25
|
gpt_4_turbo: typing.Callable[[], T_Result],
|
|
25
26
|
gpt_4_o: typing.Callable[[], T_Result],
|
|
26
27
|
gpt_4_o_mini: typing.Callable[[], T_Result],
|
|
28
|
+
azure_openai: typing.Callable[[], T_Result],
|
|
27
29
|
) -> T_Result:
|
|
28
|
-
if self is
|
|
30
|
+
if self is SupportedLlmModelNames.GPT_3_5_TURBO:
|
|
29
31
|
return gpt_3_5_turbo()
|
|
30
|
-
if self is
|
|
32
|
+
if self is SupportedLlmModelNames.GPT_4:
|
|
31
33
|
return gpt_4()
|
|
32
|
-
if self is
|
|
34
|
+
if self is SupportedLlmModelNames.GPT_4_TURBO:
|
|
33
35
|
return gpt_4_turbo()
|
|
34
|
-
if self is
|
|
36
|
+
if self is SupportedLlmModelNames.GPT_4_O:
|
|
35
37
|
return gpt_4_o()
|
|
36
|
-
if self is
|
|
38
|
+
if self is SupportedLlmModelNames.GPT_4_O_MINI:
|
|
37
39
|
return gpt_4_o_mini()
|
|
40
|
+
if self is SupportedLlmModelNames.AZURE_OPENAI:
|
|
41
|
+
return azure_openai()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
llama_cloud/__init__.py,sha256
|
|
1
|
+
llama_cloud/__init__.py,sha256=-sINnDTiq_fVrFp7agsMffIl-pE_oxgD6RutJG8DmHo,13953
|
|
2
2
|
llama_cloud/client.py,sha256=kITbWAZl-xw19xv9ouSiT1wQ1i7yWHhNG5XDTjb-EVc,4503
|
|
3
3
|
llama_cloud/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
|
|
4
4
|
llama_cloud/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
@@ -9,7 +9,7 @@ llama_cloud/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJ
|
|
|
9
9
|
llama_cloud/environment.py,sha256=q4q-uY5WgcSlzfHwEANOqFQPu0lstqvMnVOsSfifMKo,168
|
|
10
10
|
llama_cloud/errors/__init__.py,sha256=pbbVUFtB9LCocA1RMWMMF_RKjsy5YkOKX5BAuE49w6g,170
|
|
11
11
|
llama_cloud/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
|
|
12
|
-
llama_cloud/resources/__init__.py,sha256=
|
|
12
|
+
llama_cloud/resources/__init__.py,sha256=GBRtOHhgDAfP3eI1I8sBcerJOgv9UjkmosnU8rdFTnE,2176
|
|
13
13
|
llama_cloud/resources/auth/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
14
14
|
llama_cloud/resources/auth/client.py,sha256=kUfPUIXNS95MBKsknEvdqsDojlVJfVnxmHkAaiYVxCY,4560
|
|
15
15
|
llama_cloud/resources/component_definitions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -23,10 +23,10 @@ llama_cloud/resources/data_sources/__init__.py,sha256=CCs8ur4fvszPjy0GpTWmMjUAx0
|
|
|
23
23
|
llama_cloud/resources/data_sources/client.py,sha256=uxM67CtKYSexXeKxuHojlbLR7YkqQueRYIrhSLc6Pqs,21915
|
|
24
24
|
llama_cloud/resources/data_sources/types/__init__.py,sha256=iOdDXvAM6w80PR62JCscsTOwzDIXHHcG_Ypv18DEdic,410
|
|
25
25
|
llama_cloud/resources/data_sources/types/data_source_update_component.py,sha256=8MoJgdjYmN5WqntDpMXX34WJsf-Wsn0gYw_0t9SOTTA,257
|
|
26
|
-
llama_cloud/resources/data_sources/types/data_source_update_component_one.py,sha256=
|
|
26
|
+
llama_cloud/resources/data_sources/types/data_source_update_component_one.py,sha256=VZNiWv0LGp2hllQzFAxvFYiSzeBEk5Dpu3WQj4kqfgk,1030
|
|
27
27
|
llama_cloud/resources/data_sources/types/data_source_update_custom_metadata_value.py,sha256=3aFC-p8MSxjhOu2nFtqk0pixj6RqNqcFnbOYngUdZUk,215
|
|
28
28
|
llama_cloud/resources/evals/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
29
|
-
llama_cloud/resources/evals/client.py,sha256=
|
|
29
|
+
llama_cloud/resources/evals/client.py,sha256=JyPHP9MsJ-15XHUVu-UjCcINo2IDPr2OageAqLBGlmw,27578
|
|
30
30
|
llama_cloud/resources/extraction/__init__.py,sha256=trseRsayeGiyGThI4s_Folw5AHmdTSEP3KPrlvNhfVw,255
|
|
31
31
|
llama_cloud/resources/extraction/client.py,sha256=iYYBliMeMtExllJXV0FLeGz46Gc88Ksmk_8vk1TrAzg,31012
|
|
32
32
|
llama_cloud/resources/extraction/types/__init__.py,sha256=ePJKSJ6hGIsPnfpe0Sp5w4mBZgnZes4cdtZ8Gfw81Gc,347
|
|
@@ -39,33 +39,38 @@ llama_cloud/resources/files/types/file_create_resource_info_value.py,sha256=R7Y-
|
|
|
39
39
|
llama_cloud/resources/organizations/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
40
40
|
llama_cloud/resources/organizations/client.py,sha256=akn_3sytJW_VhuLVBbP0TKiKKbBGuuAPDtGVIbW4kdA,34167
|
|
41
41
|
llama_cloud/resources/parsing/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
42
|
-
llama_cloud/resources/parsing/client.py,sha256=
|
|
43
|
-
llama_cloud/resources/pipelines/__init__.py,sha256=
|
|
44
|
-
llama_cloud/resources/pipelines/client.py,sha256=
|
|
45
|
-
llama_cloud/resources/pipelines/types/__init__.py,sha256=
|
|
42
|
+
llama_cloud/resources/parsing/client.py,sha256=epdS59BEsxx9nQryTV_Eemd3RAhESyMN2K4uP2gSpPQ,40700
|
|
43
|
+
llama_cloud/resources/pipelines/__init__.py,sha256=Ww7n75XUkq-aqy7WuxhO9rRbBmi_VsYMpkZpDyw8oYs,1147
|
|
44
|
+
llama_cloud/resources/pipelines/client.py,sha256=Ek_eSin0f32Fucf7BhfAqKT8xgJWagLt_np9oYZdcqI,136672
|
|
45
|
+
llama_cloud/resources/pipelines/types/__init__.py,sha256=PFl5hsq0GHQRwZLR-L7igQ5NBO8GH_rJPOcRR_16ODk,1275
|
|
46
46
|
llama_cloud/resources/pipelines/types/pipeline_file_update_custom_metadata_value.py,sha256=trI48WLxPcAqV9207Q6-3cj1nl4EGlZpw7En56ZsPgg,217
|
|
47
|
+
llama_cloud/resources/pipelines/types/pipeline_update_embedding_config.py,sha256=0XHOqSS-yiSREOi8-kE9yjgKNzxqzAcxDhHDHfDHEkk,2494
|
|
47
48
|
llama_cloud/resources/pipelines/types/pipeline_update_transform_config.py,sha256=QhoTMm88VYbc9EktYuA8qhbUFqwIpHmO5LhML7Z4Sjk,872
|
|
48
49
|
llama_cloud/resources/projects/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
49
50
|
llama_cloud/resources/projects/client.py,sha256=nK81HdhGbWY1rh8rSEsKzRuvyvCQ-IkhLHIPDqEqVFU,47754
|
|
50
|
-
llama_cloud/types/__init__.py,sha256=
|
|
51
|
+
llama_cloud/types/__init__.py,sha256=_-QQmxInSXIAPL6qcOihrwRU2MLxcgzJMOlBPZepHtc,17155
|
|
51
52
|
llama_cloud/types/advanced_mode_transform_config.py,sha256=4xCXye0_cPmVS1F8aNTx81sIaEPjQH9kiCCAIoqUzlI,1502
|
|
52
53
|
llama_cloud/types/advanced_mode_transform_config_chunking_config.py,sha256=wYbJnWLpeQDfhmDZz-wJfYzD1iGT5Jcxb9ga3mzUuvk,1983
|
|
53
54
|
llama_cloud/types/advanced_mode_transform_config_segmentation_config.py,sha256=anNGq0F5-IlbIW3kpC8OilzLJnUq5tdIcWHnRnmlYsg,1303
|
|
54
55
|
llama_cloud/types/auto_transform_config.py,sha256=HVeHZM75DMRznScqLTfrMwcZwIdyWPuaEYbPewnHqwc,1168
|
|
55
56
|
llama_cloud/types/azure_open_ai_embedding.py,sha256=-9LzRDNcxhRvEshA8SaI9zFMTpHLXJ34iMnpIVk88Cc,3590
|
|
57
|
+
llama_cloud/types/azure_open_ai_embedding_config.py,sha256=o1zZhzcGElH3SeixFErrm7P_WFHQ6LvrLem_nKJWunw,1170
|
|
56
58
|
llama_cloud/types/base.py,sha256=cn_Zn61yLMDCMm1iZTPvKILSRlqRzOqZtSYyYBY5dIE,938
|
|
57
59
|
llama_cloud/types/base_prompt_template.py,sha256=GO9k4EDVMf3gRQIA4bVfXqgIMKnKTXhi1JlGvhqXDRY,1576
|
|
58
60
|
llama_cloud/types/bedrock_embedding.py,sha256=RbECq-DxfbizAWpgUN4QIandJ-bGmgFug2EQH6LPHP0,2627
|
|
61
|
+
llama_cloud/types/bedrock_embedding_config.py,sha256=32dMhoA2cLx1jeogDnCl9WPVb83Hn99nAALnt5BM208,1147
|
|
62
|
+
llama_cloud/types/box_auth_mechanism.py,sha256=qIT9Lq-MyxNX-i71T1SsWKU4V2GtsSf0nRQT_fafMz8,539
|
|
59
63
|
llama_cloud/types/character_chunking_config.py,sha256=2ooAnrlVVbKj4nDi_lR66x5E6nWOmj5YDWhSMQD0ubc,1035
|
|
60
64
|
llama_cloud/types/character_splitter.py,sha256=tA8Eob62cs3geVMVkFvDp17nxijYVUQyjpvV0wGyLpQ,1969
|
|
61
|
-
llama_cloud/types/chat_data.py,sha256=
|
|
62
|
-
llama_cloud/types/chat_message.py,sha256=
|
|
65
|
+
llama_cloud/types/chat_data.py,sha256=iwPmxUFKy9QS4OHoMi0HcFs9I4DVYpRcIlHEUvk1PR8,1373
|
|
66
|
+
llama_cloud/types/chat_message.py,sha256=jp1GrnrRb3-nQ8KoMdLchzCSfoEczChnUgbD6xJJ65U,1762
|
|
63
67
|
llama_cloud/types/cloud_az_storage_blob_data_source.py,sha256=T4zqGF2KUoJ3g9sQbVcmJI2Rae5tvsUm0ML0Lvh8JMU,2196
|
|
64
|
-
llama_cloud/types/cloud_azure_ai_search_vector_store.py,sha256=
|
|
68
|
+
llama_cloud/types/cloud_azure_ai_search_vector_store.py,sha256=9GTaft7BaKsR9RJQp5dlpbslXUlTMA1AcDdKV1ApfqI,1513
|
|
69
|
+
llama_cloud/types/cloud_box_data_source.py,sha256=myL71JjQ6vK6uQWWW884I6n_0jFuQD_jA8WG3KtxPRg,2076
|
|
65
70
|
llama_cloud/types/cloud_chroma_vector_store.py,sha256=-PKWkXWRpypeVy6nSbFDDkypdBgHgeqsXtfjGKygjXM,1388
|
|
66
71
|
llama_cloud/types/cloud_confluence_data_source.py,sha256=jLV9bytO2u-Nhn9-HG95TI3xz1934jzPyPOGE_j0h9A,1926
|
|
67
|
-
llama_cloud/types/cloud_document.py,sha256=
|
|
68
|
-
llama_cloud/types/cloud_document_create.py,sha256=
|
|
72
|
+
llama_cloud/types/cloud_document.py,sha256=dDk1IluX8eU3thDeFp42DfflfzYCMJWAckoZdoLLjOQ,1425
|
|
73
|
+
llama_cloud/types/cloud_document_create.py,sha256=i43_Virif1midZz0ZNunqAX515u3Mc4_FdeM2F8GAI0,1448
|
|
69
74
|
llama_cloud/types/cloud_jira_data_source.py,sha256=chvMhR253mgLAslxvCsS7T7UBM97i0XFjjtx6pfv8Ts,1732
|
|
70
75
|
llama_cloud/types/cloud_milvus_vector_store.py,sha256=CHFTJSYPZKYPUU-jpB1MG8OwRvnPiT07o7cYCvQMZLA,1235
|
|
71
76
|
llama_cloud/types/cloud_mongo_db_atlas_vector_search.py,sha256=R-3zF5aH1PvkhXpGLGCFdfgS6Ehey8iYQFX6N0GZNA8,1725
|
|
@@ -75,19 +80,20 @@ llama_cloud/types/cloud_pinecone_vector_store.py,sha256=UyCFAawIDnmPAmTcWjrFCKat
|
|
|
75
80
|
llama_cloud/types/cloud_postgres_vector_store.py,sha256=H2-yD-j7SPGk6G6pt28ZA778d6_jyBsO2QOPFd7-lKY,1364
|
|
76
81
|
llama_cloud/types/cloud_qdrant_vector_store.py,sha256=F-gjNArzwLWmqgPcC-ZxRqSrhTFZbv5kqmIXmnLPB5o,1718
|
|
77
82
|
llama_cloud/types/cloud_s_3_data_source.py,sha256=bRrHinGoXt89Q2aMp8VSBYrJ5MNYQCAB0q6esYo89ok,1715
|
|
78
|
-
llama_cloud/types/cloud_sharepoint_data_source.py,sha256=
|
|
83
|
+
llama_cloud/types/cloud_sharepoint_data_source.py,sha256=jZ4cqnzPttDhTvaSe-xex3lyS388zRCECr6KBdZYLg8,1928
|
|
79
84
|
llama_cloud/types/cloud_slack_data_source.py,sha256=nj6atJkUYfHauWDBXol3WcDxPhDqsf3qAl9vKSulKQE,1701
|
|
80
85
|
llama_cloud/types/cloud_weaviate_vector_store.py,sha256=D9ZKG9kpZyoncNCxD49e3RURYrI5tieZroPcTaJGE20,1309
|
|
81
86
|
llama_cloud/types/code_splitter.py,sha256=TMfGeunLMJagX3lvxr76nhosD48Reu4CexVzpU_03Rg,1971
|
|
82
87
|
llama_cloud/types/cohere_embedding.py,sha256=qpF6fMm5z5YGc47RfLUM9XPsHbYNRlhSlrBe-9OotHA,1969
|
|
88
|
+
llama_cloud/types/cohere_embedding_config.py,sha256=c0Kj1wuSsBX9TQ2AondKv5ZtX5PmkivsHj6P0M7tVB4,1142
|
|
83
89
|
llama_cloud/types/configurable_data_sink_names.py,sha256=Cue3CIK0jXSOlbQ2Z44tyDW1fpObzbXiCe0zilxt7Xk,1572
|
|
84
|
-
llama_cloud/types/configurable_data_source_names.py,sha256=
|
|
90
|
+
llama_cloud/types/configurable_data_source_names.py,sha256=eD17s-N_pTV5YgMAcKe2MIsHmNChdcLrJydV2JUV9Ug,1826
|
|
85
91
|
llama_cloud/types/configurable_transformation_definition.py,sha256=LDOhI5IDxlLDWM_p_xwCFM7qq1y-aGA8UxN7dnplDlU,1886
|
|
86
92
|
llama_cloud/types/configurable_transformation_names.py,sha256=tQ8x9-NVisUd-I5vkY1Y_edNHM9pRjQ5cw0POjXUS2E,3216
|
|
87
93
|
llama_cloud/types/configured_transformation_item.py,sha256=9caK5ZOKgGCZc6ynJJIWwpxpScKHOHkZwHFlsBy-Fog,1826
|
|
88
94
|
llama_cloud/types/configured_transformation_item_component.py,sha256=RXQ1Ed2HlqQ-V7RSDA9sndPBbJUhwfczVpCWHRKQigY,311
|
|
89
95
|
llama_cloud/types/configured_transformation_item_component_one.py,sha256=yO_3dv2u0i0RQI_ODrEpPx9aJpMTuqrUKhmDJUbfehU,1158
|
|
90
|
-
llama_cloud/types/custom_claims.py,sha256=
|
|
96
|
+
llama_cloud/types/custom_claims.py,sha256=KWaS1YWwbqAlJD47GhDDp_jCijZO7EZDi8_JywR09VE,2553
|
|
91
97
|
llama_cloud/types/data_sink.py,sha256=11LlzUEMkgT-20OsMlvZYgbOnOvtxD4Y0NGyiVpP1_M,1524
|
|
92
98
|
llama_cloud/types/data_sink_component.py,sha256=AMOlCar00ApJarc4sEVqYGoPWqjuiV19suOUvpIQtlg,224
|
|
93
99
|
llama_cloud/types/data_sink_component_one.py,sha256=FVa5lyfY4kgGYRvM5qb18nM5uz9DL2Sjfe1yRB5jAF4,904
|
|
@@ -97,24 +103,19 @@ llama_cloud/types/data_sink_create_component_one.py,sha256=jt9qk-OSS_YI0cvnaeiMx
|
|
|
97
103
|
llama_cloud/types/data_sink_definition.py,sha256=5ve_pq02s8szc34-wWobMe6BAPj_c7e9n9FFsfDqEQ0,1561
|
|
98
104
|
llama_cloud/types/data_source.py,sha256=H98i0VlmB_eUczmUuhbAVG7uP1wcLLlE2gSKQWLTy7w,1830
|
|
99
105
|
llama_cloud/types/data_source_component.py,sha256=xx1-6EJUtfr2A6BgkOtFM4w5I_3zSHqO1qnRRHSNcTc,232
|
|
100
|
-
llama_cloud/types/data_source_component_one.py,sha256=
|
|
106
|
+
llama_cloud/types/data_source_component_one.py,sha256=GsNr9RbwNJi5lQpYSQuiEmFfYA5wSaKFZKdOCN65eys,943
|
|
101
107
|
llama_cloud/types/data_source_create.py,sha256=siumw3f5sZCVVDZgYDLpy7YaeYZRMTOPqmFjL6GjyK0,1613
|
|
102
108
|
llama_cloud/types/data_source_create_component.py,sha256=xY1zUoKBH6LRwka54a1w5zFrB3vUYIiEGhBZv7yi7Oc,257
|
|
103
|
-
llama_cloud/types/data_source_create_component_one.py,sha256=
|
|
109
|
+
llama_cloud/types/data_source_create_component_one.py,sha256=4mVXM_RQTQwbqgclvEaWePhrqq0IXN79mOK72apa4ns,949
|
|
104
110
|
llama_cloud/types/data_source_create_custom_metadata_value.py,sha256=ejSsQNbszYQaUWFh9r9kQpHf88qbhuRv1SI9J_MOSC0,215
|
|
105
111
|
llama_cloud/types/data_source_custom_metadata_value.py,sha256=pTZn5yjZYmuOhsLABFJOKZblZUkRqo1CqLAuP5tKji4,209
|
|
106
112
|
llama_cloud/types/data_source_definition.py,sha256=HlSlTxzYcQJOSo_2OSroAE8vAr-otDvTNBSEkA54vL8,1575
|
|
107
113
|
llama_cloud/types/element_segmentation_config.py,sha256=QOBk8YFrgK0I2m3caqV5bpYaGXbk0fMSjZ4hUPZXZDI,959
|
|
108
|
-
llama_cloud/types/embedding_config.py,sha256=eqW7xg1IHZcXIEsqVzAn1thxcWGTeBwhpDuqpS6EYKw,1319
|
|
109
|
-
llama_cloud/types/embedding_config_component.py,sha256=glBnixqC6GkDSMitbVs5aiAw566XFMkKrHgiNM1hEBU,252
|
|
110
|
-
llama_cloud/types/embedding_config_component_one.py,sha256=vFoDX7Cf_Qw9uGDZsIXsH72A2eFoiksMMhCfob1dFFQ,604
|
|
111
|
-
llama_cloud/types/embedding_config_type.py,sha256=iLK2npXhXa0E1FjsZvCC1JTzwJ1ItHYkNgDJvTkofyc,1470
|
|
112
114
|
llama_cloud/types/eval_dataset.py,sha256=Uav-YJqAvyzCp1j2XavzzVLV975uki71beIBLkCt8LY,1408
|
|
113
115
|
llama_cloud/types/eval_dataset_job_params.py,sha256=vcXLJWO581uigNvGAurPDgMeEFtQURWucLF5pemdeS0,1343
|
|
114
116
|
llama_cloud/types/eval_dataset_job_record.py,sha256=YcTXMBLNQaFw1jAvoQ6CnOsfm8XTDtgBumPr9--o380,2800
|
|
115
|
-
llama_cloud/types/eval_execution_params.py,sha256=
|
|
116
|
-
llama_cloud/types/eval_execution_params_override.py,sha256=
|
|
117
|
-
llama_cloud/types/eval_llm_model_data.py,sha256=H56AfhYsPA3eMKj1418_67tJ-5PsCDW36-6Zyif-f3M,1162
|
|
117
|
+
llama_cloud/types/eval_execution_params.py,sha256=ntVaJh5SMZMPL4QLUiihVjUlg2SKbrezvbMKGlrF66Q,1369
|
|
118
|
+
llama_cloud/types/eval_execution_params_override.py,sha256=JZtB9HHnx582J7L3-mD2GUwfJB8Nt9tDb37at61zkws,1386
|
|
118
119
|
llama_cloud/types/eval_question.py,sha256=0801Wo8Em5EnWV4DaCJKXGHWqG9urIgAS2mJekeGj3U,1604
|
|
119
120
|
llama_cloud/types/eval_question_create.py,sha256=oOwxkE5gPj8RAwgr3uuTHfTvLSXmYkkxNHqsT7oUHjI,1031
|
|
120
121
|
llama_cloud/types/eval_question_result.py,sha256=Y4RFXnA4YJTlzM6_NtLOi0rt6hRZoQbToiVJqm41ArY,2168
|
|
@@ -126,17 +127,21 @@ llama_cloud/types/extraction_schema_data_schema_value.py,sha256=AYyfwqWIr6PrJsQK
|
|
|
126
127
|
llama_cloud/types/file.py,sha256=VNA2Fe007m1Sox1Wwn7k7-OwfQta6LnWBDjlxCyzFt4,2009
|
|
127
128
|
llama_cloud/types/file_resource_info_value.py,sha256=g6T6ELeLK9jgcvX6r-EuAl_4JkwnyqdS0RRoabMReSU,195
|
|
128
129
|
llama_cloud/types/filter_condition.py,sha256=in8L0rP6KO3kd8rRakDjrxBZTWZen6VWVojQnZELORc,520
|
|
129
|
-
llama_cloud/types/filter_operator.py,sha256=
|
|
130
|
+
llama_cloud/types/filter_operator.py,sha256=DPS9ZziC7HYNHVtaTLqWLmur6sKSSybFFEUiTpVCOgk,2220
|
|
130
131
|
llama_cloud/types/gemini_embedding.py,sha256=BR8A9feVz1c7EoaUQKzOMP3PgZq-mw-n6Di-vOI-0ww,2209
|
|
132
|
+
llama_cloud/types/gemini_embedding_config.py,sha256=ycLaAkl9TQgUkvdbFyrz1cYXg1Wxmf0C-THNk4LWg1s,1142
|
|
131
133
|
llama_cloud/types/http_validation_error.py,sha256=iOSKYv0dJGjyIq8DAeLVKNJY-GiM1b6yiXGpXrm4QS4,1058
|
|
132
134
|
llama_cloud/types/hugging_face_inference_api_embedding.py,sha256=_nXn3KkPnnQiuspEUsBASHJOjeGYHuDUq1eBfXr6xwg,3315
|
|
135
|
+
llama_cloud/types/hugging_face_inference_api_embedding_config.py,sha256=EFHhuPCxU0g3Jcc3k-8X-uH_OLCoRfWNbOCUpZ3Ygd4,1232
|
|
133
136
|
llama_cloud/types/hugging_face_inference_api_embedding_token.py,sha256=A7-_YryBcsP4G5uRyJ9acao3XwX5-YC3NRndTeDAPj4,144
|
|
134
137
|
llama_cloud/types/ingestion_error_response.py,sha256=8u0cyT44dnpkNeUKemTvJMUqi_WyPcYQKP_DMTqaFPY,1259
|
|
138
|
+
llama_cloud/types/input_message.py,sha256=AP-5oU3SGXsaT0VLQP_mBVMwlX8h0dduClD7N3tSvW4,1455
|
|
135
139
|
llama_cloud/types/job_name_mapping.py,sha256=scAbHrxvowCE3jHRZyYr2bBE5wvMMdBw7zpQ-lp5dY0,1433
|
|
136
|
-
llama_cloud/types/llama_parse_parameters.py,sha256=
|
|
140
|
+
llama_cloud/types/llama_parse_parameters.py,sha256=AErCh0qlqxwlPNCxnL07sNyH42amJ5L4LMn0n7Ey4gg,2269
|
|
137
141
|
llama_cloud/types/llama_parse_supported_file_extensions.py,sha256=0IurzDxhIwdxCuTh1J9NXA_bU9VnKagDCs3853iREWY,11244
|
|
138
142
|
llama_cloud/types/llm.py,sha256=T-Uv5OO0E6Rscpn841302jx3c7G1uo9LJkdrGlNGk30,2238
|
|
139
|
-
llama_cloud/types/
|
|
143
|
+
llama_cloud/types/llm_model_data.py,sha256=KERZChR7wA1PLMDMp7BzOeTgrle47HM4OA5fX33e8uU,1158
|
|
144
|
+
llama_cloud/types/llm_parameters.py,sha256=tEXW_SEhci7PAw8BKQzMbpJHLRCsX3jIVmZhqBp9ljQ,1506
|
|
140
145
|
llama_cloud/types/local_eval.py,sha256=77NY_rq4zr0V3iB-PXE7Om6LcjRrytLbQ55f_ovAF-M,2050
|
|
141
146
|
llama_cloud/types/local_eval_results.py,sha256=G1rLE6vO2lEziHQ6bAbZvpJMTrkSYWFvsS1iyZZ44Jw,1449
|
|
142
147
|
llama_cloud/types/local_eval_sets.py,sha256=XJSSriwRvkma889pPiBQrpRakKejKOX3tWPu1TGb1ug,1181
|
|
@@ -144,8 +149,9 @@ llama_cloud/types/managed_ingestion_status.py,sha256=IW5WpBSofGlJfypFrl3mp4yx9Lq
|
|
|
144
149
|
llama_cloud/types/managed_ingestion_status_response.py,sha256=1DRxebcZlCKFqA9iwhyfhXlFQfKUjE-SsCzmIJnoobM,1529
|
|
145
150
|
llama_cloud/types/markdown_element_node_parser.py,sha256=N3HKe8ZVVzJvley9UxATSbXhNkgVafhJgtnyMePjMBU,2121
|
|
146
151
|
llama_cloud/types/markdown_node_parser.py,sha256=T4VNqkKmwQtItpdIC2uwfBnIGEfGQ8s6F9vR9ChW64M,1589
|
|
152
|
+
llama_cloud/types/message_annotation.py,sha256=PPO0-Z5d8M7FqDIhlvis7as7lDypNl0sJfjJn2xqdlU,1217
|
|
147
153
|
llama_cloud/types/message_role.py,sha256=38ES71HMWfKesfFqSkTBxDcqdNqJHlNYQr1pPKlxSXs,1208
|
|
148
|
-
llama_cloud/types/metadata_filter.py,sha256=
|
|
154
|
+
llama_cloud/types/metadata_filter.py,sha256=dVdXY6i0aCkvJrs7ncQt4-S8jmBF9bBSp2VuWrmAVfI,1440
|
|
149
155
|
llama_cloud/types/metadata_filter_value.py,sha256=ij721gXNI7zbgsuDl9-AqBcXg2WDuVZhYS5F5YqekEs,188
|
|
150
156
|
llama_cloud/types/metadata_filters.py,sha256=uSf6sB4oQu6WzMPNFG6Tc4euqEiYcj_X14Y5JWt9xVE,1315
|
|
151
157
|
llama_cloud/types/metadata_filters_filters_item.py,sha256=e8KhD2q6Qc2_aK6r5CvyxC0oWVYO4F4vBIcB9eMEPPM,246
|
|
@@ -155,9 +161,10 @@ llama_cloud/types/none_chunking_config.py,sha256=D062t314Vp-s4n9h8wNgsYfElI4PonP
|
|
|
155
161
|
llama_cloud/types/none_segmentation_config.py,sha256=j3jUA6E8uFtwDMEu4TFG3Q4ZGCGiuUfUW9AMO1NNqXU,956
|
|
156
162
|
llama_cloud/types/object_type.py,sha256=-7wzQjscpmpUdM8vOIzq1EfAMhY9pS3wIaYIo6GndHQ,736
|
|
157
163
|
llama_cloud/types/open_ai_embedding.py,sha256=vAiDcIV129M7YT5hI99A2kheN42793m4kEJDu7fUKQg,3217
|
|
164
|
+
llama_cloud/types/open_ai_embedding_config.py,sha256=Mquc0JrtCo8lVYA2WW7q0ZikS3HRkiMtzDFu5XA-20o,1143
|
|
158
165
|
llama_cloud/types/organization.py,sha256=6mVWJDaDxrnMHuufnpQEhgWTPZW9bhsjGFtgtf4VyJg,1321
|
|
159
166
|
llama_cloud/types/organization_create.py,sha256=hUXRwArIx_0D_lilpL7z-B0oJJ5yEX8Sbu2xqfH_9so,1086
|
|
160
|
-
llama_cloud/types/page_segmentation_config.py,sha256=
|
|
167
|
+
llama_cloud/types/page_segmentation_config.py,sha256=VH8uuxnubnJak1gSpS64OoMueHidhsDB-2eq2tVHbag,998
|
|
161
168
|
llama_cloud/types/page_splitter_node_parser.py,sha256=AwdDkxX-WgJEMOc8Jvz_IByfYULNdVIM9CoD6gEcnhU,1476
|
|
162
169
|
llama_cloud/types/parser_languages.py,sha256=Ps3IlaSt6tyxEI657N3-vZL96r2puk8wsf31cWnO-SI,10840
|
|
163
170
|
llama_cloud/types/parsing_history_item.py,sha256=_MVzf43t84PbmjOzsMLZ_NBoyiisigLWz-fr0ZxU63g,1183
|
|
@@ -166,21 +173,25 @@ llama_cloud/types/parsing_job_json_result.py,sha256=vC0FNMklitCgcB0esthMfv_RbbyF
|
|
|
166
173
|
llama_cloud/types/parsing_job_markdown_result.py,sha256=E3-CVNFH1IMyuGs_xzYfYdNgq9AdnDshA_CxOTXz_dQ,1094
|
|
167
174
|
llama_cloud/types/parsing_job_text_result.py,sha256=1QZielAWXuzPFOgr_DWshXPjmbExAAgAHKAEYVQVtJ8,1082
|
|
168
175
|
llama_cloud/types/parsing_usage.py,sha256=JLlozu-vIkcRKqWaOVJ9Z2TrY7peJRTzOpYjOThGKGQ,1012
|
|
169
|
-
llama_cloud/types/pipeline.py,sha256=
|
|
170
|
-
llama_cloud/types/pipeline_create.py,sha256=
|
|
176
|
+
llama_cloud/types/pipeline.py,sha256=u1EoHhP9UQab3y0rolNiLEd51JqzxfAZeMyRDPencE8,3206
|
|
177
|
+
llama_cloud/types/pipeline_create.py,sha256=Dv9wh5Uu4MoITP6bunhaem1ToRcs3Fw2gr3fw7HO7Fk,3217
|
|
178
|
+
llama_cloud/types/pipeline_create_embedding_config.py,sha256=Lu03mWVS7XrqvhSsjV4H2OE69Qf32kw7k67ZoV-P5Kg,2440
|
|
171
179
|
llama_cloud/types/pipeline_create_transform_config.py,sha256=CiMil0NrwvxR34CAzrSWw9Uo0117tz409sptH1k_r48,854
|
|
172
|
-
llama_cloud/types/pipeline_data_source.py,sha256=
|
|
180
|
+
llama_cloud/types/pipeline_data_source.py,sha256=uiTu6BkXgizhkuqr6GHiS8ZBhtnLcwcitMFkwS6woaE,2465
|
|
173
181
|
llama_cloud/types/pipeline_data_source_component.py,sha256=Pk_K0Gv7xSWe5BKCdxz82EFd6AQDvZGN-6t3zg9h8NY,265
|
|
174
|
-
llama_cloud/types/pipeline_data_source_component_one.py,sha256=
|
|
175
|
-
llama_cloud/types/pipeline_data_source_create.py,sha256=
|
|
182
|
+
llama_cloud/types/pipeline_data_source_component_one.py,sha256=W9ntkcrg6bNOJgSe1GCUX8AjnY0RDwBYo9QQiFWGZio,951
|
|
183
|
+
llama_cloud/types/pipeline_data_source_create.py,sha256=0QPQNT6dvLaO5bZGX4QJWo5-2T44dQRjs2R5HwDaFa4,1280
|
|
176
184
|
llama_cloud/types/pipeline_data_source_custom_metadata_value.py,sha256=8n3r60sxMx4_udW0yzJZxzyWeK6L3cc2-jLGZFW4EDs,217
|
|
177
185
|
llama_cloud/types/pipeline_deployment.py,sha256=3sWAIdeov3CYFZMCAWwCR46ShHA6XAzSqmc18qryHzM,1669
|
|
186
|
+
llama_cloud/types/pipeline_embedding_config.py,sha256=ucK2AZdIgOYCQaR87Wt2H3Jq4OX25iG5JFovZeo4UQo,2362
|
|
178
187
|
llama_cloud/types/pipeline_file.py,sha256=CN_WpZs7OkBJMiG32T6BQQO2GVItxZtiazA0_JDpa9o,2532
|
|
179
188
|
llama_cloud/types/pipeline_file_create.py,sha256=2h7EVJk2Hez8FJ5AVqynWUpWDOkLmTO2M41tJcERjJg,1368
|
|
180
189
|
llama_cloud/types/pipeline_file_create_custom_metadata_value.py,sha256=olVj5yhQFx1QqWO1Wv9d6AtL-YyYO9_OYtOfcD2ZeGY,217
|
|
181
190
|
llama_cloud/types/pipeline_file_custom_metadata_value.py,sha256=ClFphYDNlHxeyLF5BWxIUhs2rooS0Xtqxr_Ae8dn8zE,211
|
|
182
191
|
llama_cloud/types/pipeline_file_resource_info_value.py,sha256=s3uFGQNwlUEr-X4TJZkW_kMBvX3h1sXRJoYlJRvHSDc,209
|
|
192
|
+
llama_cloud/types/pipeline_transform_config.py,sha256=zMr-ePLKGjbaScxbAHaSwYBL7rrNibVlnn0cbgElDfU,824
|
|
183
193
|
llama_cloud/types/pipeline_type.py,sha256=tTqrhxHP5xd7W2dQGD0e5FOv886nwJssyaVlXpWrtRo,551
|
|
194
|
+
llama_cloud/types/playground_session.py,sha256=m2Ellv49qc2ffBRobmqFYqpgDW15akfoRYBXYl0E6hM,1914
|
|
184
195
|
llama_cloud/types/pooling.py,sha256=5Fr6c8rx9SDWwWzEvD78suob2d79ktodUtLUAUHMbP8,651
|
|
185
196
|
llama_cloud/types/preset_retrieval_params.py,sha256=Tixn6xkbAIvRyNBZk8qquHeyR_PhsjuO9w_uipNKsgw,2246
|
|
186
197
|
llama_cloud/types/presigned_url.py,sha256=pUOIs2hFESZCuiqMsnn7pB6dgh_XO6w7vAV4OhKrq94,1345
|
|
@@ -196,8 +207,8 @@ llama_cloud/types/semantic_chunking_config.py,sha256=dFDniTVWpRc7UcmVFvljUoyL5Zt
|
|
|
196
207
|
llama_cloud/types/sentence_chunking_config.py,sha256=NA9xidK5ICxJPkEMQZWNcsV0Hw9Co_bzRWeYe4uSh9I,1116
|
|
197
208
|
llama_cloud/types/sentence_splitter.py,sha256=mkP5vQsXnLhn6iZZN4MrAfVoFdBYhZTIHoA5AewXwZY,2213
|
|
198
209
|
llama_cloud/types/status_enum.py,sha256=2kQLDa8PdvK45yJDSV2i53rBA3wCR1PJj-IdK0Dcr2E,868
|
|
199
|
-
llama_cloud/types/
|
|
200
|
-
llama_cloud/types/
|
|
210
|
+
llama_cloud/types/supported_llm_model.py,sha256=0v-g01LyZB7TeN0zwAeSJejRoT95SVaXOJhNz7boJwM,1461
|
|
211
|
+
llama_cloud/types/supported_llm_model_names.py,sha256=UgA8zIu0tWEcARRMZtv_dcTr6XWCwBy-Rp-soJUZdC0,1264
|
|
201
212
|
llama_cloud/types/text_node.py,sha256=ANT9oPqBs9IJFPhtq-6PC4l44FA3ZYjz_9nOE8h0RAM,2940
|
|
202
213
|
llama_cloud/types/text_node_relationships_value.py,sha256=qmXURTk1Xg7ZDzRSSV1uDEel0AXRLohND5ioezibHY0,217
|
|
203
214
|
llama_cloud/types/text_node_with_score.py,sha256=k-KYWO_mgJBvO6xUfOD5W6v1Ku9E586_HsvDoQbLfuQ,1229
|
|
@@ -210,7 +221,7 @@ llama_cloud/types/user_organization_create.py,sha256=YESlfcI64710OFdQzgGD4a7aItg
|
|
|
210
221
|
llama_cloud/types/user_organization_delete.py,sha256=Z8RSRXc0AGAuGxv6eQPC2S1XIdRfNCXBggfEefgPseM,1209
|
|
211
222
|
llama_cloud/types/validation_error.py,sha256=yZDLtjUHDY5w82Ra6CW0H9sLAr18R0RY1UNgJKR72DQ,1084
|
|
212
223
|
llama_cloud/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
213
|
-
llama_cloud-0.0.
|
|
214
|
-
llama_cloud-0.0.
|
|
215
|
-
llama_cloud-0.0.
|
|
216
|
-
llama_cloud-0.0.
|
|
224
|
+
llama_cloud-0.0.15.dist-info/LICENSE,sha256=_iNqtPcw1Ue7dZKwOwgPtbegMUkWVy15hC7bffAdNmY,1067
|
|
225
|
+
llama_cloud-0.0.15.dist-info/METADATA,sha256=t8rU9koSxTTowXcLKluWOWVFVIkhKBJXvCU-9Kggfr8,751
|
|
226
|
+
llama_cloud-0.0.15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
227
|
+
llama_cloud-0.0.15.dist-info/RECORD,,
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from .azure_open_ai_embedding import AzureOpenAiEmbedding
|
|
6
|
-
from .bedrock_embedding import BedrockEmbedding
|
|
7
|
-
from .cohere_embedding import CohereEmbedding
|
|
8
|
-
from .gemini_embedding import GeminiEmbedding
|
|
9
|
-
from .hugging_face_inference_api_embedding import HuggingFaceInferenceApiEmbedding
|
|
10
|
-
from .open_ai_embedding import OpenAiEmbedding
|
|
11
|
-
|
|
12
|
-
EmbeddingConfigComponentOne = typing.Union[
|
|
13
|
-
OpenAiEmbedding,
|
|
14
|
-
AzureOpenAiEmbedding,
|
|
15
|
-
CohereEmbedding,
|
|
16
|
-
BedrockEmbedding,
|
|
17
|
-
HuggingFaceInferenceApiEmbedding,
|
|
18
|
-
GeminiEmbedding,
|
|
19
|
-
]
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import enum
|
|
4
|
-
import typing
|
|
5
|
-
|
|
6
|
-
T_Result = typing.TypeVar("T_Result")
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class EmbeddingConfigType(str, enum.Enum):
|
|
10
|
-
"""
|
|
11
|
-
An enumeration.
|
|
12
|
-
"""
|
|
13
|
-
|
|
14
|
-
OPENAI_EMBEDDING = "OPENAI_EMBEDDING"
|
|
15
|
-
AZURE_EMBEDDING = "AZURE_EMBEDDING"
|
|
16
|
-
BEDROCK_EMBEDDING = "BEDROCK_EMBEDDING"
|
|
17
|
-
COHERE_EMBEDDING = "COHERE_EMBEDDING"
|
|
18
|
-
GEMINI_EMBEDDING = "GEMINI_EMBEDDING"
|
|
19
|
-
HUGGINGFACE_API_EMBEDDING = "HUGGINGFACE_API_EMBEDDING"
|
|
20
|
-
|
|
21
|
-
def visit(
|
|
22
|
-
self,
|
|
23
|
-
openai_embedding: typing.Callable[[], T_Result],
|
|
24
|
-
azure_embedding: typing.Callable[[], T_Result],
|
|
25
|
-
bedrock_embedding: typing.Callable[[], T_Result],
|
|
26
|
-
cohere_embedding: typing.Callable[[], T_Result],
|
|
27
|
-
gemini_embedding: typing.Callable[[], T_Result],
|
|
28
|
-
huggingface_api_embedding: typing.Callable[[], T_Result],
|
|
29
|
-
) -> T_Result:
|
|
30
|
-
if self is EmbeddingConfigType.OPENAI_EMBEDDING:
|
|
31
|
-
return openai_embedding()
|
|
32
|
-
if self is EmbeddingConfigType.AZURE_EMBEDDING:
|
|
33
|
-
return azure_embedding()
|
|
34
|
-
if self is EmbeddingConfigType.BEDROCK_EMBEDDING:
|
|
35
|
-
return bedrock_embedding()
|
|
36
|
-
if self is EmbeddingConfigType.COHERE_EMBEDDING:
|
|
37
|
-
return cohere_embedding()
|
|
38
|
-
if self is EmbeddingConfigType.GEMINI_EMBEDDING:
|
|
39
|
-
return gemini_embedding()
|
|
40
|
-
if self is EmbeddingConfigType.HUGGINGFACE_API_EMBEDDING:
|
|
41
|
-
return huggingface_api_embedding()
|
|
File without changes
|
|
File without changes
|