shaped 2.0.2__py3-none-any.whl → 2.0.4__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.
- shaped/__init__.py +47 -42
- shaped/autogen/__init__.py +37 -51
- shaped/autogen/api/engine_api.py +1 -1
- shaped/autogen/api/query_api.py +8 -68
- shaped/autogen/api/table_api.py +1 -1
- shaped/autogen/api/view_api.py +1 -1
- shaped/autogen/api_client.py +4 -4
- shaped/autogen/configuration.py +5 -3
- shaped/autogen/exceptions.py +7 -4
- shaped/autogen/models/__init__.py +19 -26
- shaped/autogen/models/ai_enrichment_view_config.py +1 -1
- shaped/autogen/models/algorithm.py +1 -1
- shaped/autogen/models/amplitude_table_config.py +1 -1
- shaped/autogen/models/ascending.py +29 -17
- shaped/autogen/models/attn_dropout_prob.py +1 -1
- shaped/autogen/models/attribute_journey.py +1 -1
- shaped/autogen/models/attribute_value.py +1 -1
- shaped/autogen/models/autoscaling_config.py +1 -1
- shaped/autogen/models/aws_pinpoint_table_config.py +1 -1
- shaped/autogen/models/batch_size.py +1 -1
- shaped/autogen/models/batch_size1.py +1 -1
- shaped/autogen/models/batch_size2.py +1 -1
- shaped/autogen/models/big_query_table_config.py +1 -1
- shaped/autogen/models/bm25.py +1 -1
- shaped/autogen/models/boosted_reorder_step.py +1 -1
- shaped/autogen/models/canary_rollout.py +1 -1
- shaped/autogen/models/candidate_attributes_retrieve_step.py +1 -14
- shaped/autogen/models/candidate_ids_retrieve_step.py +1 -1
- shaped/autogen/models/candidate_retrieval_strategy.py +1 -1
- shaped/autogen/models/clickhouse_table_config.py +1 -1
- shaped/autogen/models/column_order_retrieve_step.py +1 -1
- shaped/autogen/models/column_ordering.py +1 -1
- shaped/autogen/models/create_table_response.py +1 -1
- shaped/autogen/models/create_view_response.py +1 -1
- shaped/autogen/models/custom_table_config.py +1 -1
- shaped/autogen/models/data_compute_config.py +1 -1
- shaped/autogen/models/data_config.py +1 -1
- shaped/autogen/models/data_config_interaction_table.py +1 -1
- shaped/autogen/models/data_split_config.py +1 -1
- shaped/autogen/models/data_split_strategy.py +1 -1
- shaped/autogen/models/data_tier.py +1 -1
- shaped/autogen/models/default.py +1 -1
- shaped/autogen/models/delete_engine_response.py +1 -1
- shaped/autogen/models/delete_table_response.py +1 -1
- shaped/autogen/models/delete_view_response.py +1 -1
- shaped/autogen/models/deployment_config.py +2 -8
- shaped/autogen/models/distance_function.py +5 -5
- shaped/autogen/models/diversity_reorder_step.py +1 -1
- shaped/autogen/models/dropout_rate.py +1 -1
- shaped/autogen/models/dynamo_db_table_config.py +1 -1
- shaped/autogen/models/dynamo_db_table_config_scan_kwargs_value.py +1 -1
- shaped/autogen/models/embedder_batch_size.py +1 -1
- shaped/autogen/models/embedding_config.py +1 -1
- shaped/autogen/models/embedding_dim.py +1 -1
- shaped/autogen/models/embedding_dims.py +1 -1
- shaped/autogen/models/embedding_size.py +1 -1
- shaped/autogen/models/encoder.py +1 -1
- shaped/autogen/models/encoding_pooling_strategy.py +5 -5
- shaped/autogen/models/engine.py +1 -1
- shaped/autogen/models/engine_config_v2.py +1 -1
- shaped/autogen/models/engine_details_response.py +1 -1
- shaped/autogen/models/engine_schema.py +8 -8
- shaped/autogen/models/engine_schema_user_inner.py +30 -18
- shaped/autogen/models/entity_config.py +1 -1
- shaped/autogen/models/entity_journey.py +28 -19
- shaped/autogen/models/entity_type.py +1 -1
- shaped/autogen/models/evaluation_config.py +1 -1
- shaped/autogen/models/exploration_reorder_step.py +1 -1
- shaped/autogen/models/expression_filter_step.py +1 -1
- shaped/autogen/models/factors.py +1 -1
- shaped/autogen/models/factors1.py +1 -1
- shaped/autogen/models/feature.py +1 -1
- shaped/autogen/models/feature_type.py +1 -1
- shaped/autogen/models/file_table_config.py +1 -1
- shaped/autogen/models/filter_config.py +14 -14
- shaped/autogen/models/filter_dataset.py +47 -23
- shaped/autogen/models/filter_index_type.py +1 -1
- shaped/autogen/models/filter_retrieve_step.py +1 -1
- shaped/autogen/models/filter_step_explanation.py +165 -0
- shaped/autogen/models/filter_table.py +140 -0
- shaped/autogen/models/filter_type.py +134 -0
- shaped/autogen/models/global_filter.py +1 -1
- shaped/autogen/models/hidden_dropout_prob.py +1 -1
- shaped/autogen/models/hidden_size.py +1 -1
- shaped/autogen/models/hidden_size1.py +1 -1
- shaped/autogen/models/http_problem_response.py +1 -1
- shaped/autogen/models/http_validation_error.py +1 -1
- shaped/autogen/models/hugging_face_encoder.py +6 -4
- shaped/autogen/models/iceberg_table_config.py +1 -1
- shaped/autogen/models/index_config.py +1 -1
- shaped/autogen/models/inner_entity_id.py +144 -0
- shaped/autogen/models/inner_size.py +1 -1
- shaped/autogen/models/inner_size1.py +1 -1
- shaped/autogen/models/inner_uid.py +144 -0
- shaped/autogen/models/interaction_config.py +1 -1
- shaped/autogen/models/interaction_pooling_encoder.py +1 -1
- shaped/autogen/models/interaction_round_robin_encoder.py +1 -1
- shaped/autogen/models/item_attribute_pooling_encoder.py +1 -14
- shaped/autogen/models/journey.py +1 -1
- shaped/autogen/models/kafka_table_config.py +1 -1
- shaped/autogen/models/kinesis_table_config.py +1 -1
- shaped/autogen/models/kinesis_table_config_column_schema_value.py +1 -1
- shaped/autogen/models/label.py +1 -1
- shaped/autogen/models/label_type.py +1 -2
- shaped/autogen/models/laplace_smoothing.py +1 -1
- shaped/autogen/models/latency_scaling_policy.py +1 -1
- shaped/autogen/models/learning_rate.py +1 -1
- shaped/autogen/models/learning_rate1.py +1 -1
- shaped/autogen/models/learning_rate2.py +1 -1
- shaped/autogen/models/learning_rate3.py +1 -1
- shaped/autogen/models/lexical_search_mode.py +3 -3
- shaped/autogen/models/list_engines_response.py +1 -1
- shaped/autogen/models/list_tables_response.py +1 -1
- shaped/autogen/models/list_views_response.py +1 -1
- shaped/autogen/models/location_inner.py +138 -0
- shaped/autogen/models/loss_types.py +1 -1
- shaped/autogen/models/lr.py +1 -1
- shaped/autogen/models/lr1.py +1 -1
- shaped/autogen/models/lr2.py +1 -1
- shaped/autogen/models/max_depth.py +1 -1
- shaped/autogen/models/max_leaves.py +1 -1
- shaped/autogen/models/max_seq_length.py +1 -1
- shaped/autogen/models/max_seq_length1.py +1 -1
- shaped/autogen/models/max_seq_length2.py +1 -1
- shaped/autogen/models/mode.py +1 -1
- shaped/autogen/models/mode1.py +20 -18
- shaped/autogen/models/mode2.py +32 -18
- shaped/autogen/models/models_inner.py +308 -0
- shaped/autogen/models/mongo_db_table_config.py +1 -1
- shaped/autogen/models/mssql_table_config.py +1 -1
- shaped/autogen/models/my_sql_table_config.py +1 -1
- shaped/autogen/models/n_epochs.py +1 -1
- shaped/autogen/models/n_epochs1.py +1 -1
- shaped/autogen/models/n_epochs2.py +1 -1
- shaped/autogen/models/n_estimators.py +1 -1
- shaped/autogen/models/n_heads.py +1 -1
- shaped/autogen/models/n_layers.py +1 -1
- shaped/autogen/models/neg_per_positive.py +1 -1
- shaped/autogen/models/negative_samples_count.py +1 -1
- shaped/autogen/models/ngram_tokenizer.py +1 -1
- shaped/autogen/models/no_op_config.py +1 -1
- shaped/autogen/models/num_blocks.py +1 -1
- shaped/autogen/models/num_heads.py +1 -1
- shaped/autogen/models/num_leaves.py +1 -1
- shaped/autogen/models/objective.py +1 -1
- shaped/autogen/models/objective1.py +1 -1
- shaped/autogen/models/online_store_config.py +1 -1
- shaped/autogen/models/pagination_config.py +1 -1
- shaped/autogen/models/parameter_definition.py +1 -1
- shaped/autogen/models/parameters_value.py +1 -1
- shaped/autogen/models/passthrough_score.py +1 -1
- shaped/autogen/models/personal_filter.py +1 -1
- shaped/autogen/models/pipeline_stage_explanation.py +4 -4
- shaped/autogen/models/policy.py +1 -1
- shaped/autogen/models/pool_fn.py +39 -21
- shaped/autogen/models/pooling_function.py +1 -1
- shaped/autogen/models/postgres_table_config.py +1 -1
- shaped/autogen/models/posthog_table_config.py +1 -1
- shaped/autogen/models/prebuilt_filter_step.py +1 -1
- shaped/autogen/models/precomputed_item_embedding.py +1 -1
- shaped/autogen/models/precomputed_user_embedding.py +1 -1
- shaped/autogen/models/query.py +15 -15
- shaped/autogen/models/query1.py +15 -15
- shaped/autogen/models/query_any_of.py +58 -26
- shaped/autogen/models/query_config.py +140 -0
- shaped/autogen/models/query_definition.py +1 -1
- shaped/autogen/models/query_encoder.py +1 -1
- shaped/autogen/models/query_explanation.py +7 -3
- shaped/autogen/models/query_request.py +1 -1
- shaped/autogen/models/query_result.py +1 -1
- shaped/autogen/models/query_table_config.py +1 -1
- shaped/autogen/models/rank_item_attribute_values_query_config.py +1 -1
- shaped/autogen/models/rank_query_config.py +7 -7
- shaped/autogen/models/rank_query_config_filter_inner.py +1 -1
- shaped/autogen/models/rank_query_config_reorder_inner.py +62 -25
- shaped/autogen/models/rank_query_config_retrieve_inner.py +100 -31
- shaped/autogen/models/recreate_rollout.py +1 -1
- shaped/autogen/models/redshift_table_config.py +1 -1
- shaped/autogen/models/reference_table_config.py +1 -1
- shaped/autogen/models/regularization.py +1 -1
- shaped/autogen/models/reorder_inner.py +149 -0
- shaped/autogen/models/reorder_step_explanation.py +207 -0
- shaped/autogen/models/request.py +1 -1
- shaped/autogen/models/request1.py +1 -1
- shaped/autogen/models/requests_per_second_scaling_policy.py +1 -1
- shaped/autogen/models/resource_config.py +100 -0
- shaped/autogen/models/response_get_view_details_views_view_name_get.py +1 -1
- shaped/autogen/models/result.py +1 -14
- shaped/autogen/models/result_embeddings_value.py +1 -1
- shaped/autogen/models/retrieval_scores_value.py +127 -0
- shaped/autogen/models/retrieve_inner.py +196 -0
- shaped/autogen/models/retrieve_step_explanation.py +172 -0
- shaped/autogen/models/retriever.py +1 -1
- shaped/autogen/models/retriever1.py +1 -1
- shaped/autogen/models/rollout_config.py +1 -1
- shaped/autogen/models/rudderstack_table_config.py +1 -1
- shaped/autogen/models/sampling_strategy.py +1 -1
- shaped/autogen/models/saved_query_info_response.py +18 -4
- shaped/autogen/models/saved_query_list_response.py +1 -1
- shaped/autogen/models/saved_query_request.py +1 -1
- shaped/autogen/models/schema_config.py +1 -1
- shaped/autogen/models/score.py +1 -1
- shaped/autogen/models/score_ensemble.py +1 -14
- shaped/autogen/models/score_ensemble_policy_config.py +49 -25
- shaped/autogen/models/score_ensemble_policy_config_policies_inner.py +456 -123
- shaped/autogen/models/score_step_explanation.py +224 -0
- shaped/autogen/models/search_config.py +1 -1
- shaped/autogen/models/segment_table_config.py +1 -1
- shaped/autogen/models/sequence_length.py +1 -1
- shaped/autogen/models/server_config.py +14 -1
- shaped/autogen/models/setup_engine_response.py +1 -1
- shaped/autogen/models/shaped_internal_recsys_policies_als_model_policy_als_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_beeformer_model_policy_beeformer_model_policy_beeformer_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_bert_model_policy_bert_model_policy_bert_model_policy_config.py +10 -4
- shaped/autogen/models/shaped_internal_recsys_policies_chronological_model_policy_chronological_model_policy_config.py +46 -27
- shaped/autogen/models/shaped_internal_recsys_policies_elsa_model_policy_elsa_model_policy_elsa_model_policy_config.py +6 -4
- shaped/autogen/models/shaped_internal_recsys_policies_gsasrec_model_policy_gsasrec_model_policy_gsas_rec_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_item2vec_model_policy_item2_vec_model_policy_config.py +1 -1
- shaped/autogen/models/shaped_internal_recsys_policies_item_content_similarity_model_policy_item_content_similarity_model_policy_config.py +77 -34
- shaped/autogen/models/shaped_internal_recsys_policies_lightgbm_model_policy_lightgbm_model_policy_light_gbm_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_ngram_model_policy_ngram_model_policy_config.py +1 -1
- shaped/autogen/models/shaped_internal_recsys_policies_popular_model_policy_popular_model_policy_config.py +52 -28
- shaped/autogen/models/shaped_internal_recsys_policies_random_model_policy_random_model_policy_config.py +21 -17
- shaped/autogen/models/shaped_internal_recsys_policies_recently_popular_policy_recently_popular_policy_config.py +36 -23
- shaped/autogen/models/shaped_internal_recsys_policies_rising_popular_policy_rising_popular_policy_config.py +1 -1
- shaped/autogen/models/shaped_internal_recsys_policies_sasrec_model_policy_sasrec_model_policy_sas_rec_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_svd_model_policy_svd_model_policy_config.py +1 -1
- shaped/autogen/models/shaped_internal_recsys_policies_two_tower_model_policy_two_tower_model_policy_two_tower_model_policy_config.py +9 -3
- shaped/autogen/models/shaped_internal_recsys_policies_user_item_content_similarity_model_policy_user_item_content_similarity_model_policy_config.py +53 -31
- shaped/autogen/models/shaped_internal_recsys_policies_widedeep_model_policy_wide_deep_model_policy_config.py +10 -4
- shaped/autogen/models/shaped_internal_recsys_policies_xgboost_model_policy_xg_boost_model_policy_config.py +12 -6
- shaped/autogen/models/shopify_table_config.py +1 -1
- shaped/autogen/models/similarity_retrieve_step.py +6 -4
- shaped/autogen/models/snowflake_table_config.py +1 -1
- shaped/autogen/models/sql_transform_type.py +1 -1
- shaped/autogen/models/sql_view_config.py +1 -1
- shaped/autogen/models/stemmer_tokenizer.py +1 -1
- shaped/autogen/models/step_explanation.py +1 -1
- shaped/autogen/models/steps_inner.py +179 -0
- shaped/autogen/models/strategy.py +1 -1
- shaped/autogen/models/table.py +1 -1
- shaped/autogen/models/table_deployment_type.py +1 -1
- shaped/autogen/models/table_insert_arguments.py +3 -3
- shaped/autogen/models/table_insert_response.py +1 -1
- shaped/autogen/models/text_encoding.py +29 -17
- shaped/autogen/models/text_search_retrieve_step.py +1 -1
- shaped/autogen/models/time_frequency.py +1 -1
- shaped/autogen/models/time_window.py +1 -1
- shaped/autogen/models/time_window_in_days.py +29 -17
- shaped/autogen/models/tokenizer.py +1 -1
- shaped/autogen/models/trained_model_encoder.py +1 -1
- shaped/autogen/models/training_compute_config.py +4 -4
- shaped/autogen/models/training_config.py +4 -4
- shaped/autogen/models/training_config_models_inner.py +325 -93
- shaped/autogen/models/training_strategy.py +1 -1
- shaped/autogen/models/transform_status.py +41 -0
- shaped/autogen/models/trending_mode.py +4 -4
- shaped/autogen/models/truncate_filter_step.py +1 -1
- shaped/autogen/models/tunable_bool.py +1 -1
- shaped/autogen/models/tunable_float.py +1 -1
- shaped/autogen/models/tunable_int.py +1 -1
- shaped/autogen/models/tunable_int_categorical.py +1 -1
- shaped/autogen/models/tunable_string.py +1 -1
- shaped/autogen/models/tuning_config.py +1 -1
- shaped/autogen/models/type.py +36 -20
- shaped/autogen/models/update_table_response.py +1 -1
- shaped/autogen/models/update_view_response.py +1 -1
- shaped/autogen/models/user_attribute_pooling_encoder.py +1 -1
- shaped/autogen/models/user_inner.py +134 -0
- shaped/autogen/models/val_split.py +1 -1
- shaped/autogen/models/validation_error.py +4 -4
- shaped/autogen/models/validation_error_loc_inner.py +28 -16
- shaped/autogen/models/value_type.py +1 -1
- shaped/autogen/models/vector_search_mode.py +6 -4
- shaped/autogen/models/view.py +4 -4
- shaped/autogen/models/view_details_ai.py +6 -6
- shaped/autogen/models/view_details_ai_schema_value.py +1 -1
- shaped/autogen/models/view_details_sql.py +6 -6
- shaped/autogen/models/view_status.py +8 -8
- shaped/autogen/models/weight_decay.py +1 -1
- shaped/autogen/models/whitespace_tokenizer.py +1 -1
- shaped/autogen/models/window_size.py +1 -1
- shaped/autogen/rest.py +9 -9
- shaped/cli/shaped_cli.py +152 -29
- shaped/client.py +50 -43
- shaped/config_builders.py +110 -100
- shaped/query_builder.py +56 -49
- {shaped-2.0.2.dist-info → shaped-2.0.4.dist-info}/METADATA +2 -2
- shaped-2.0.4.dist-info/RECORD +296 -0
- {shaped-2.0.2.dist-info → shaped-2.0.4.dist-info}/WHEEL +1 -1
- shaped-2.0.2.dist-info/RECORD +0 -278
- {shaped-2.0.2.dist-info → shaped-2.0.4.dist-info}/entry_points.txt +0 -0
- {shaped-2.0.2.dist-info → shaped-2.0.4.dist-info}/top_level.txt +0 -0
- {shaped-2.0.2.dist-info → shaped-2.0.4.dist-info}/zip-safe +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 2.0.
|
|
9
|
+
The version of the OpenAPI document: 2.0.4
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
@@ -17,7 +17,6 @@ from shaped.autogen.models.ai_enrichment_view_config import AIEnrichmentViewConf
|
|
|
17
17
|
from shaped.autogen.models.aws_pinpoint_table_config import AWSPinpointTableConfig
|
|
18
18
|
from shaped.autogen.models.algorithm import Algorithm
|
|
19
19
|
from shaped.autogen.models.amplitude_table_config import AmplitudeTableConfig
|
|
20
|
-
from shaped.autogen.models.ascending import Ascending
|
|
21
20
|
from shaped.autogen.models.attn_dropout_prob import AttnDropoutProb
|
|
22
21
|
from shaped.autogen.models.attribute_journey import AttributeJourney
|
|
23
22
|
from shaped.autogen.models.attribute_value import AttributeValue
|
|
@@ -49,7 +48,6 @@ from shaped.autogen.models.delete_engine_response import DeleteEngineResponse
|
|
|
49
48
|
from shaped.autogen.models.delete_table_response import DeleteTableResponse
|
|
50
49
|
from shaped.autogen.models.delete_view_response import DeleteViewResponse
|
|
51
50
|
from shaped.autogen.models.deployment_config import DeploymentConfig
|
|
52
|
-
from shaped.autogen.models.distance_function import DistanceFunction
|
|
53
51
|
from shaped.autogen.models.diversity_reorder_step import DiversityReorderStep
|
|
54
52
|
from shaped.autogen.models.dropout_rate import DropoutRate
|
|
55
53
|
from shaped.autogen.models.dynamo_db_table_config import DynamoDBTableConfig
|
|
@@ -60,12 +58,10 @@ from shaped.autogen.models.embedding_dim import EmbeddingDim
|
|
|
60
58
|
from shaped.autogen.models.embedding_dims import EmbeddingDims
|
|
61
59
|
from shaped.autogen.models.embedding_size import EmbeddingSize
|
|
62
60
|
from shaped.autogen.models.encoder import Encoder
|
|
63
|
-
from shaped.autogen.models.encoding_pooling_strategy import EncodingPoolingStrategy
|
|
64
61
|
from shaped.autogen.models.engine import Engine
|
|
65
62
|
from shaped.autogen.models.engine_config_v2 import EngineConfigV2
|
|
66
63
|
from shaped.autogen.models.engine_details_response import EngineDetailsResponse
|
|
67
64
|
from shaped.autogen.models.engine_schema import EngineSchema
|
|
68
|
-
from shaped.autogen.models.engine_schema_user_inner import EngineSchemaUserInner
|
|
69
65
|
from shaped.autogen.models.entity_config import EntityConfig
|
|
70
66
|
from shaped.autogen.models.entity_journey import EntityJourney
|
|
71
67
|
from shaped.autogen.models.entity_type import EntityType
|
|
@@ -78,9 +74,11 @@ from shaped.autogen.models.feature import Feature
|
|
|
78
74
|
from shaped.autogen.models.feature_type import FeatureType
|
|
79
75
|
from shaped.autogen.models.file_table_config import FileTableConfig
|
|
80
76
|
from shaped.autogen.models.filter_config import FilterConfig
|
|
81
|
-
from shaped.autogen.models.filter_dataset import FilterDataset
|
|
82
77
|
from shaped.autogen.models.filter_index_type import FilterIndexType
|
|
83
78
|
from shaped.autogen.models.filter_retrieve_step import FilterRetrieveStep
|
|
79
|
+
from shaped.autogen.models.filter_step_explanation import FilterStepExplanation
|
|
80
|
+
from shaped.autogen.models.filter_table import FilterTable
|
|
81
|
+
from shaped.autogen.models.filter_type import FilterType
|
|
84
82
|
from shaped.autogen.models.global_filter import GlobalFilter
|
|
85
83
|
from shaped.autogen.models.http_validation_error import HTTPValidationError
|
|
86
84
|
from shaped.autogen.models.hidden_dropout_prob import HiddenDropoutProb
|
|
@@ -90,8 +88,10 @@ from shaped.autogen.models.http_problem_response import HttpProblemResponse
|
|
|
90
88
|
from shaped.autogen.models.hugging_face_encoder import HuggingFaceEncoder
|
|
91
89
|
from shaped.autogen.models.iceberg_table_config import IcebergTableConfig
|
|
92
90
|
from shaped.autogen.models.index_config import IndexConfig
|
|
91
|
+
from shaped.autogen.models.inner_entity_id import InnerEntityId
|
|
93
92
|
from shaped.autogen.models.inner_size import InnerSize
|
|
94
93
|
from shaped.autogen.models.inner_size1 import InnerSize1
|
|
94
|
+
from shaped.autogen.models.inner_uid import InnerUid
|
|
95
95
|
from shaped.autogen.models.interaction_config import InteractionConfig
|
|
96
96
|
from shaped.autogen.models.interaction_pooling_encoder import InteractionPoolingEncoder
|
|
97
97
|
from shaped.autogen.models.interaction_round_robin_encoder import InteractionRoundRobinEncoder
|
|
@@ -112,6 +112,7 @@ from shaped.autogen.models.lexical_search_mode import LexicalSearchMode
|
|
|
112
112
|
from shaped.autogen.models.list_engines_response import ListEnginesResponse
|
|
113
113
|
from shaped.autogen.models.list_tables_response import ListTablesResponse
|
|
114
114
|
from shaped.autogen.models.list_views_response import ListViewsResponse
|
|
115
|
+
from shaped.autogen.models.location_inner import LocationInner
|
|
115
116
|
from shaped.autogen.models.loss_types import LossTypes
|
|
116
117
|
from shaped.autogen.models.lr import Lr
|
|
117
118
|
from shaped.autogen.models.lr1 import Lr1
|
|
@@ -124,7 +125,7 @@ from shaped.autogen.models.max_seq_length1 import MaxSeqLength1
|
|
|
124
125
|
from shaped.autogen.models.max_seq_length2 import MaxSeqLength2
|
|
125
126
|
from shaped.autogen.models.mode import Mode
|
|
126
127
|
from shaped.autogen.models.mode1 import Mode1
|
|
127
|
-
from shaped.autogen.models.
|
|
128
|
+
from shaped.autogen.models.models_inner import ModelsInner
|
|
128
129
|
from shaped.autogen.models.mongo_db_table_config import MongoDBTableConfig
|
|
129
130
|
from shaped.autogen.models.my_sql_table_config import MySQLTableConfig
|
|
130
131
|
from shaped.autogen.models.n_epochs import NEpochs
|
|
@@ -150,7 +151,6 @@ from shaped.autogen.models.passthrough_score import PassthroughScore
|
|
|
150
151
|
from shaped.autogen.models.personal_filter import PersonalFilter
|
|
151
152
|
from shaped.autogen.models.pipeline_stage_explanation import PipelineStageExplanation
|
|
152
153
|
from shaped.autogen.models.policy import Policy
|
|
153
|
-
from shaped.autogen.models.pool_fn import PoolFn
|
|
154
154
|
from shaped.autogen.models.pooling_function import PoolingFunction
|
|
155
155
|
from shaped.autogen.models.postgres_table_config import PostgresTableConfig
|
|
156
156
|
from shaped.autogen.models.posthog_table_config import PosthogTableConfig
|
|
@@ -159,7 +159,7 @@ from shaped.autogen.models.precomputed_item_embedding import PrecomputedItemEmbe
|
|
|
159
159
|
from shaped.autogen.models.precomputed_user_embedding import PrecomputedUserEmbedding
|
|
160
160
|
from shaped.autogen.models.query import Query
|
|
161
161
|
from shaped.autogen.models.query1 import Query1
|
|
162
|
-
from shaped.autogen.models.
|
|
162
|
+
from shaped.autogen.models.query_config import QueryConfig
|
|
163
163
|
from shaped.autogen.models.query_definition import QueryDefinition
|
|
164
164
|
from shaped.autogen.models.query_encoder import QueryEncoder
|
|
165
165
|
from shaped.autogen.models.query_explanation import QueryExplanation
|
|
@@ -169,18 +169,22 @@ from shaped.autogen.models.query_table_config import QueryTableConfig
|
|
|
169
169
|
from shaped.autogen.models.rank_item_attribute_values_query_config import RankItemAttributeValuesQueryConfig
|
|
170
170
|
from shaped.autogen.models.rank_query_config import RankQueryConfig
|
|
171
171
|
from shaped.autogen.models.rank_query_config_filter_inner import RankQueryConfigFilterInner
|
|
172
|
-
from shaped.autogen.models.rank_query_config_reorder_inner import RankQueryConfigReorderInner
|
|
173
|
-
from shaped.autogen.models.rank_query_config_retrieve_inner import RankQueryConfigRetrieveInner
|
|
174
172
|
from shaped.autogen.models.recreate_rollout import RecreateRollout
|
|
175
173
|
from shaped.autogen.models.redshift_table_config import RedshiftTableConfig
|
|
176
174
|
from shaped.autogen.models.reference_table_config import ReferenceTableConfig
|
|
177
175
|
from shaped.autogen.models.regularization import Regularization
|
|
176
|
+
from shaped.autogen.models.reorder_inner import ReorderInner
|
|
177
|
+
from shaped.autogen.models.reorder_step_explanation import ReorderStepExplanation
|
|
178
178
|
from shaped.autogen.models.request import Request
|
|
179
179
|
from shaped.autogen.models.request1 import Request1
|
|
180
180
|
from shaped.autogen.models.requests_per_second_scaling_policy import RequestsPerSecondScalingPolicy
|
|
181
|
+
from shaped.autogen.models.resource_config import ResourceConfig
|
|
181
182
|
from shaped.autogen.models.response_get_view_details_views_view_name_get import ResponseGetViewDetailsViewsViewNameGet
|
|
182
183
|
from shaped.autogen.models.result import Result
|
|
183
184
|
from shaped.autogen.models.result_embeddings_value import ResultEmbeddingsValue
|
|
185
|
+
from shaped.autogen.models.retrieval_scores_value import RetrievalScoresValue
|
|
186
|
+
from shaped.autogen.models.retrieve_inner import RetrieveInner
|
|
187
|
+
from shaped.autogen.models.retrieve_step_explanation import RetrieveStepExplanation
|
|
184
188
|
from shaped.autogen.models.retriever import Retriever
|
|
185
189
|
from shaped.autogen.models.retriever1 import Retriever1
|
|
186
190
|
from shaped.autogen.models.rollout_config import RolloutConfig
|
|
@@ -194,8 +198,7 @@ from shaped.autogen.models.saved_query_request import SavedQueryRequest
|
|
|
194
198
|
from shaped.autogen.models.schema_config import SchemaConfig
|
|
195
199
|
from shaped.autogen.models.score import Score
|
|
196
200
|
from shaped.autogen.models.score_ensemble import ScoreEnsemble
|
|
197
|
-
from shaped.autogen.models.
|
|
198
|
-
from shaped.autogen.models.score_ensemble_policy_config_policies_inner import ScoreEnsemblePolicyConfigPoliciesInner
|
|
201
|
+
from shaped.autogen.models.score_step_explanation import ScoreStepExplanation
|
|
199
202
|
from shaped.autogen.models.search_config import SearchConfig
|
|
200
203
|
from shaped.autogen.models.segment_table_config import SegmentTableConfig
|
|
201
204
|
from shaped.autogen.models.sequence_length import SequenceLength
|
|
@@ -204,21 +207,15 @@ from shaped.autogen.models.setup_engine_response import SetupEngineResponse
|
|
|
204
207
|
from shaped.autogen.models.shaped_internal_recsys_policies_als_model_policy_als_model_policy_config import ShapedInternalRecsysPoliciesAlsModelPolicyALSModelPolicyConfig
|
|
205
208
|
from shaped.autogen.models.shaped_internal_recsys_policies_beeformer_model_policy_beeformer_model_policy_beeformer_model_policy_config import ShapedInternalRecsysPoliciesBeeformerModelPolicyBeeformerModelPolicyBeeformerModelPolicyConfig
|
|
206
209
|
from shaped.autogen.models.shaped_internal_recsys_policies_bert_model_policy_bert_model_policy_bert_model_policy_config import ShapedInternalRecsysPoliciesBertModelPolicyBertModelPolicyBERTModelPolicyConfig
|
|
207
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_chronological_model_policy_chronological_model_policy_config import ShapedInternalRecsysPoliciesChronologicalModelPolicyChronologicalModelPolicyConfig
|
|
208
210
|
from shaped.autogen.models.shaped_internal_recsys_policies_elsa_model_policy_elsa_model_policy_elsa_model_policy_config import ShapedInternalRecsysPoliciesElsaModelPolicyElsaModelPolicyELSAModelPolicyConfig
|
|
209
211
|
from shaped.autogen.models.shaped_internal_recsys_policies_gsasrec_model_policy_gsasrec_model_policy_gsas_rec_model_policy_config import ShapedInternalRecsysPoliciesGsasrecModelPolicyGsasrecModelPolicyGSASRecModelPolicyConfig
|
|
210
212
|
from shaped.autogen.models.shaped_internal_recsys_policies_item2vec_model_policy_item2_vec_model_policy_config import ShapedInternalRecsysPoliciesItem2vecModelPolicyItem2VecModelPolicyConfig
|
|
211
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_item_content_similarity_model_policy_item_content_similarity_model_policy_config import ShapedInternalRecsysPoliciesItemContentSimilarityModelPolicyItemContentSimilarityModelPolicyConfig
|
|
212
213
|
from shaped.autogen.models.shaped_internal_recsys_policies_lightgbm_model_policy_lightgbm_model_policy_light_gbm_model_policy_config import ShapedInternalRecsysPoliciesLightgbmModelPolicyLightgbmModelPolicyLightGBMModelPolicyConfig
|
|
213
214
|
from shaped.autogen.models.shaped_internal_recsys_policies_ngram_model_policy_ngram_model_policy_config import ShapedInternalRecsysPoliciesNgramModelPolicyNgramModelPolicyConfig
|
|
214
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_popular_model_policy_popular_model_policy_config import ShapedInternalRecsysPoliciesPopularModelPolicyPopularModelPolicyConfig
|
|
215
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_random_model_policy_random_model_policy_config import ShapedInternalRecsysPoliciesRandomModelPolicyRandomModelPolicyConfig
|
|
216
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_recently_popular_policy_recently_popular_policy_config import ShapedInternalRecsysPoliciesRecentlyPopularPolicyRecentlyPopularPolicyConfig
|
|
217
215
|
from shaped.autogen.models.shaped_internal_recsys_policies_rising_popular_policy_rising_popular_policy_config import ShapedInternalRecsysPoliciesRisingPopularPolicyRisingPopularPolicyConfig
|
|
218
216
|
from shaped.autogen.models.shaped_internal_recsys_policies_sasrec_model_policy_sasrec_model_policy_sas_rec_model_policy_config import ShapedInternalRecsysPoliciesSasrecModelPolicySasrecModelPolicySASRecModelPolicyConfig
|
|
219
217
|
from shaped.autogen.models.shaped_internal_recsys_policies_svd_model_policy_svd_model_policy_config import ShapedInternalRecsysPoliciesSvdModelPolicySVDModelPolicyConfig
|
|
220
218
|
from shaped.autogen.models.shaped_internal_recsys_policies_two_tower_model_policy_two_tower_model_policy_two_tower_model_policy_config import ShapedInternalRecsysPoliciesTwoTowerModelPolicyTwoTowerModelPolicyTwoTowerModelPolicyConfig
|
|
221
|
-
from shaped.autogen.models.shaped_internal_recsys_policies_user_item_content_similarity_model_policy_user_item_content_similarity_model_policy_config import ShapedInternalRecsysPoliciesUserItemContentSimilarityModelPolicyUserItemContentSimilarityModelPolicyConfig
|
|
222
219
|
from shaped.autogen.models.shaped_internal_recsys_policies_widedeep_model_policy_wide_deep_model_policy_config import ShapedInternalRecsysPoliciesWidedeepModelPolicyWideDeepModelPolicyConfig
|
|
223
220
|
from shaped.autogen.models.shaped_internal_recsys_policies_xgboost_model_policy_xg_boost_model_policy_config import ShapedInternalRecsysPoliciesXgboostModelPolicyXGBoostModelPolicyConfig
|
|
224
221
|
from shaped.autogen.models.shopify_table_config import ShopifyTableConfig
|
|
@@ -226,23 +223,21 @@ from shaped.autogen.models.similarity_retrieve_step import SimilarityRetrieveSte
|
|
|
226
223
|
from shaped.autogen.models.snowflake_table_config import SnowflakeTableConfig
|
|
227
224
|
from shaped.autogen.models.stemmer_tokenizer import StemmerTokenizer
|
|
228
225
|
from shaped.autogen.models.step_explanation import StepExplanation
|
|
226
|
+
from shaped.autogen.models.steps_inner import StepsInner
|
|
229
227
|
from shaped.autogen.models.strategy import Strategy
|
|
230
228
|
from shaped.autogen.models.table import Table
|
|
231
229
|
from shaped.autogen.models.table_deployment_type import TableDeploymentType
|
|
232
230
|
from shaped.autogen.models.table_insert_arguments import TableInsertArguments
|
|
233
231
|
from shaped.autogen.models.table_insert_response import TableInsertResponse
|
|
234
|
-
from shaped.autogen.models.text_encoding import TextEncoding
|
|
235
232
|
from shaped.autogen.models.text_search_retrieve_step import TextSearchRetrieveStep
|
|
236
233
|
from shaped.autogen.models.time_frequency import TimeFrequency
|
|
237
234
|
from shaped.autogen.models.time_window import TimeWindow
|
|
238
|
-
from shaped.autogen.models.time_window_in_days import TimeWindowInDays
|
|
239
235
|
from shaped.autogen.models.tokenizer import Tokenizer
|
|
240
236
|
from shaped.autogen.models.trained_model_encoder import TrainedModelEncoder
|
|
241
237
|
from shaped.autogen.models.training_compute_config import TrainingComputeConfig
|
|
242
238
|
from shaped.autogen.models.training_config import TrainingConfig
|
|
243
|
-
from shaped.autogen.models.training_config_models_inner import TrainingConfigModelsInner
|
|
244
239
|
from shaped.autogen.models.training_strategy import TrainingStrategy
|
|
245
|
-
from shaped.autogen.models.
|
|
240
|
+
from shaped.autogen.models.transform_status import TransformStatus
|
|
246
241
|
from shaped.autogen.models.truncate_filter_step import TruncateFilterStep
|
|
247
242
|
from shaped.autogen.models.tunable_bool import TunableBool
|
|
248
243
|
from shaped.autogen.models.tunable_float import TunableFloat
|
|
@@ -250,20 +245,18 @@ from shaped.autogen.models.tunable_int import TunableInt
|
|
|
250
245
|
from shaped.autogen.models.tunable_int_categorical import TunableIntCategorical
|
|
251
246
|
from shaped.autogen.models.tunable_string import TunableString
|
|
252
247
|
from shaped.autogen.models.tuning_config import TuningConfig
|
|
253
|
-
from shaped.autogen.models.type import Type
|
|
254
248
|
from shaped.autogen.models.update_table_response import UpdateTableResponse
|
|
255
249
|
from shaped.autogen.models.update_view_response import UpdateViewResponse
|
|
256
250
|
from shaped.autogen.models.user_attribute_pooling_encoder import UserAttributePoolingEncoder
|
|
251
|
+
from shaped.autogen.models.user_inner import UserInner
|
|
257
252
|
from shaped.autogen.models.val_split import ValSplit
|
|
258
253
|
from shaped.autogen.models.validation_error import ValidationError
|
|
259
|
-
from shaped.autogen.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
260
254
|
from shaped.autogen.models.value_type import ValueType
|
|
261
255
|
from shaped.autogen.models.vector_search_mode import VectorSearchMode
|
|
262
256
|
from shaped.autogen.models.view import View
|
|
263
257
|
from shaped.autogen.models.view_details_ai import ViewDetailsAI
|
|
264
258
|
from shaped.autogen.models.view_details_ai_schema_value import ViewDetailsAISchemaValue
|
|
265
259
|
from shaped.autogen.models.view_details_sql import ViewDetailsSQL
|
|
266
|
-
from shaped.autogen.models.view_status import ViewStatus
|
|
267
260
|
from shaped.autogen.models.weight_decay import WeightDecay
|
|
268
261
|
from shaped.autogen.models.whitespace_tokenizer import WhitespaceTokenizer
|
|
269
262
|
from shaped.autogen.models.window_size import WindowSize
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
19
|
import re # noqa: F401
|
|
20
|
-
from
|
|
21
|
-
|
|
20
|
+
from typing import TYPE_CHECKING, Any, Dict, Optional, Set, Union
|
|
21
|
+
|
|
22
|
+
from pydantic import BaseModel, StrictBool, ValidationError, field_validator
|
|
22
23
|
from shaped.autogen.models.tunable_bool import TunableBool
|
|
23
|
-
from
|
|
24
|
-
from typing_extensions import Literal, Self
|
|
25
|
-
from pydantic import Field
|
|
24
|
+
from typing_extensions import Self
|
|
26
25
|
|
|
27
26
|
ASCENDING_ANY_OF_SCHEMAS = ["TunableBool", "bool"]
|
|
28
27
|
|
|
28
|
+
|
|
29
29
|
class Ascending(BaseModel):
|
|
30
30
|
"""
|
|
31
31
|
Ascending
|
|
@@ -39,7 +39,7 @@ class Ascending(BaseModel):
|
|
|
39
39
|
actual_instance: Optional[Union[TunableBool, bool]] = None
|
|
40
40
|
else:
|
|
41
41
|
actual_instance: Any = None
|
|
42
|
-
any_of_schemas: Set[str] = {
|
|
42
|
+
any_of_schemas: Set[str] = {"TunableBool", "bool"}
|
|
43
43
|
|
|
44
44
|
model_config = {
|
|
45
45
|
"validate_assignment": True,
|
|
@@ -49,14 +49,18 @@ class Ascending(BaseModel):
|
|
|
49
49
|
def __init__(self, *args, **kwargs) -> None:
|
|
50
50
|
if args:
|
|
51
51
|
if len(args) > 1:
|
|
52
|
-
raise ValueError(
|
|
52
|
+
raise ValueError(
|
|
53
|
+
"If a position argument is used, only 1 is allowed to set `actual_instance`"
|
|
54
|
+
)
|
|
53
55
|
if kwargs:
|
|
54
|
-
raise ValueError(
|
|
56
|
+
raise ValueError(
|
|
57
|
+
"If a position argument is used, keyword arguments cannot be used."
|
|
58
|
+
)
|
|
55
59
|
super().__init__(actual_instance=args[0])
|
|
56
60
|
else:
|
|
57
61
|
super().__init__(**kwargs)
|
|
58
62
|
|
|
59
|
-
@field_validator(
|
|
63
|
+
@field_validator("actual_instance")
|
|
60
64
|
def actual_instance_must_validate_anyof(cls, v):
|
|
61
65
|
instance = Ascending.model_construct()
|
|
62
66
|
error_messages = []
|
|
@@ -74,7 +78,10 @@ class Ascending(BaseModel):
|
|
|
74
78
|
|
|
75
79
|
if error_messages:
|
|
76
80
|
# no match
|
|
77
|
-
raise ValueError(
|
|
81
|
+
raise ValueError(
|
|
82
|
+
"No match found when setting the actual_instance in Ascending with anyOf schemas: TunableBool, bool. Details: "
|
|
83
|
+
+ ", ".join(error_messages)
|
|
84
|
+
)
|
|
78
85
|
else:
|
|
79
86
|
return v
|
|
80
87
|
|
|
@@ -101,11 +108,14 @@ class Ascending(BaseModel):
|
|
|
101
108
|
instance.actual_instance = TunableBool.from_json(json_str)
|
|
102
109
|
return instance
|
|
103
110
|
except (ValidationError, ValueError) as e:
|
|
104
|
-
|
|
111
|
+
error_messages.append(str(e))
|
|
105
112
|
|
|
106
113
|
if error_messages:
|
|
107
114
|
# no match
|
|
108
|
-
raise ValueError(
|
|
115
|
+
raise ValueError(
|
|
116
|
+
"No match found when deserializing the JSON string into Ascending with anyOf schemas: TunableBool, bool. Details: "
|
|
117
|
+
+ ", ".join(error_messages)
|
|
118
|
+
)
|
|
109
119
|
else:
|
|
110
120
|
return instance
|
|
111
121
|
|
|
@@ -114,7 +124,9 @@ class Ascending(BaseModel):
|
|
|
114
124
|
if self.actual_instance is None:
|
|
115
125
|
return "null"
|
|
116
126
|
|
|
117
|
-
if hasattr(self.actual_instance, "to_json") and callable(
|
|
127
|
+
if hasattr(self.actual_instance, "to_json") and callable(
|
|
128
|
+
self.actual_instance.to_json
|
|
129
|
+
):
|
|
118
130
|
return self.actual_instance.to_json()
|
|
119
131
|
else:
|
|
120
132
|
return json.dumps(self.actual_instance)
|
|
@@ -124,7 +136,9 @@ class Ascending(BaseModel):
|
|
|
124
136
|
if self.actual_instance is None:
|
|
125
137
|
return None
|
|
126
138
|
|
|
127
|
-
if hasattr(self.actual_instance, "to_dict") and callable(
|
|
139
|
+
if hasattr(self.actual_instance, "to_dict") and callable(
|
|
140
|
+
self.actual_instance.to_dict
|
|
141
|
+
):
|
|
128
142
|
return self.actual_instance.to_dict()
|
|
129
143
|
else:
|
|
130
144
|
return self.actual_instance
|
|
@@ -132,5 +146,3 @@ class Ascending(BaseModel):
|
|
|
132
146
|
def to_str(self) -> str:
|
|
133
147
|
"""Returns the string representation of the actual instance"""
|
|
134
148
|
return pprint.pformat(self.model_dump())
|
|
135
|
-
|
|
136
|
-
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
shaped/autogen/models/bm25.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -30,7 +30,6 @@ class CandidateAttributesRetrieveStep(BaseModel):
|
|
|
30
30
|
limit: Optional[StrictInt] = None
|
|
31
31
|
name: Optional[StrictStr] = None
|
|
32
32
|
type: Optional[StrictStr] = Field(default='candidate_attributes', description="Retrieve step type discriminator.")
|
|
33
|
-
additional_properties: Dict[str, Any] = {}
|
|
34
33
|
__properties: ClassVar[List[str]] = ["item_attributes", "limit", "name", "type"]
|
|
35
34
|
|
|
36
35
|
@field_validator('type')
|
|
@@ -73,10 +72,8 @@ class CandidateAttributesRetrieveStep(BaseModel):
|
|
|
73
72
|
* `None` is only added to the output dict for nullable fields that
|
|
74
73
|
were set at model initialization. Other fields with value `None`
|
|
75
74
|
are ignored.
|
|
76
|
-
* Fields in `self.additional_properties` are added to the output dict.
|
|
77
75
|
"""
|
|
78
76
|
excluded_fields: Set[str] = set([
|
|
79
|
-
"additional_properties",
|
|
80
77
|
])
|
|
81
78
|
|
|
82
79
|
_dict = self.model_dump(
|
|
@@ -84,11 +81,6 @@ class CandidateAttributesRetrieveStep(BaseModel):
|
|
|
84
81
|
exclude=excluded_fields,
|
|
85
82
|
exclude_none=True,
|
|
86
83
|
)
|
|
87
|
-
# puts key-value pairs in additional_properties in the top level
|
|
88
|
-
if self.additional_properties is not None:
|
|
89
|
-
for _key, _value in self.additional_properties.items():
|
|
90
|
-
_dict[_key] = _value
|
|
91
|
-
|
|
92
84
|
# set to None if limit (nullable) is None
|
|
93
85
|
# and model_fields_set contains the field
|
|
94
86
|
if self.limit is None and "limit" in self.model_fields_set:
|
|
@@ -116,11 +108,6 @@ class CandidateAttributesRetrieveStep(BaseModel):
|
|
|
116
108
|
"name": obj.get("name"),
|
|
117
109
|
"type": obj.get("type") if obj.get("type") is not None else 'candidate_attributes'
|
|
118
110
|
})
|
|
119
|
-
# store additional fields in additional_properties
|
|
120
|
-
for _key in obj.keys():
|
|
121
|
-
if _key not in cls.__properties:
|
|
122
|
-
_obj.additional_properties[_key] = obj.get(_key)
|
|
123
|
-
|
|
124
111
|
return _obj
|
|
125
112
|
|
|
126
113
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to Shaped's API reference docs. These provide a detailed view of the endpoints and CLI commands that Shaped provides and brief explanations of how they should be used. The Shaped API has four main endpoints: **Tables** - Provision and manage batch and real-time data connectors. **Views** - Configure SQL transformations and AI enrichment on your input data. Use SQL to combine multiple data sources or use an LLM to add new categories, extract specific attributes from descriptions, etc. **Engines** - Deploy and manage your relevance engines. The Engine API exposes configuration for indexing logic, input datasets, externam embeddings, and more. **Query** - Execute queries against your engines, to return data based on an input query or rerank an existing list. The Query API exposes the retrieve, filter, score, and ranking steps of the 4-stage ranking architecture. The base URL for each endpoint is: `https://api.shaped.ai/v2`
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|