shaped 2.0.2__py3-none-any.whl → 2.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- shaped/__init__.py +47 -42
- shaped/autogen/__init__.py +41 -56
- shaped/autogen/api/engine_api.py +5 -6
- shaped/autogen/api/query_api.py +12 -73
- shaped/autogen/api/table_api.py +5 -6
- shaped/autogen/api/view_api.py +5 -6
- shaped/autogen/api_client.py +8 -9
- shaped/autogen/configuration.py +9 -8
- shaped/autogen/exceptions.py +11 -9
- shaped/autogen/models/__init__.py +23 -31
- shaped/autogen/models/ai_enrichment_view_config.py +5 -6
- shaped/autogen/models/algorithm.py +5 -6
- shaped/autogen/models/amplitude_table_config.py +5 -6
- shaped/autogen/models/attn_dropout_prob.py +5 -6
- shaped/autogen/models/attribute_journey.py +5 -6
- shaped/autogen/models/attribute_value.py +5 -6
- shaped/autogen/models/autoscaling_config.py +5 -6
- shaped/autogen/models/aws_pinpoint_table_config.py +5 -6
- shaped/autogen/models/batch_size.py +5 -6
- shaped/autogen/models/batch_size1.py +5 -6
- shaped/autogen/models/batch_size2.py +5 -6
- shaped/autogen/models/big_query_table_config.py +5 -6
- shaped/autogen/models/bm25.py +5 -6
- shaped/autogen/models/boosted_reorder_step.py +5 -6
- shaped/autogen/models/canary_rollout.py +5 -6
- shaped/autogen/models/candidate_attributes_retrieve_step.py +5 -19
- shaped/autogen/models/candidate_ids_retrieve_step.py +5 -6
- shaped/autogen/models/candidate_retrieval_strategy.py +5 -6
- shaped/autogen/models/clickhouse_table_config.py +5 -6
- shaped/autogen/models/column_order_retrieve_step.py +5 -6
- shaped/autogen/models/column_ordering.py +5 -6
- shaped/autogen/models/create_table_response.py +5 -6
- shaped/autogen/models/create_view_response.py +5 -6
- shaped/autogen/models/custom_table_config.py +5 -6
- shaped/autogen/models/data_compute_config.py +5 -6
- shaped/autogen/models/data_config.py +5 -6
- shaped/autogen/models/data_config_interaction_table.py +5 -6
- shaped/autogen/models/data_split_config.py +5 -6
- shaped/autogen/models/data_split_strategy.py +5 -6
- shaped/autogen/models/data_tier.py +5 -6
- shaped/autogen/models/default.py +5 -6
- shaped/autogen/models/delete_engine_response.py +5 -6
- shaped/autogen/models/delete_table_response.py +5 -6
- shaped/autogen/models/delete_view_response.py +5 -6
- shaped/autogen/models/deployment_config.py +6 -13
- shaped/autogen/models/diversity_reorder_step.py +5 -6
- shaped/autogen/models/dropout_rate.py +5 -6
- shaped/autogen/models/dynamo_db_table_config.py +5 -6
- shaped/autogen/models/dynamo_db_table_config_scan_kwargs_value.py +5 -6
- shaped/autogen/models/embedder_batch_size.py +5 -6
- shaped/autogen/models/embedding_config.py +5 -6
- shaped/autogen/models/embedding_dim.py +5 -6
- shaped/autogen/models/embedding_dims.py +5 -6
- shaped/autogen/models/embedding_size.py +5 -6
- shaped/autogen/models/encoder.py +5 -6
- shaped/autogen/models/engine.py +5 -6
- shaped/autogen/models/engine_config_v2.py +5 -6
- shaped/autogen/models/engine_details_response.py +5 -6
- shaped/autogen/models/engine_schema.py +12 -13
- shaped/autogen/models/entity_config.py +5 -6
- shaped/autogen/models/entity_journey.py +32 -24
- shaped/autogen/models/entity_type.py +5 -6
- shaped/autogen/models/evaluation_config.py +5 -6
- shaped/autogen/models/exploration_reorder_step.py +5 -6
- shaped/autogen/models/expression_filter_step.py +5 -6
- shaped/autogen/models/factors.py +5 -6
- shaped/autogen/models/factors1.py +5 -6
- shaped/autogen/models/feature.py +5 -6
- shaped/autogen/models/feature_type.py +5 -6
- shaped/autogen/models/file_table_config.py +5 -6
- shaped/autogen/models/filter_config.py +18 -19
- shaped/autogen/models/filter_index_type.py +5 -6
- shaped/autogen/models/filter_retrieve_step.py +5 -6
- shaped/autogen/models/filter_step_explanation.py +164 -0
- shaped/autogen/models/{filter_dataset.py → filter_table.py} +12 -13
- shaped/autogen/models/{type.py → filter_type.py} +10 -11
- shaped/autogen/models/global_filter.py +5 -6
- shaped/autogen/models/hidden_dropout_prob.py +5 -6
- shaped/autogen/models/hidden_size.py +5 -6
- shaped/autogen/models/hidden_size1.py +5 -6
- shaped/autogen/models/http_problem_response.py +5 -6
- shaped/autogen/models/http_validation_error.py +5 -6
- shaped/autogen/models/hugging_face_encoder.py +10 -9
- shaped/autogen/models/iceberg_table_config.py +5 -6
- shaped/autogen/models/index_config.py +5 -6
- shaped/autogen/models/{time_window_in_days.py → inner_entity_id.py} +27 -26
- shaped/autogen/models/inner_size.py +5 -6
- shaped/autogen/models/inner_size1.py +5 -6
- shaped/autogen/models/{mode2.py → inner_uid.py} +37 -30
- shaped/autogen/models/interaction_config.py +5 -6
- shaped/autogen/models/interaction_pooling_encoder.py +5 -6
- shaped/autogen/models/interaction_round_robin_encoder.py +5 -6
- shaped/autogen/models/item_attribute_pooling_encoder.py +5 -19
- shaped/autogen/models/journey.py +5 -6
- shaped/autogen/models/kafka_table_config.py +5 -6
- shaped/autogen/models/kinesis_table_config.py +5 -6
- shaped/autogen/models/kinesis_table_config_column_schema_value.py +5 -6
- shaped/autogen/models/label.py +5 -6
- shaped/autogen/models/label_type.py +5 -7
- shaped/autogen/models/laplace_smoothing.py +5 -6
- shaped/autogen/models/latency_scaling_policy.py +5 -6
- shaped/autogen/models/learning_rate.py +5 -6
- shaped/autogen/models/learning_rate1.py +5 -6
- shaped/autogen/models/learning_rate2.py +5 -6
- shaped/autogen/models/learning_rate3.py +5 -6
- shaped/autogen/models/lexical_search_mode.py +7 -8
- shaped/autogen/models/list_engines_response.py +5 -6
- shaped/autogen/models/list_tables_response.py +5 -6
- shaped/autogen/models/list_views_response.py +5 -6
- shaped/autogen/models/{validation_error_loc_inner.py → location_inner.py} +11 -12
- shaped/autogen/models/loss_types.py +5 -6
- shaped/autogen/models/lr.py +5 -6
- shaped/autogen/models/lr1.py +5 -6
- shaped/autogen/models/lr2.py +5 -6
- shaped/autogen/models/max_depth.py +5 -6
- shaped/autogen/models/max_leaves.py +5 -6
- shaped/autogen/models/max_seq_length.py +5 -6
- shaped/autogen/models/max_seq_length1.py +5 -6
- shaped/autogen/models/max_seq_length2.py +5 -6
- shaped/autogen/models/mode.py +5 -6
- shaped/autogen/models/mode1.py +24 -23
- shaped/autogen/models/{training_config_models_inner.py → models_inner.py} +13 -14
- shaped/autogen/models/mongo_db_table_config.py +5 -6
- shaped/autogen/models/mssql_table_config.py +5 -6
- shaped/autogen/models/my_sql_table_config.py +5 -6
- shaped/autogen/models/n_epochs.py +5 -6
- shaped/autogen/models/n_epochs1.py +5 -6
- shaped/autogen/models/n_epochs2.py +5 -6
- shaped/autogen/models/n_estimators.py +5 -6
- shaped/autogen/models/n_heads.py +5 -6
- shaped/autogen/models/n_layers.py +5 -6
- shaped/autogen/models/neg_per_positive.py +5 -6
- shaped/autogen/models/negative_samples_count.py +5 -6
- shaped/autogen/models/ngram_tokenizer.py +5 -6
- shaped/autogen/models/no_op_config.py +5 -6
- shaped/autogen/models/num_blocks.py +5 -6
- shaped/autogen/models/num_heads.py +5 -6
- shaped/autogen/models/num_leaves.py +5 -6
- shaped/autogen/models/objective.py +5 -6
- shaped/autogen/models/objective1.py +5 -6
- shaped/autogen/models/online_store_config.py +5 -6
- shaped/autogen/models/pagination_config.py +5 -6
- shaped/autogen/models/parameter_definition.py +5 -6
- shaped/autogen/models/parameters_value.py +5 -6
- shaped/autogen/models/passthrough_score.py +5 -6
- shaped/autogen/models/personal_filter.py +5 -6
- shaped/autogen/models/pipeline_stage_explanation.py +8 -9
- shaped/autogen/models/policy.py +5 -6
- shaped/autogen/models/pooling_function.py +5 -6
- shaped/autogen/models/postgres_table_config.py +5 -6
- shaped/autogen/models/posthog_table_config.py +5 -6
- shaped/autogen/models/prebuilt_filter_step.py +5 -6
- shaped/autogen/models/precomputed_item_embedding.py +5 -6
- shaped/autogen/models/precomputed_user_embedding.py +5 -6
- shaped/autogen/models/query.py +19 -20
- shaped/autogen/models/query1.py +19 -20
- shaped/autogen/models/{query_any_of.py → query_config.py} +13 -14
- shaped/autogen/models/query_definition.py +5 -6
- shaped/autogen/models/query_encoder.py +5 -6
- shaped/autogen/models/query_explanation.py +11 -8
- shaped/autogen/models/query_request.py +5 -6
- shaped/autogen/models/query_result.py +5 -6
- shaped/autogen/models/query_table_config.py +5 -6
- shaped/autogen/models/rank_item_attribute_values_query_config.py +5 -6
- shaped/autogen/models/rank_query_config.py +11 -12
- shaped/autogen/models/rank_query_config_filter_inner.py +5 -6
- shaped/autogen/models/recreate_rollout.py +5 -6
- shaped/autogen/models/redshift_table_config.py +5 -6
- shaped/autogen/models/reference_table_config.py +5 -6
- shaped/autogen/models/regularization.py +5 -6
- shaped/autogen/models/{rank_query_config_reorder_inner.py → reorder_inner.py} +11 -12
- shaped/autogen/models/reorder_step_explanation.py +206 -0
- shaped/autogen/models/request.py +5 -6
- shaped/autogen/models/request1.py +5 -6
- shaped/autogen/models/requests_per_second_scaling_policy.py +5 -6
- shaped/autogen/models/resource_config.py +99 -0
- shaped/autogen/models/response_get_view_details_views_view_name_get.py +5 -6
- shaped/autogen/models/result.py +5 -19
- shaped/autogen/models/result_embeddings_value.py +5 -6
- shaped/autogen/models/{ascending.py → retrieval_scores_value.py} +26 -36
- shaped/autogen/models/{rank_query_config_retrieve_inner.py → retrieve_inner.py} +13 -14
- shaped/autogen/models/retrieve_step_explanation.py +171 -0
- shaped/autogen/models/retriever.py +5 -6
- shaped/autogen/models/retriever1.py +5 -6
- shaped/autogen/models/rollout_config.py +5 -6
- shaped/autogen/models/rudderstack_table_config.py +5 -6
- shaped/autogen/models/sampling_strategy.py +5 -6
- shaped/autogen/models/saved_query_info_response.py +22 -9
- shaped/autogen/models/saved_query_list_response.py +5 -6
- shaped/autogen/models/saved_query_request.py +5 -6
- shaped/autogen/models/schema_config.py +5 -6
- shaped/autogen/models/score.py +5 -6
- shaped/autogen/models/score_ensemble.py +5 -19
- shaped/autogen/models/score_step_explanation.py +223 -0
- shaped/autogen/models/search_config.py +5 -6
- shaped/autogen/models/segment_table_config.py +5 -6
- shaped/autogen/models/sequence_length.py +5 -6
- shaped/autogen/models/server_config.py +18 -6
- shaped/autogen/models/setup_engine_response.py +5 -6
- shaped/autogen/models/shaped_internal_recsys_policies_als_model_policy_als_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_beeformer_model_policy_beeformer_model_policy_beeformer_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_bert_model_policy_bert_model_policy_bert_model_policy_config.py +14 -9
- shaped/autogen/models/shaped_internal_recsys_policies_elsa_model_policy_elsa_model_policy_elsa_model_policy_config.py +10 -9
- shaped/autogen/models/shaped_internal_recsys_policies_gsasrec_model_policy_gsasrec_model_policy_gsas_rec_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_item2vec_model_policy_item2_vec_model_policy_config.py +5 -6
- shaped/autogen/models/shaped_internal_recsys_policies_lightgbm_model_policy_lightgbm_model_policy_light_gbm_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_ngram_model_policy_ngram_model_policy_config.py +5 -6
- shaped/autogen/models/shaped_internal_recsys_policies_rising_popular_policy_rising_popular_policy_config.py +5 -6
- shaped/autogen/models/shaped_internal_recsys_policies_sasrec_model_policy_sasrec_model_policy_sas_rec_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_svd_model_policy_svd_model_policy_config.py +5 -6
- shaped/autogen/models/shaped_internal_recsys_policies_two_tower_model_policy_two_tower_model_policy_two_tower_model_policy_config.py +13 -8
- shaped/autogen/models/shaped_internal_recsys_policies_widedeep_model_policy_wide_deep_model_policy_config.py +14 -9
- shaped/autogen/models/shaped_internal_recsys_policies_xgboost_model_policy_xg_boost_model_policy_config.py +16 -11
- shaped/autogen/models/shopify_table_config.py +5 -6
- shaped/autogen/models/similarity_retrieve_step.py +10 -9
- shaped/autogen/models/snowflake_table_config.py +5 -6
- shaped/autogen/models/sql_transform_type.py +5 -6
- shaped/autogen/models/sql_view_config.py +5 -6
- shaped/autogen/models/stemmer_tokenizer.py +5 -6
- shaped/autogen/models/step_explanation.py +5 -6
- shaped/autogen/models/steps_inner.py +178 -0
- shaped/autogen/models/strategy.py +5 -6
- shaped/autogen/models/table.py +5 -6
- shaped/autogen/models/table_deployment_type.py +5 -6
- shaped/autogen/models/table_insert_arguments.py +7 -8
- shaped/autogen/models/table_insert_response.py +5 -6
- shaped/autogen/models/text_search_retrieve_step.py +5 -6
- shaped/autogen/models/time_frequency.py +5 -6
- shaped/autogen/models/time_window.py +5 -6
- shaped/autogen/models/tokenizer.py +5 -6
- shaped/autogen/models/trained_model_encoder.py +5 -6
- shaped/autogen/models/training_compute_config.py +8 -9
- shaped/autogen/models/training_config.py +8 -9
- shaped/autogen/models/training_strategy.py +5 -6
- shaped/autogen/models/transform_status.py +40 -0
- shaped/autogen/models/truncate_filter_step.py +5 -6
- shaped/autogen/models/tunable_bool.py +5 -6
- shaped/autogen/models/tunable_float.py +5 -6
- shaped/autogen/models/tunable_int.py +5 -6
- shaped/autogen/models/tunable_int_categorical.py +5 -6
- shaped/autogen/models/tunable_string.py +5 -6
- shaped/autogen/models/tuning_config.py +5 -6
- shaped/autogen/models/update_table_response.py +5 -6
- shaped/autogen/models/update_view_response.py +5 -6
- shaped/autogen/models/user_attribute_pooling_encoder.py +5 -6
- shaped/autogen/models/{engine_schema_user_inner.py → user_inner.py} +11 -12
- shaped/autogen/models/val_split.py +5 -6
- shaped/autogen/models/validation_error.py +8 -9
- shaped/autogen/models/value_type.py +5 -6
- shaped/autogen/models/vector_search_mode.py +10 -9
- shaped/autogen/models/view.py +8 -9
- shaped/autogen/models/view_details_ai.py +10 -11
- shaped/autogen/models/view_details_ai_schema_value.py +5 -6
- shaped/autogen/models/view_details_sql.py +10 -11
- shaped/autogen/models/weight_decay.py +5 -6
- shaped/autogen/models/whitespace_tokenizer.py +5 -6
- shaped/autogen/models/window_size.py +5 -6
- shaped/autogen/rest.py +13 -14
- 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.5.dist-info}/METADATA +2 -2
- shaped-2.0.5.dist-info/RECORD +271 -0
- {shaped-2.0.2.dist-info → shaped-2.0.5.dist-info}/WHEEL +1 -1
- shaped/autogen/models/distance_function.py +0 -38
- shaped/autogen/models/encoding_pooling_strategy.py +0 -38
- shaped/autogen/models/pool_fn.py +0 -134
- shaped/autogen/models/score_ensemble_policy_config.py +0 -141
- shaped/autogen/models/score_ensemble_policy_config_policies_inner.py +0 -422
- shaped/autogen/models/shaped_internal_recsys_policies_chronological_model_policy_chronological_model_policy_config.py +0 -137
- shaped/autogen/models/shaped_internal_recsys_policies_item_content_similarity_model_policy_item_content_similarity_model_policy_config.py +0 -152
- shaped/autogen/models/shaped_internal_recsys_policies_popular_model_policy_popular_model_policy_config.py +0 -137
- shaped/autogen/models/shaped_internal_recsys_policies_random_model_policy_random_model_policy_config.py +0 -104
- shaped/autogen/models/shaped_internal_recsys_policies_recently_popular_policy_recently_popular_policy_config.py +0 -130
- shaped/autogen/models/shaped_internal_recsys_policies_user_item_content_similarity_model_policy_user_item_content_similarity_model_policy_config.py +0 -131
- shaped/autogen/models/text_encoding.py +0 -136
- shaped/autogen/models/trending_mode.py +0 -37
- shaped/autogen/models/view_status.py +0 -41
- shaped-2.0.2.dist-info/RECORD +0 -278
- {shaped-2.0.2.dist-info → shaped-2.0.5.dist-info}/entry_points.txt +0 -0
- {shaped-2.0.2.dist-info → shaped-2.0.5.dist-info}/top_level.txt +0 -0
- {shaped-2.0.2.dist-info → shaped-2.0.5.dist-info}/zip-safe +0 -0
shaped/query_builder.py
CHANGED
|
@@ -3,28 +3,34 @@ Fluent query builder for constructing Shaped V2 declarative queries.
|
|
|
3
3
|
This module provides a fluent API for building RankQueryConfig objects
|
|
4
4
|
that leverage the declarative nature of Shaped's query language.
|
|
5
5
|
"""
|
|
6
|
+
|
|
6
7
|
from typing import Any, Dict, List, Optional, TypedDict, Union
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
from shaped.autogen.models.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
from shaped.autogen.models.similarity_retrieve_step import SimilarityRetrieveStep
|
|
9
|
+
from shaped.autogen.models.boosted_reorder_step import BoostedReorderStep
|
|
10
|
+
from shaped.autogen.models.candidate_attributes_retrieve_step import (
|
|
11
|
+
CandidateAttributesRetrieveStep,
|
|
12
|
+
)
|
|
13
13
|
from shaped.autogen.models.candidate_ids_retrieve_step import CandidateIdsRetrieveStep
|
|
14
|
-
from shaped.autogen.models.
|
|
15
|
-
from shaped.autogen.models.
|
|
14
|
+
from shaped.autogen.models.column_order_retrieve_step import ColumnOrderRetrieveStep
|
|
15
|
+
from shaped.autogen.models.diversity_reorder_step import DiversityReorderStep
|
|
16
|
+
from shaped.autogen.models.exploration_reorder_step import ExplorationReorderStep
|
|
16
17
|
from shaped.autogen.models.expression_filter_step import ExpressionFilterStep
|
|
17
|
-
from shaped.autogen.models.
|
|
18
|
+
from shaped.autogen.models.filter_retrieve_step import FilterRetrieveStep
|
|
19
|
+
from shaped.autogen.models.passthrough_score import PassthroughScore
|
|
18
20
|
from shaped.autogen.models.prebuilt_filter_step import PrebuiltFilterStep
|
|
21
|
+
|
|
22
|
+
# Import all model classes
|
|
23
|
+
from shaped.autogen.models.rank_query_config import RankQueryConfig
|
|
19
24
|
from shaped.autogen.models.score_ensemble import ScoreEnsemble
|
|
20
|
-
from shaped.autogen.models.
|
|
21
|
-
from shaped.autogen.models.
|
|
22
|
-
from shaped.autogen.models.
|
|
23
|
-
|
|
25
|
+
from shaped.autogen.models.similarity_retrieve_step import SimilarityRetrieveStep
|
|
26
|
+
from shaped.autogen.models.text_search_retrieve_step import TextSearchRetrieveStep
|
|
27
|
+
from shaped.autogen.models.truncate_filter_step import TruncateFilterStep
|
|
28
|
+
|
|
24
29
|
|
|
25
30
|
# Type definition for column ordering
|
|
26
31
|
class ColumnOrdering(TypedDict, total=False):
|
|
27
32
|
"""Type definition for column ordering in retrieve steps."""
|
|
33
|
+
|
|
28
34
|
name: str
|
|
29
35
|
ascending: Optional[bool]
|
|
30
36
|
nulls_first: Optional[bool]
|
|
@@ -32,6 +38,7 @@ class ColumnOrdering(TypedDict, total=False):
|
|
|
32
38
|
|
|
33
39
|
# Factory functions for creating step objects (no "Step" suffix for cleaner names)
|
|
34
40
|
|
|
41
|
+
|
|
35
42
|
def Passthrough(
|
|
36
43
|
name: Optional[str] = None,
|
|
37
44
|
) -> PassthroughScore:
|
|
@@ -134,6 +141,7 @@ def Similarity(
|
|
|
134
141
|
name=name,
|
|
135
142
|
)
|
|
136
143
|
|
|
144
|
+
|
|
137
145
|
def CandidateIds(
|
|
138
146
|
item_ids: List[str],
|
|
139
147
|
limit: Optional[int] = None,
|
|
@@ -294,29 +302,29 @@ def ensemble(
|
|
|
294
302
|
>>> ensemble("xgboost", name="xgboost_scorer")
|
|
295
303
|
"""
|
|
296
304
|
# Handle the case where parameters are passed in the options dictionary
|
|
297
|
-
if not input_user_id and
|
|
298
|
-
input_user_id = kwargs.pop(
|
|
299
|
-
if not input_user_features and
|
|
300
|
-
input_user_features = kwargs.pop(
|
|
301
|
-
if not input_interactions_item_ids and
|
|
302
|
-
input_interactions_item_ids = kwargs.pop(
|
|
303
|
-
if not name and
|
|
304
|
-
name = kwargs.pop(
|
|
305
|
+
if not input_user_id and "input_user_id" in kwargs:
|
|
306
|
+
input_user_id = kwargs.pop("input_user_id")
|
|
307
|
+
if not input_user_features and "input_user_features" in kwargs:
|
|
308
|
+
input_user_features = kwargs.pop("input_user_features")
|
|
309
|
+
if not input_interactions_item_ids and "input_interactions_item_ids" in kwargs:
|
|
310
|
+
input_interactions_item_ids = kwargs.pop("input_interactions_item_ids")
|
|
311
|
+
if not name and "name" in kwargs:
|
|
312
|
+
name = kwargs.pop("name")
|
|
305
313
|
|
|
306
314
|
# Create the config dictionary
|
|
307
315
|
config: Dict[str, Any] = {
|
|
308
|
-
|
|
316
|
+
"value_model": value_model,
|
|
309
317
|
}
|
|
310
318
|
|
|
311
319
|
# Add optional parameters if provided
|
|
312
320
|
if input_user_id is not None:
|
|
313
|
-
config[
|
|
321
|
+
config["input_user_id"] = input_user_id
|
|
314
322
|
if input_user_features is not None:
|
|
315
|
-
config[
|
|
323
|
+
config["input_user_features"] = input_user_features
|
|
316
324
|
if input_interactions_item_ids is not None:
|
|
317
|
-
config[
|
|
325
|
+
config["input_interactions_item_ids"] = input_interactions_item_ids
|
|
318
326
|
if name is not None:
|
|
319
|
-
config[
|
|
327
|
+
config["name"] = name
|
|
320
328
|
|
|
321
329
|
# Add any additional parameters from kwargs (for backward compatibility)
|
|
322
330
|
config.update(kwargs)
|
|
@@ -339,10 +347,10 @@ def passthrough(name: Optional[str] = None) -> PassthroughScore:
|
|
|
339
347
|
>>> passthrough(name="noop_scorer")
|
|
340
348
|
"""
|
|
341
349
|
config: Dict[str, Any] = {
|
|
342
|
-
|
|
350
|
+
"type": "passthrough",
|
|
343
351
|
}
|
|
344
352
|
if name is not None:
|
|
345
|
-
config[
|
|
353
|
+
config["name"] = name
|
|
346
354
|
return PassthroughScore(**config)
|
|
347
355
|
|
|
348
356
|
|
|
@@ -400,7 +408,7 @@ def Diversity(
|
|
|
400
408
|
diversity_lookback_window: int = 30,
|
|
401
409
|
diversity_lookforward_window: int = 30,
|
|
402
410
|
text_encoding_embedding_ref: Optional[str] = None,
|
|
403
|
-
**kwargs
|
|
411
|
+
**kwargs,
|
|
404
412
|
) -> DiversityReorderStep:
|
|
405
413
|
"""
|
|
406
414
|
Create a diversity reorder step.
|
|
@@ -421,36 +429,36 @@ def Diversity(
|
|
|
421
429
|
# Handle the case where diversity_attributes is passed as a single string
|
|
422
430
|
if isinstance(diversity_attributes, str):
|
|
423
431
|
diversity_attributes = [diversity_attributes]
|
|
424
|
-
|
|
432
|
+
|
|
425
433
|
# Handle the case where diversity_attributes is not provided but is in kwargs
|
|
426
434
|
if diversity_attributes is None:
|
|
427
|
-
if
|
|
428
|
-
diversity_attributes = [kwargs.pop(
|
|
429
|
-
elif
|
|
430
|
-
diversity_attributes = kwargs.pop(
|
|
435
|
+
if "diversity_attribute" in kwargs:
|
|
436
|
+
diversity_attributes = [kwargs.pop("diversity_attribute")]
|
|
437
|
+
elif "diversityAttributes" in kwargs:
|
|
438
|
+
diversity_attributes = kwargs.pop("diversityAttributes")
|
|
431
439
|
if isinstance(diversity_attributes, str):
|
|
432
440
|
diversity_attributes = [diversity_attributes]
|
|
433
|
-
|
|
441
|
+
|
|
434
442
|
# Create the config dictionary
|
|
435
443
|
config: Dict[str, Any] = {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
444
|
+
"diversity_attributes": diversity_attributes or [],
|
|
445
|
+
"limit": limit,
|
|
446
|
+
"strength": strength,
|
|
447
|
+
"diversity_lookback_window": diversity_lookback_window,
|
|
448
|
+
"diversity_lookforward_window": diversity_lookforward_window,
|
|
441
449
|
}
|
|
442
|
-
|
|
450
|
+
|
|
443
451
|
# Add text_encoding_embedding_ref if provided
|
|
444
452
|
if text_encoding_embedding_ref is not None:
|
|
445
|
-
config[
|
|
446
|
-
|
|
453
|
+
config["text_encoding_embedding_ref"] = text_encoding_embedding_ref
|
|
454
|
+
|
|
447
455
|
# Add name if provided
|
|
448
456
|
if name is not None:
|
|
449
|
-
config[
|
|
450
|
-
|
|
457
|
+
config["name"] = name
|
|
458
|
+
|
|
451
459
|
# Add any additional parameters from kwargs (for backward compatibility)
|
|
452
460
|
config.update(kwargs)
|
|
453
|
-
|
|
461
|
+
|
|
454
462
|
return DiversityReorderStep(**config)
|
|
455
463
|
|
|
456
464
|
|
|
@@ -513,7 +521,8 @@ class RankQueryBuilder:
|
|
|
513
521
|
return self
|
|
514
522
|
|
|
515
523
|
def retrieve(
|
|
516
|
-
self,
|
|
524
|
+
self,
|
|
525
|
+
*steps: Union[
|
|
517
526
|
ColumnOrderRetrieveStep,
|
|
518
527
|
TextSearchRetrieveStep,
|
|
519
528
|
SimilarityRetrieveStep,
|
|
@@ -521,7 +530,7 @@ class RankQueryBuilder:
|
|
|
521
530
|
CandidateIdsRetrieveStep,
|
|
522
531
|
CandidateAttributesRetrieveStep,
|
|
523
532
|
Dict[str, Any],
|
|
524
|
-
]
|
|
533
|
+
],
|
|
525
534
|
) -> "RankQueryBuilder":
|
|
526
535
|
"""
|
|
527
536
|
Add one or more retrieve steps.
|
|
@@ -770,5 +779,3 @@ class RankQueryBuilder:
|
|
|
770
779
|
return config
|
|
771
780
|
|
|
772
781
|
return config
|
|
773
|
-
|
|
774
|
-
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shaped
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.5
|
|
4
4
|
Summary: CLI and SDK tools for interacting with the Shaped API.
|
|
5
|
-
Home-page: https://github.com/shaped-ai/
|
|
5
|
+
Home-page: https://github.com/shaped-ai/magnus
|
|
6
6
|
Author: Shaped Team
|
|
7
7
|
Author-email: support@shaped.ai
|
|
8
8
|
Keywords: shaped-ai
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
shaped/__init__.py,sha256=9yORfYF9JPwhi6b29Y21EUCatpCMhlgHgBfMj_s9EAI,1160
|
|
2
|
+
shaped/client.py,sha256=4jRsfysLkQvuyEYzdAB8yweRywdiklOzS-_qAmd_s2o,23377
|
|
3
|
+
shaped/config_builders.py,sha256=GY4kNDZxRvmVkfR-jVSjqXDebbJnE9oCpuHYOipb8Gc,23212
|
|
4
|
+
shaped/query_builder.py,sha256=44X58tb9msOZsyx19eknSriHyxADiantdX9Qs8-AdPo,24206
|
|
5
|
+
shaped/autogen/__init__.py,sha256=5Kvb3mZ_cWlVSpAIVEWUrIGAHSiWSZve3XweXsXIePM,32954
|
|
6
|
+
shaped/autogen/api_client.py,sha256=-tW1rGCEA-Kp_Lh6EIOK-g08l1zm9_Kif75yciFaQ94,28576
|
|
7
|
+
shaped/autogen/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
8
|
+
shaped/autogen/configuration.py,sha256=4XTCFNzjlPmLHuG8R4p-NemaRw02jNjS4ePjyMdqp9Y,19007
|
|
9
|
+
shaped/autogen/exceptions.py,sha256=4lNtdqGV1jjRyY567a7-_RLREwHQtZ44ut8nbqFoGgk,7325
|
|
10
|
+
shaped/autogen/rest.py,sha256=YWfNOI5JIZcB-L3ZBUs_J2mccDFqSlxWM97RCQQp2Po,10442
|
|
11
|
+
shaped/autogen/api/__init__.py,sha256=4Likv3Dq2be4kg4uoXtWHb9KqtKNisLBmKVox8MvNbM,248
|
|
12
|
+
shaped/autogen/api/engine_api.py,sha256=0586q7unJpsE3E03LdmGkWbkDihHK2-qCGE253WF-1A,61403
|
|
13
|
+
shaped/autogen/api/query_api.py,sha256=e87oopjHS54dhIM4-Cm_qy2Rd2jTEgk7bi3eRRtTBuI,44140
|
|
14
|
+
shaped/autogen/api/table_api.py,sha256=XRycXoLo9djcyk2O5hJQkT9c9aOm2Xp9uqIEAnDs43s,62209
|
|
15
|
+
shaped/autogen/api/view_api.py,sha256=9JLbuuEwvYQ-N3qKlXjku_se1yD3byaOdyklfNPiRtU,57133
|
|
16
|
+
shaped/autogen/models/__init__.py,sha256=2TGvCodZvTDViYFI-TxiL2qmBlU2qjotuYyDYXRNGMc,19659
|
|
17
|
+
shaped/autogen/models/ai_enrichment_view_config.py,sha256=c0i8o2Cmh0Ts746MOCzDLKNNaz02_Z4sCMKIhrDN44s,5605
|
|
18
|
+
shaped/autogen/models/algorithm.py,sha256=AZIFRf-uaghKvUbKHoUDQmXmmPDNrffwE98P0sQGzzQ,5611
|
|
19
|
+
shaped/autogen/models/amplitude_table_config.py,sha256=5S87obbWtzkxIoN5r3IvfW1kMmh0oj5BT4GVLm-x9z4,4281
|
|
20
|
+
shaped/autogen/models/attn_dropout_prob.py,sha256=Z7r4OFNgSB3QIbRnnLYIOTQCkD_qIERCpHvDXJS5xRw,5727
|
|
21
|
+
shaped/autogen/models/attribute_journey.py,sha256=2tjUznXnItm5ghevsn9DO1eJ48qQQ_edutU1WLD05tM,5460
|
|
22
|
+
shaped/autogen/models/attribute_value.py,sha256=krhoT5JFtOoWJYJB4tU2JhF1tAmryUqhw45auyehW-k,7309
|
|
23
|
+
shaped/autogen/models/autoscaling_config.py,sha256=VlpxMOS5BfiMTZMaOCV7QKogctTwphb27ygxhp3ukJQ,4073
|
|
24
|
+
shaped/autogen/models/aws_pinpoint_table_config.py,sha256=n9VY4bgsyqjttml5WKMl7xFq9TuB4ETQ7El-JAd7x60,4514
|
|
25
|
+
shaped/autogen/models/batch_size.py,sha256=7-bvGKa3RmQD3idVxbPvtnfQ8zTviJ9ZjN-b0qmwFJ4,5626
|
|
26
|
+
shaped/autogen/models/batch_size1.py,sha256=A3gRQ-LFuoM-FlgPkc6Kg4kr0mo2isjt6fnfleXBwK4,5631
|
|
27
|
+
shaped/autogen/models/batch_size2.py,sha256=wBf9c1owNirb4hjxrYtrWZgQO_qfulieLc-NoexECVk,5797
|
|
28
|
+
shaped/autogen/models/big_query_table_config.py,sha256=zarSnCZrb-BP5XGDQIyk3nvrt35tABGr2u6dj-GgScI,6477
|
|
29
|
+
shaped/autogen/models/bm25.py,sha256=D9HnpGOvQoD9zEuM_L9GyNpflLHioxrvjyorSPmiKnc,5606
|
|
30
|
+
shaped/autogen/models/boosted_reorder_step.py,sha256=nFzb5Ss2t6s3Hnado47f4f79NSC29JlZufeWumaZXxw,5304
|
|
31
|
+
shaped/autogen/models/canary_rollout.py,sha256=fI587ehM6CbCEeWt5Qwa730TLYAd72-QqIgBhnkEotY,4021
|
|
32
|
+
shaped/autogen/models/candidate_attributes_retrieve_step.py,sha256=587W_ay2LQRemQBR-iaTxsW_vsNtcIXRvMmzYmndazo,4849
|
|
33
|
+
shaped/autogen/models/candidate_ids_retrieve_step.py,sha256=UI_ypU0ri7-TCY3yNzYleJWCi7nish_fbOZb5l00b0g,4667
|
|
34
|
+
shaped/autogen/models/candidate_retrieval_strategy.py,sha256=t1MbtrEZBSVqeT5FN9i6PqyTlTKu51iocvHOBhHdTZU,1718
|
|
35
|
+
shaped/autogen/models/clickhouse_table_config.py,sha256=ZfJr52e3YCUPmvJ7f_xj_U7hVBYy6Vcl2xInX5lDIiI,6438
|
|
36
|
+
shaped/autogen/models/column_order_retrieve_step.py,sha256=zv6gqHxBET_OXwITr6FFZbhlaNpR6Qd3zJ9LspHWYqE,5221
|
|
37
|
+
shaped/autogen/models/column_ordering.py,sha256=ZVkb8gbFo6TUemwtwt8TvdH3bS3q2nvAKUpamNFbf4U,3778
|
|
38
|
+
shaped/autogen/models/create_table_response.py,sha256=9BNYVWhUVY9JZt7xgAp14PM1QrDaBCZ9DEqP0C5mXuk,3376
|
|
39
|
+
shaped/autogen/models/create_view_response.py,sha256=stBJiX7OKE_XadY9qdeuopU_kVSpqF4KEEISBakCH1s,3371
|
|
40
|
+
shaped/autogen/models/custom_table_config.py,sha256=NNsJ4b9E0CeTDL5Nb1vDpGl1J2QzXjpzlhXKuObEbkw,5726
|
|
41
|
+
shaped/autogen/models/data_compute_config.py,sha256=k6ae1pTR0izEWo1Ks3zXbnxDAfx-b2v8dkFjHUe9BQE,3674
|
|
42
|
+
shaped/autogen/models/data_config.py,sha256=hO5WVXOw1gpSePeZ5ofxVc231XKCRvS58npSAlfoONk,7327
|
|
43
|
+
shaped/autogen/models/data_config_interaction_table.py,sha256=SIWAdz4K3Sc5_r5y7vrLELfPXrLGg65AewSqW4-uFec,6509
|
|
44
|
+
shaped/autogen/models/data_split_config.py,sha256=Uc_H2E4loaVWXrfIaM1FJUJWJ6X9Tf-boRFN3yoJzwc,3516
|
|
45
|
+
shaped/autogen/models/data_split_strategy.py,sha256=YxNR7xjNA4AcleX0URGt8kKJFdqOAiXF1UWzkj3bTAo,1547
|
|
46
|
+
shaped/autogen/models/data_tier.py,sha256=iIybOoX6f23vnVEEYsXOJcHejQjOWE--tNLNJsNJwOs,1603
|
|
47
|
+
shaped/autogen/models/default.py,sha256=22dPLHnYs2L0pTIWsxchdNnq2aMLBlPUKdMwAm5sv5Y,10340
|
|
48
|
+
shaped/autogen/models/delete_engine_response.py,sha256=7SPeOKxJwxC2lQGhDsuRMrWHeTU3a2pv788PAKmPaxs,3384
|
|
49
|
+
shaped/autogen/models/delete_table_response.py,sha256=x8DdcQm-fKDS3yKHpqSFuenzdcIUAHa8fTHzCU6Ko5U,3376
|
|
50
|
+
shaped/autogen/models/delete_view_response.py,sha256=-T185ndDLb-aN3QDirJ9kjIRMZWGE606iwx-9aWQ7Fo,3371
|
|
51
|
+
shaped/autogen/models/deployment_config.py,sha256=-mYRNkhptZtBRoYLrl2xiq_9ptLmai0BS9jLmMF7TCc,5761
|
|
52
|
+
shaped/autogen/models/diversity_reorder_step.py,sha256=yJColiA7aTPXMm9C_gYLyNf3azYb1UPDwAddp8-aZ7Q,6478
|
|
53
|
+
shaped/autogen/models/dropout_rate.py,sha256=7WkISEQkmIE3HTeS7zZMGmK68zrGBssbdJNxt1z826k,5709
|
|
54
|
+
shaped/autogen/models/dynamo_db_table_config.py,sha256=C2e0isa9jgVyt8vQZm0ELBuZWG-UStuJjkqGpe_AR8E,7322
|
|
55
|
+
shaped/autogen/models/dynamo_db_table_config_scan_kwargs_value.py,sha256=7OWCQeW5AcoTJzIeHEarwQm_Ro3mZToxkEKBK25X9eg,5738
|
|
56
|
+
shaped/autogen/models/embedder_batch_size.py,sha256=YDTugrZ91CQF4XyZdzbgoKKaLWJyzaeNK5oK_nN9R9I,5655
|
|
57
|
+
shaped/autogen/models/embedding_config.py,sha256=kXdyjgdh_VrvOb9NURPbHT_3gWn8f9G4qznR6_sKh2U,3679
|
|
58
|
+
shaped/autogen/models/embedding_dim.py,sha256=kb0B0qAqLWYVsw6CtEwe5dsJFzyK6KRKdTICBwGqZzM,5783
|
|
59
|
+
shaped/autogen/models/embedding_dims.py,sha256=MRFTFTK82zG-MvEFn5szgwa2u_AWUHsGI12xJgFoRaQ,5635
|
|
60
|
+
shaped/autogen/models/embedding_size.py,sha256=_B75X2jiN2GAiCzUby0KMRqK8aLEBKq9QPXLWsAvcDg,5622
|
|
61
|
+
shaped/autogen/models/encoder.py,sha256=gAn97Zviz0v09zubk9FxC5twvKSd8QtB5Ui4FqZ-odY,6308
|
|
62
|
+
shaped/autogen/models/engine.py,sha256=SoD8ZiotCvSEXXlc7sO1_ihFqd2XCd6SObI8fnm-Xb8,4567
|
|
63
|
+
shaped/autogen/models/engine_config_v2.py,sha256=c_vMIpL52kP58nIYI2zfGUAHTBu8INFU6-4tHrNnsZY,7091
|
|
64
|
+
shaped/autogen/models/engine_details_response.py,sha256=p8Ts-1Vv8N6u50UJGX8Rtxx95gtqG-z8YOrF_1jRoFs,5318
|
|
65
|
+
shaped/autogen/models/engine_schema.py,sha256=uMH1jfMogQZc3047E2kSshr1eX1u43mMUKEAOYQOS10,4912
|
|
66
|
+
shaped/autogen/models/entity_config.py,sha256=YgoIai3GItON4fVZfQEv2ci7rjpBr67I4PgvZjfcOYI,4435
|
|
67
|
+
shaped/autogen/models/entity_journey.py,sha256=T51zvjcq2uTesJIY1CZEV0iHxWDY2e050x1Rozr3-dU,8358
|
|
68
|
+
shaped/autogen/models/entity_type.py,sha256=qYxhkucnd_w18-NFd_b13sYq6Sh-k7nroc9xqegK3t0,1597
|
|
69
|
+
shaped/autogen/models/evaluation_config.py,sha256=rCKckq4qSt19dN5CLN-qcZIhZu7RD-UytUSf3ekoXt4,4133
|
|
70
|
+
shaped/autogen/models/exploration_reorder_step.py,sha256=SqXHGqSLcRELzd-HhvpEtlNOPl6w6r2yv7m1kAY5c18,5317
|
|
71
|
+
shaped/autogen/models/expression_filter_step.py,sha256=_MnBU5dp8X_HVZihCUux_0ZSX8ddTDJj-jR_tG89K4M,4206
|
|
72
|
+
shaped/autogen/models/factors.py,sha256=oWAU8F83tGL6ZnL2JjWMeULaBSeyerpvR7Wdp40ozvM,5611
|
|
73
|
+
shaped/autogen/models/factors1.py,sha256=M2318hlgNtK2dhu-OQ6RREIcmYzc_lf5bNQfBneq0zA,5616
|
|
74
|
+
shaped/autogen/models/feature.py,sha256=aD-R4NNLN3DX4Ll_kP0xKdqO1hQE-UVhXQRMw8gFeYE,3357
|
|
75
|
+
shaped/autogen/models/feature_type.py,sha256=0keyRd2SLdEo1oJWc82WOam5ACOWCrsAXN5t5Pg3mz0,2667
|
|
76
|
+
shaped/autogen/models/file_table_config.py,sha256=1keZ-eHUVBDA_KpP3f8huxIF-duYqE0tF62x2KY3kvw,4566
|
|
77
|
+
shaped/autogen/models/filter_config.py,sha256=sZ2AswHfQ-bPSaGqMfZWIfpxX8RgVSeFWBs_cGBdS80,4124
|
|
78
|
+
shaped/autogen/models/filter_index_type.py,sha256=gKZVtLRnF9Os3TphQoCqaOH0sFel0YaqktZdI4kCEcw,1572
|
|
79
|
+
shaped/autogen/models/filter_retrieve_step.py,sha256=F9cf5FGEQj3lwuInpfTWxSpijbTnBlXQ6X5GTG4dejg,4613
|
|
80
|
+
shaped/autogen/models/filter_step_explanation.py,sha256=0QrRoS36M9dy5Jze4zXc86hdBH9v8BQRNwmQzdGzrRM,7539
|
|
81
|
+
shaped/autogen/models/filter_table.py,sha256=pyUvobH2amsjiqpiGn3BpxxhQUFY8HlPafAIYaad9_k,6315
|
|
82
|
+
shaped/autogen/models/filter_type.py,sha256=llo052VYjAi5mbKrYcsBoE4XWCGay3TUphzumXC1rpg,5674
|
|
83
|
+
shaped/autogen/models/global_filter.py,sha256=Zl_UDx3eLQb6-iz63zYla1KCQ582tbJV52DWl3aPsBE,4242
|
|
84
|
+
shaped/autogen/models/hidden_dropout_prob.py,sha256=Whex2DeclYizOKcnKgu6cNu8F0bx7zIVTyv2U40LeEY,5734
|
|
85
|
+
shaped/autogen/models/hidden_size.py,sha256=M0TmUecJWFvyO2pEr74BIDhGf2cjFJoS9E391nMMwSE,5784
|
|
86
|
+
shaped/autogen/models/hidden_size1.py,sha256=LkjkvAZTFA3jISkmFiPirQp3ZpHBUrCkXCFMCI2YAIk,5789
|
|
87
|
+
shaped/autogen/models/http_problem_response.py,sha256=pg8YROcQBs1EWvdQs57z8RSwfmkNl3owetYOUJpXMBU,4488
|
|
88
|
+
shaped/autogen/models/http_validation_error.py,sha256=zCe-Exp-xTcsnkW6iZsEQsYCqk-FWY7wVJLW9DpA4KI,3791
|
|
89
|
+
shaped/autogen/models/hugging_face_encoder.py,sha256=OWooFy4uI-xW_SjHsTWlXnmQM-vpbVgUYkxTbdSULUw,4946
|
|
90
|
+
shaped/autogen/models/iceberg_table_config.py,sha256=DOkEvoj8mmJrYXPMXZ22foh0Qmk_blXZ9MEldtgElaE,6819
|
|
91
|
+
shaped/autogen/models/index_config.py,sha256=F9Z_dK-E30JQ4XEUGeCfE3ZjgzREhCf8vlGYoBUAoT0,4408
|
|
92
|
+
shaped/autogen/models/inner_entity_id.py,sha256=Ql5Xedgk0E0T5TcABI9RPBfsB3-H_LNGqfXcjAGUgME,5806
|
|
93
|
+
shaped/autogen/models/inner_size.py,sha256=gyCAiOS0dSBXLJxtdb1aWQtsofQQQGLjiqxbY2lwZVw,5779
|
|
94
|
+
shaped/autogen/models/inner_size1.py,sha256=Uccddpth6Zuj5Jx6VzAfth9wgBafm0z3ekk4abbhNHk,5784
|
|
95
|
+
shaped/autogen/models/inner_uid.py,sha256=LkCzAi4tYMZbhAQK1iDx_31p28hbIEh_FjtozPTvzzs,5810
|
|
96
|
+
shaped/autogen/models/interaction_config.py,sha256=xy7vMGSNO9Fk1zP6jnOIp9jM__fSR1YYSG7kbOSqVKw,5241
|
|
97
|
+
shaped/autogen/models/interaction_pooling_encoder.py,sha256=uo_58KojXXzDGatMdE0Sh5C8hP5XgT6AkRcKwAt62uQ,4683
|
|
98
|
+
shaped/autogen/models/interaction_round_robin_encoder.py,sha256=G_k9VXbTO6RVKBy1SDMdGe1anXW4sLjs4f2aGjF50O8,4731
|
|
99
|
+
shaped/autogen/models/item_attribute_pooling_encoder.py,sha256=11-Z7Q76hic5qlMvfEvOIeKotkJ-P2y3Ufrm6ksz_e8,4792
|
|
100
|
+
shaped/autogen/models/journey.py,sha256=S0lvq4x8JRT5R6o1CnJaZsU7vbLOxEBW7qBne42Deio,6000
|
|
101
|
+
shaped/autogen/models/kafka_table_config.py,sha256=wOKjw21bzKK2Hbu6wycqSuEIUkfBQYYmSkJKlxUhua4,5674
|
|
102
|
+
shaped/autogen/models/kinesis_table_config.py,sha256=oU3yFv7bsrNVzeG871BB-c7ECIbBDqylPe8TCjjmUNo,6160
|
|
103
|
+
shaped/autogen/models/kinesis_table_config_column_schema_value.py,sha256=cTNVpP9WAdZVjCFsQx-wPCa4mEg5ll5NVeAWFbQSR4g,5877
|
|
104
|
+
shaped/autogen/models/label.py,sha256=j4yRs_24eIezPjAB6Q-0eyIUJpDKCNaToKAskikDiGk,3343
|
|
105
|
+
shaped/autogen/models/label_type.py,sha256=c4HhUdus742YAKyTRZTdHBCCATNZM7wuzMoyZ0_GZBc,1515
|
|
106
|
+
shaped/autogen/models/laplace_smoothing.py,sha256=o2dqsgSNLfUC1Kp5B1dTbDXTSNFZbvuFeKfuPUyvpT0,5744
|
|
107
|
+
shaped/autogen/models/latency_scaling_policy.py,sha256=XarEW1PgsLCIsWnjc_zxsHJMFVnVer0ESVECgnNOr9A,4635
|
|
108
|
+
shaped/autogen/models/learning_rate.py,sha256=I7TutjrsJFW1KNXGLPHroJtxiRDtxfaiCXAv3A4OVhQ,5719
|
|
109
|
+
shaped/autogen/models/learning_rate1.py,sha256=0psfRg3vWnU4DSHBc9JTSm6MLtWTHNSc2t1aK4Tt7xs,5724
|
|
110
|
+
shaped/autogen/models/learning_rate2.py,sha256=okV1YcfwFwXRvafUzK1MiifkIK0hd0zN2TylHyLqetc,5724
|
|
111
|
+
shaped/autogen/models/learning_rate3.py,sha256=bt-UPvJ-Pu6SP-6Ha_NGC1sYdTJ8QW1cB-VPU2C0yJY,5724
|
|
112
|
+
shaped/autogen/models/lexical_search_mode.py,sha256=TR89pTWRR1kj8vgF1JVDsVzESrXQQCJSki3Ej75FFKw,4024
|
|
113
|
+
shaped/autogen/models/list_engines_response.py,sha256=X6-jxG4Kafnq3yizwCmLvWSoTckLRsoluN7iNqWmem0,3805
|
|
114
|
+
shaped/autogen/models/list_tables_response.py,sha256=UMRBXvlBQ9NAVWE22TE22yzcvwn3FrkSZ-JE895kuz8,3784
|
|
115
|
+
shaped/autogen/models/list_views_response.py,sha256=dpKkRPfNTN6yg9og1IEffUgC6rzDJZyErC0TZJZVr2k,3763
|
|
116
|
+
shaped/autogen/models/location_inner.py,sha256=9v-EAmI0CQ3JpDRm-dNMHvuXjj_tYuYM0gPV19gF-SE,5612
|
|
117
|
+
shaped/autogen/models/loss_types.py,sha256=mzQlG7zxRNuj10_P-jcIF_jCd75e7XRaMLjz3vuW8qU,1513
|
|
118
|
+
shaped/autogen/models/lr.py,sha256=Gg_BVexBo4OzW2oJmWChLwYgP_q9SY0-0cVL-Tp25K8,5669
|
|
119
|
+
shaped/autogen/models/lr1.py,sha256=_y7LeXk_p0B5CdLLRTggLdvCr51ylJwB-dMKGXknU9s,5674
|
|
120
|
+
shaped/autogen/models/lr2.py,sha256=OClHO7MgvnZFGDY3CIek88bPVu2_3KP4EkuALgSWr-M,5674
|
|
121
|
+
shaped/autogen/models/max_depth.py,sha256=IRIMR1By7Oibb7zgKtWaBIo85WTqzdNxiobhDimwFYE,5608
|
|
122
|
+
shaped/autogen/models/max_leaves.py,sha256=EuzFD6sv99MYBah8Krm356RjiCcIDc7Wg2ek2BVRDV4,5605
|
|
123
|
+
shaped/autogen/models/max_seq_length.py,sha256=V2SkIo6QiJoIxGBEQW5gVigriDQEmE82e3mbGpV_LK4,5627
|
|
124
|
+
shaped/autogen/models/max_seq_length1.py,sha256=SQQIpiDcrDB16WYlNiBONIxe87f_zgeashQeA_zgS18,5788
|
|
125
|
+
shaped/autogen/models/max_seq_length2.py,sha256=Rtl2ajKVBFkcseSHfLwCkiZzF3sQGvQPz7fpN2O3xEk,5788
|
|
126
|
+
shaped/autogen/models/mode.py,sha256=x9UHsA8MYC8iXCOXiyL4n3mmRvGUihsESz3R43s2BvE,5768
|
|
127
|
+
shaped/autogen/models/mode1.py,sha256=CDGtO_bEzVHUd_XXO8OGdX9Kk4WN7JqrbEFOiFesL30,5587
|
|
128
|
+
shaped/autogen/models/models_inner.py,sha256=1qjD50MP7E9Pg2SvZ6Fc-a7afFCsgJJOujghBXG-btM,30511
|
|
129
|
+
shaped/autogen/models/mongo_db_table_config.py,sha256=bC_0KyOQ1KiK1ppWCOFZs8Ig6h44T4lfNwZALy6RMUU,6536
|
|
130
|
+
shaped/autogen/models/mssql_table_config.py,sha256=lwZ1CCCab1DeTa_GgVa0lJF_zjGmaLfuPc9LQmiJ3Z8,6833
|
|
131
|
+
shaped/autogen/models/my_sql_table_config.py,sha256=GOcz7o1LoejLBZVS6jOhtQT1EZ0TphzXmJQOlNHJf6I,8902
|
|
132
|
+
shaped/autogen/models/n_epochs.py,sha256=GG10w-M7l9GX2-M9W2qrjm6fFH55iD6gtA2MsFuN8kg,5779
|
|
133
|
+
shaped/autogen/models/n_epochs1.py,sha256=Z7zuzN7Ha998nzX00x_PzjDj9VuAzsDhWY8GcP1Orxk,5784
|
|
134
|
+
shaped/autogen/models/n_epochs2.py,sha256=oiIw6-rJCd9PUyE3ZHXp4jpdGQZoPwl2pa8VnBlMV9A,5618
|
|
135
|
+
shaped/autogen/models/n_estimators.py,sha256=Xmt2-QwO08GhYOsioP8nI4GWrxr27xmf4FByCxYh40Q,5616
|
|
136
|
+
shaped/autogen/models/n_heads.py,sha256=QmYks9mcY9q5DILPRMkCEANSHw3vJLNzwUm6coey9JI,5598
|
|
137
|
+
shaped/autogen/models/n_layers.py,sha256=o7lN-Q7LrKzqtFt9hThCn6j91IU1DCvfAF4hc_KQN-I,5587
|
|
138
|
+
shaped/autogen/models/neg_per_positive.py,sha256=c5FL-u8Wrto7TPTntkLOMESYCqvmQndPweXxjksiYIE,5773
|
|
139
|
+
shaped/autogen/models/negative_samples_count.py,sha256=RluRUT3KLgJ0JN9636fTm7Q9v0-HAt-UhV6F2iqykAM,5861
|
|
140
|
+
shaped/autogen/models/ngram_tokenizer.py,sha256=tm99sa1RkHVXqEkrpxiRzUdGu9qKSu84zOpZywyfqd4,4405
|
|
141
|
+
shaped/autogen/models/no_op_config.py,sha256=uz3YNL1avsfvNaEFrT0EYCvO2eHH6Vi_zADknycypAY,4544
|
|
142
|
+
shaped/autogen/models/num_blocks.py,sha256=2vmDSb6vxPQHt7DaesZe03xpCoOre4J4iOEvNK-KviY,5763
|
|
143
|
+
shaped/autogen/models/num_heads.py,sha256=pSzFKBgWAPDdo6XZQBTAj5HsaOqiz5l-ojCdH3QhHL8,5774
|
|
144
|
+
shaped/autogen/models/num_leaves.py,sha256=9hsR2C33QZRtw9_eCceKF-R8YgZboc4xN2-2Z9lNRUs,5605
|
|
145
|
+
shaped/autogen/models/objective.py,sha256=hOv1DK3VT7_awbU6lR_dg_36xW23uqlHI-vxkvQheHk,1621
|
|
146
|
+
shaped/autogen/models/objective1.py,sha256=ZR5vZA3cl9AdS120CAQF7L2rjh8sVyvPZhTKpI3qXa0,5590
|
|
147
|
+
shaped/autogen/models/online_store_config.py,sha256=TYCnEQtA08v4ayKr9y1GK4f31guFQnH5cRRw_GWWyrc,3972
|
|
148
|
+
shaped/autogen/models/pagination_config.py,sha256=jO4KjKIt2La6Xs3usdbhVciPIqdx8UEMuPCVPgagO_4,3571
|
|
149
|
+
shaped/autogen/models/parameter_definition.py,sha256=Te9ndzdWIw2-cKhoKqQxv4t8kxmff9yOfqMl4FJADoc,3935
|
|
150
|
+
shaped/autogen/models/parameters_value.py,sha256=5qyoW4cPeUXZ3O-j1dYE4P0Rhnk5eIoFXBjXUifLb9U,10234
|
|
151
|
+
shaped/autogen/models/passthrough_score.py,sha256=io9QZkaXz8zRnnZM4yQq91m4QDT7I-Lm_B55yp9Cang,4049
|
|
152
|
+
shaped/autogen/models/personal_filter.py,sha256=_gGF6HAS-zJr-RZEeewahRIvufOFTJnTU1GhFYOyLlA,4519
|
|
153
|
+
shaped/autogen/models/pipeline_stage_explanation.py,sha256=sXHqRVd2Gu4ZZsy7tJaVuM2WKRWIRYs9AdsduT5caD4,5332
|
|
154
|
+
shaped/autogen/models/policy.py,sha256=E0baNSrNVPJ4UP-8hyT6PfWQefmA9p8UNQSXtk-OZmc,6018
|
|
155
|
+
shaped/autogen/models/pooling_function.py,sha256=H8kmqNFRT8FB1SqQrZxdnqLzG7DBSGI1sPmIcrYjzEc,1582
|
|
156
|
+
shaped/autogen/models/postgres_table_config.py,sha256=XYdn0RLLVMbDqB-0L-ztT39dABiJPrx90O5h-j2HKDM,10261
|
|
157
|
+
shaped/autogen/models/posthog_table_config.py,sha256=wyxLB_PWC-Cb5jLllnjRk0XLMvOdKOFFsCxIp5SXvZw,5743
|
|
158
|
+
shaped/autogen/models/prebuilt_filter_step.py,sha256=e7DtFuFTgaar5RlEeDeFyYgRk7OMG6pBIF7tQOBm6Jk,4540
|
|
159
|
+
shaped/autogen/models/precomputed_item_embedding.py,sha256=g5DNJ7KuVoh-cUTDE9XTzf0o50urVIA5VNILASrRadc,3988
|
|
160
|
+
shaped/autogen/models/precomputed_user_embedding.py,sha256=fftFLnOt6L6CNSbWb5VOs5LSQBi2uZtHJQvR80VtXMs,4007
|
|
161
|
+
shaped/autogen/models/query.py,sha256=LKmc6pjdpUBh5iRcEEo4RMITM9jqKggq8kBrDOXXyp0,5723
|
|
162
|
+
shaped/autogen/models/query1.py,sha256=yQl6q8v5VrVzgPVAKmJ9qO2SZqJjjaLXv6KdRcu_MfM,5923
|
|
163
|
+
shaped/autogen/models/query_config.py,sha256=JOqnrpC_-NranNJSltpmgqo20LnfCkI-STjmc5fBo4I,6501
|
|
164
|
+
shaped/autogen/models/query_definition.py,sha256=_VYHyfHezJ5wZTPA0joV221VAAVB6mJtfHYHGfm-_JE,4614
|
|
165
|
+
shaped/autogen/models/query_encoder.py,sha256=iybUmciAsFBxoW_Y7vx1lHVeySa6y8VryskrFAzfYCU,9829
|
|
166
|
+
shaped/autogen/models/query_explanation.py,sha256=auv_kwEWAUZwPU80a0-jQD7ei_GF0_hv2C6IKoZQBX8,10113
|
|
167
|
+
shaped/autogen/models/query_request.py,sha256=1cnKwKemNr_7r_XHvsyWz4ohAWIk4v-aJqdBhRDar9Y,6458
|
|
168
|
+
shaped/autogen/models/query_result.py,sha256=r1ji5zVTa3hvSQLz9t-47YwWugbK5BKhKQI_J-5Vxzw,5300
|
|
169
|
+
shaped/autogen/models/query_table_config.py,sha256=YwRWqSXn6mnWF7wrByorj5iSvMuEc9OxA_BC15ia_I4,4018
|
|
170
|
+
shaped/autogen/models/rank_item_attribute_values_query_config.py,sha256=R65blHN0XmxklDusqhGmqghcWToZDyRGja0E5Pd2ntc,5318
|
|
171
|
+
shaped/autogen/models/rank_query_config.py,sha256=rOsr3qdABmg70qaW9FV4nEgmJvALDGBmHpRISyYen3w,7641
|
|
172
|
+
shaped/autogen/models/rank_query_config_filter_inner.py,sha256=507G3u6OGUDck7NBmweaEth8lx8qjnXLEBJ2BGeYBQ0,6745
|
|
173
|
+
shaped/autogen/models/recreate_rollout.py,sha256=0DfLKSgvHmlALe67vTFGPGIY0ufz-4boHTtYyTqZTt8,3716
|
|
174
|
+
shaped/autogen/models/redshift_table_config.py,sha256=4rKTs5nhIADzcICVCo6-X1DbXgJrWlx9K3fKmY06R2U,7252
|
|
175
|
+
shaped/autogen/models/reference_table_config.py,sha256=W3RMNpesWs3me_xyyYgim_gRY-Kq6yENqQk-tBzxcIs,4574
|
|
176
|
+
shaped/autogen/models/regularization.py,sha256=9jnVnJAek5-VB34sd8rwZ9Tp27nuaU5ti93T-9ov1LI,5729
|
|
177
|
+
shaped/autogen/models/reorder_inner.py,sha256=CUddR6JFFqHEyDrt2W6t0YVZw6hi_fTbE2bPCVCWixs,6721
|
|
178
|
+
shaped/autogen/models/reorder_step_explanation.py,sha256=aucAsw_Ulhw9nW3WYUpCtWAY0QRqy1vj_S9gp4YXnSU,10047
|
|
179
|
+
shaped/autogen/models/request.py,sha256=vlFQ-a2VpHuTg140VzoJdxjURP2Xs2hh_pB6mkJ5HqA,20574
|
|
180
|
+
shaped/autogen/models/request1.py,sha256=izawNv6-MWsQJVTT_4ynhPCVrypDmPcvNNekLMZ3yc4,6237
|
|
181
|
+
shaped/autogen/models/requests_per_second_scaling_policy.py,sha256=YR4odcZTBvMhar_sC4rEMs6qlcEL6pLNN3yfy1cXPd0,4733
|
|
182
|
+
shaped/autogen/models/resource_config.py,sha256=O1nwrQ-l9Red0faavmP0JG7ULRbsKgg-TJNPLoBsgPs,4275
|
|
183
|
+
shaped/autogen/models/response_get_view_details_views_view_name_get.py,sha256=RnMWszR8WAC43g-l9O8TB72ZUW6RlFTyUi_ZR2HHIZs,5836
|
|
184
|
+
shaped/autogen/models/result.py,sha256=H_CxvdR6nTrpA7Z7iEnwGpZI1FlKyBwXF3FNJWrN2Pk,5843
|
|
185
|
+
shaped/autogen/models/result_embeddings_value.py,sha256=k-z5LYCZmL3Z_isOmxY7DCxvxJQCndTWYjbhwDbI6wQ,5180
|
|
186
|
+
shaped/autogen/models/retrieval_scores_value.py,sha256=FoFW1EWwPqa2qDlrdzMNfMM1G13v93B0Dzzcf7vNMbs,5108
|
|
187
|
+
shaped/autogen/models/retrieve_inner.py,sha256=_6UrqAjK5MXPoooJ1evMqzG4i7v9ScmeMD5Vmqb0hBY,10161
|
|
188
|
+
shaped/autogen/models/retrieve_step_explanation.py,sha256=nhKDyhgEVC6HPGG44EeS0LV89fXeOhCBZRJywMzT6OY,7981
|
|
189
|
+
shaped/autogen/models/retriever.py,sha256=h0BODyHfiArlm97ryx99fMJnVJycO72L8ijvtd4fYL0,10164
|
|
190
|
+
shaped/autogen/models/retriever1.py,sha256=tx4brkrlWKoVhdS5REmzttT12jbzvDdRUQmpr_BGviA,10174
|
|
191
|
+
shaped/autogen/models/rollout_config.py,sha256=LMKgHECdugOZaxTYE0lLom3xVagNzA6BX008Yv9BNWU,3625
|
|
192
|
+
shaped/autogen/models/rudderstack_table_config.py,sha256=2wHWBGOBgw4MC00N6FFHUfJGDN8zcYxApWpPQ7FXz7s,4301
|
|
193
|
+
shaped/autogen/models/sampling_strategy.py,sha256=B_vxygSzWjtFpM9NKGW-xlmr1QeHMqcddDpnAFGK9Vo,1534
|
|
194
|
+
shaped/autogen/models/saved_query_info_response.py,sha256=gG20A1XswfP5gdIFXevVCgQ1EJw-5XSPw7twNLUvXL8,4150
|
|
195
|
+
shaped/autogen/models/saved_query_list_response.py,sha256=GHPA6or_ruVAJbCtP_s-Jau6FwZi5ESG5SM49QwgQlQ,3395
|
|
196
|
+
shaped/autogen/models/saved_query_request.py,sha256=fxcGQ2fiHukavsKIKc_9rP4z72djoqIAhGWYyhP9Tuc,6151
|
|
197
|
+
shaped/autogen/models/schema_config.py,sha256=PrvCfqbiSTBPSnggExW8bHqc214iB_3i1iyoyS9zeWM,4912
|
|
198
|
+
shaped/autogen/models/score.py,sha256=p7z6a5QdF9ut_HO-7aIrXPsq-MmpuePfH-rPAlDeQ_U,5688
|
|
199
|
+
shaped/autogen/models/score_ensemble.py,sha256=xPQ8BrEuNp7-UPmr0jwWRfjoVeT0EM6MvaWfYbOiVoI,5694
|
|
200
|
+
shaped/autogen/models/score_step_explanation.py,sha256=23ZNXclFo0Rl7_U85VYirxAm9iYPCpAGb8NROQC02uQ,11337
|
|
201
|
+
shaped/autogen/models/search_config.py,sha256=h2JDaHcDYp0cDCQVXU8p_jxvLtM0E9jcH2Or-S7V12w,4274
|
|
202
|
+
shaped/autogen/models/segment_table_config.py,sha256=nbm2lgu286MW-RDyuTwLJYwn5kCipbX55vVDVUathRI,4261
|
|
203
|
+
shaped/autogen/models/sequence_length.py,sha256=_24b8xnKrZH9fPL3X9N713VOGG3WbhbRzf7C_dIaVDQ,5793
|
|
204
|
+
shaped/autogen/models/server_config.py,sha256=Oa5Pl5Ko0jvFXiDb0TlEJFM-2h1GXflLP7pmQ5qBAXg,4076
|
|
205
|
+
shaped/autogen/models/setup_engine_response.py,sha256=DuGjcRmCEieb2AZWQaArOGFt0E-guXE-UqpvKCEzXkY,3378
|
|
206
|
+
shaped/autogen/models/shaped_internal_recsys_policies_als_model_policy_als_model_policy_config.py,sha256=89Z9QIWvHBdeJ81veTu5auasxQZ46cB7YGcoJTUX8DA,8001
|
|
207
|
+
shaped/autogen/models/shaped_internal_recsys_policies_beeformer_model_policy_beeformer_model_policy_beeformer_model_policy_config.py,sha256=YJr_yJQwv8_QGsUrwgrvPJf2TB3NLsceEI8X98V2YFg,9127
|
|
208
|
+
shaped/autogen/models/shaped_internal_recsys_policies_bert_model_policy_bert_model_policy_bert_model_policy_config.py,sha256=cvpgEP-wjxCoI2oZcMGPqWHrTUXfQzXktrYRLkjySAw,12749
|
|
209
|
+
shaped/autogen/models/shaped_internal_recsys_policies_elsa_model_policy_elsa_model_policy_elsa_model_policy_config.py,sha256=lRaKiIIDhdM7iRDoEkSrw_LDeDQye4QbEWMQNY3hx_U,6694
|
|
210
|
+
shaped/autogen/models/shaped_internal_recsys_policies_gsasrec_model_policy_gsasrec_model_policy_gsas_rec_model_policy_config.py,sha256=uZwGJnPSXE8FUW3lLemcm5CVGc12kkfknJ8L1KEzDsA,12319
|
|
211
|
+
shaped/autogen/models/shaped_internal_recsys_policies_item2vec_model_policy_item2_vec_model_policy_config.py,sha256=3XB2iv6KOm6s9lNAD1WVdVH1KA0eGGITabWGlkmvLVE,6631
|
|
212
|
+
shaped/autogen/models/shaped_internal_recsys_policies_lightgbm_model_policy_lightgbm_model_policy_light_gbm_model_policy_config.py,sha256=43SCD9QHL4UKQfr8Db5FngXziWqAs6vEbDmHj-BdPC0,15903
|
|
213
|
+
shaped/autogen/models/shaped_internal_recsys_policies_ngram_model_policy_ngram_model_policy_config.py,sha256=_FH4KAVxAwBDfVOyN4EPta299GtEdLoH8LDYbBlIw6c,5221
|
|
214
|
+
shaped/autogen/models/shaped_internal_recsys_policies_rising_popular_policy_rising_popular_policy_config.py,sha256=wY-ZkQTEDPXl3nQaGIz5xxjgEc2hueqvrc4WJo_CCDY,5453
|
|
215
|
+
shaped/autogen/models/shaped_internal_recsys_policies_sasrec_model_policy_sasrec_model_policy_sas_rec_model_policy_config.py,sha256=BZp1BpFdBVx0PerBNvsPwSufAdRPkV_dmuADcsQ2Isc,13867
|
|
216
|
+
shaped/autogen/models/shaped_internal_recsys_policies_svd_model_policy_svd_model_policy_config.py,sha256=F6xUPGrehhVqlz2xGPvWR5s4sCiP14lxGwcfbeSRM1g,5121
|
|
217
|
+
shaped/autogen/models/shaped_internal_recsys_policies_two_tower_model_policy_two_tower_model_policy_two_tower_model_policy_config.py,sha256=0pTnXmfkAMVy3cCduuqVOVyMnR0ranGsaIaVsBSOdAk,9067
|
|
218
|
+
shaped/autogen/models/shaped_internal_recsys_policies_widedeep_model_policy_wide_deep_model_policy_config.py,sha256=XF_tyTKq9GNM3a0jHXgfulzK5zDmnJDF98FZwHMANGg,6699
|
|
219
|
+
shaped/autogen/models/shaped_internal_recsys_policies_xgboost_model_policy_xg_boost_model_policy_config.py,sha256=6iAxvcKmuzOLpmOBPQKTK7XSWUbYkPCjHkHb06EF1Tg,8356
|
|
220
|
+
shaped/autogen/models/shopify_table_config.py,sha256=jhpUJN7b0mFBSBQ3vAil5twsGqE-DszBC6ZcfrWehw0,7012
|
|
221
|
+
shaped/autogen/models/similarity_retrieve_step.py,sha256=duo0OFp4pHw_0CPyVRDckF-x4d0t4Bf-S0odnfzHW9E,5500
|
|
222
|
+
shaped/autogen/models/snowflake_table_config.py,sha256=I6HMwohI-36uaZFQyqVMdxyNZiGRKyMG_MLTbzth-4Y,7606
|
|
223
|
+
shaped/autogen/models/sql_transform_type.py,sha256=_XaLpTxRUm1w6XJEm1S9Q2Eju54J9ervVjDtGk5JP3M,1566
|
|
224
|
+
shaped/autogen/models/sql_view_config.py,sha256=-hDsJlmUZLcwBLadzmNpvybt5SbkAbWAzXjgZU1O9b8,4691
|
|
225
|
+
shaped/autogen/models/stemmer_tokenizer.py,sha256=sCFrh2ZFDZSUbZsspUNvnkT5lPRtrj1cs8ZmQ62edsY,4713
|
|
226
|
+
shaped/autogen/models/step_explanation.py,sha256=kweHZdFPVHHjHb6Y9Zeno8Zv_8sz-wCFuJrQYINtePU,6166
|
|
227
|
+
shaped/autogen/models/steps_inner.py,sha256=NWh15hvlWGaqgm0BTq9GF3yELV4OPkXK9uGmwJ2qlOs,8415
|
|
228
|
+
shaped/autogen/models/strategy.py,sha256=k2JcjXVrYaJqhCrHwlpUnO0je1UKw5B-zqxtpiDbo2I,5703
|
|
229
|
+
shaped/autogen/models/table.py,sha256=_M-cf6r3iQaaMDclHQIe8-AH--Fw00TS7e95pFsjtm0,4187
|
|
230
|
+
shaped/autogen/models/table_deployment_type.py,sha256=0SJzITTlU9J5XfLeinTVPS7F0k4aSeMgq96XcQ8pBKg,1595
|
|
231
|
+
shaped/autogen/models/table_insert_arguments.py,sha256=TANH8hccqjv1fg-Oeb03CcsVq33KVW3fsYLrFWMl9G4,3363
|
|
232
|
+
shaped/autogen/models/table_insert_response.py,sha256=_4A1soTh6wArla8-QycFwvwxe2TL2RXRtBPC1kpy6YA,3354
|
|
233
|
+
shaped/autogen/models/text_search_retrieve_step.py,sha256=soPP8ij3WMGp10FVlB0eBZTsFnADu2DkvkbhoCELggk,5040
|
|
234
|
+
shaped/autogen/models/time_frequency.py,sha256=gfOCRMAEONcFu2Fja03_LJaACH5Zu1fmQcTVm2gf82w,5635
|
|
235
|
+
shaped/autogen/models/time_window.py,sha256=BpO1FvfsmA2JXYM_sCIi-3xztI5yuk-k1TAwZGH4UHU,5583
|
|
236
|
+
shaped/autogen/models/tokenizer.py,sha256=HTUArLoNpc6-EpuFdNzq5gHy1V1ARNUAnrG_rbViYXA,6565
|
|
237
|
+
shaped/autogen/models/trained_model_encoder.py,sha256=W_shI0zGQkME5sqLT6x1rhrVSDPiOw_yBQxDVPb3jcc,3905
|
|
238
|
+
shaped/autogen/models/training_compute_config.py,sha256=GiFtVyhqVSZwqx50QjTkJZwFv83KZcG08Kc9f1mu7MU,4946
|
|
239
|
+
shaped/autogen/models/training_config.py,sha256=UWSDLzgezVOlxOISKi-ss9q_0DcV4xCT62ioO46Gu9I,6018
|
|
240
|
+
shaped/autogen/models/training_strategy.py,sha256=weXra3YylPe3WtFS9_vPJhBBaKGR9P2qNOSDOTNDZ1o,1566
|
|
241
|
+
shaped/autogen/models/transform_status.py,sha256=WWcO_9p92Y-mxPA60tGDGa3h4pzSHqWrjxV85tdpWnQ,1661
|
|
242
|
+
shaped/autogen/models/truncate_filter_step.py,sha256=6IPjw4tAHTmewLR_NkgWhhpc1q2NHyTkToU5bDChpok,4255
|
|
243
|
+
shaped/autogen/models/tunable_bool.py,sha256=NgYNQmBEZ2Sh12i4fYhNl494K613MS2pqAT_tUhr6Vs,3651
|
|
244
|
+
shaped/autogen/models/tunable_float.py,sha256=B6PdMnAPtNyRzpzHytj-oSoe_R_UDsUO0tfWs9WuU34,4444
|
|
245
|
+
shaped/autogen/models/tunable_int.py,sha256=3h-MN8rMFCX48XQO9tgtqPXAXqNnsQ0-0h2-m8Zo5n8,4368
|
|
246
|
+
shaped/autogen/models/tunable_int_categorical.py,sha256=Yckj3LUPPLfwrpO4do0VBBpoVKKPXzLA8d6fOEM5pHY,3829
|
|
247
|
+
shaped/autogen/models/tunable_string.py,sha256=avBUedu63gX455eOkkKa-h5PxOYclENqKm-a1BNf7qE,3750
|
|
248
|
+
shaped/autogen/models/tuning_config.py,sha256=bLy7S44sOPUKvhoq35xTnDu_Y3xrr_Sz6h0RS8Q0T0Y,3707
|
|
249
|
+
shaped/autogen/models/update_table_response.py,sha256=mzBL5KWIKLXeWgChz5rTb5v7EOpRkk5yS0ttrInCF74,3374
|
|
250
|
+
shaped/autogen/models/update_view_response.py,sha256=fzHwT1CCYln3kniq6UDQN6DjrXYtBzIbLvb3Ez27Q4k,3369
|
|
251
|
+
shaped/autogen/models/user_attribute_pooling_encoder.py,sha256=jqqBPR0yMiEWIseSqdNokdcmeQapeqawnoaFIikwmiA,5387
|
|
252
|
+
shaped/autogen/models/user_inner.py,sha256=-BjqEL0nOIjBFWF6lvoDYlhV37xH3M153cOFfCAXWB8,5433
|
|
253
|
+
shaped/autogen/models/val_split.py,sha256=8q1uLWELtgk1GaJyDq6BPQwuW0EjRQzCJVNNFAa9nl0,5699
|
|
254
|
+
shaped/autogen/models/validation_error.py,sha256=FvJPVw1EaUBphs1tbbDhA6AkvtCXNdahFDsxzD2JxVo,3841
|
|
255
|
+
shaped/autogen/models/value_type.py,sha256=bTujkEuCThdu6kp-gwQM2_cYjWIbRZmqOkuWU7cIqZk,2018
|
|
256
|
+
shaped/autogen/models/vector_search_mode.py,sha256=M7K9pQ5ZNzvkrMysZJEOweGgbaoX7lWqqCEVcLQYgp4,4237
|
|
257
|
+
shaped/autogen/models/view.py,sha256=osD1kM3M_9KYrLiYj1jZjiioIfIFqA3-iKNvWomJkKM,4341
|
|
258
|
+
shaped/autogen/models/view_details_ai.py,sha256=Vm0HVKlrfmVcMLafoxhEuZ-fs31V6CIqcmxMlsVl8oQ,6138
|
|
259
|
+
shaped/autogen/models/view_details_ai_schema_value.py,sha256=VKxDLmZFqFOeTWQ6dOe0erwDDqybYwR2N3a98EuRMW8,6517
|
|
260
|
+
shaped/autogen/models/view_details_sql.py,sha256=g2moke1EOiLg_Zc0PnEclVk6ttgaHQEOjvZ4F8P6kG0,6112
|
|
261
|
+
shaped/autogen/models/weight_decay.py,sha256=T6RUCKDcRHnnj2t5xXZ9J5ZiaB7rkr1rJCJ7U2NDfVo,5712
|
|
262
|
+
shaped/autogen/models/whitespace_tokenizer.py,sha256=RmYrVsagfJnYIrY_AYTjd1q9WEABJbX8RTBw6ZwEUC0,3768
|
|
263
|
+
shaped/autogen/models/window_size.py,sha256=PV0jImHGEsrSLREU0O6osmMCQh8TBC6KpldwHf-5-a8,5627
|
|
264
|
+
shaped/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
265
|
+
shaped/cli/shaped_cli.py,sha256=foTU4wUNvXz9Ux7dL4M_HE0mYmTRpUV8Ru9Hb_IIOZU,25845
|
|
266
|
+
shaped-2.0.5.dist-info/METADATA,sha256=SGrrj4Hh4AQ3Yqn40RDxMIXn2nJ-YW35BDnEQW2gbzA,8004
|
|
267
|
+
shaped-2.0.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
268
|
+
shaped-2.0.5.dist-info/entry_points.txt,sha256=Wa7tSHF7q4vSrM2UR5E-e3dVdSb59EOKQrA-6PAvyZI,54
|
|
269
|
+
shaped-2.0.5.dist-info/top_level.txt,sha256=w-lDaoadQVYpze9N9gZyK9qngb7fZCJ-KCdHLGvt0SU,7
|
|
270
|
+
shaped-2.0.5.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
271
|
+
shaped-2.0.5.dist-info/RECORD,,
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Shaped API
|
|
5
|
-
|
|
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
|
-
|
|
8
|
-
The version of the OpenAPI document: 2.0.0
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import json
|
|
17
|
-
from enum import Enum
|
|
18
|
-
from typing_extensions import Self
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class DistanceFunction(str, Enum):
|
|
22
|
-
"""
|
|
23
|
-
DistanceFunction
|
|
24
|
-
"""
|
|
25
|
-
|
|
26
|
-
"""
|
|
27
|
-
allowed enum values
|
|
28
|
-
"""
|
|
29
|
-
DOT = 'dot'
|
|
30
|
-
COSINE = 'cosine'
|
|
31
|
-
L2 = 'l2'
|
|
32
|
-
|
|
33
|
-
@classmethod
|
|
34
|
-
def from_json(cls, json_str: str) -> Self:
|
|
35
|
-
"""Create an instance of DistanceFunction from a JSON string"""
|
|
36
|
-
return cls(json.loads(json_str))
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Shaped API
|
|
5
|
-
|
|
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
|
-
|
|
8
|
-
The version of the OpenAPI document: 2.0.0
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import json
|
|
17
|
-
from enum import Enum
|
|
18
|
-
from typing_extensions import Self
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class EncodingPoolingStrategy(str, Enum):
|
|
22
|
-
"""
|
|
23
|
-
EncodingPoolingStrategy
|
|
24
|
-
"""
|
|
25
|
-
|
|
26
|
-
"""
|
|
27
|
-
allowed enum values
|
|
28
|
-
"""
|
|
29
|
-
MAX = 'max'
|
|
30
|
-
MEAN = 'mean'
|
|
31
|
-
SUM = 'sum'
|
|
32
|
-
|
|
33
|
-
@classmethod
|
|
34
|
-
def from_json(cls, json_str: str) -> Self:
|
|
35
|
-
"""Create an instance of EncodingPoolingStrategy from a JSON string"""
|
|
36
|
-
return cls(json.loads(json_str))
|
|
37
|
-
|
|
38
|
-
|