Skip to content

Latest commit

History

History
34 lines (25 loc) · 1.91 KB

File metadata and controls

34 lines (25 loc) · 1.91 KB

StartMatchingForFunctionsInputBody

Properties

NameTypeDescriptionNotes
filtersMatchFiltersNarrow the candidate pool.[optional]
function_idsList[int]Source function IDs to match against the rest of the corpus.
min_similarityfloatSimilarity floor as a percentage. Defaults to 90.[optional]
no_cacheboolBy default a completed matching run for the same request is reused (response status=COMPLETED, no new run). Set true to force a fresh run.[optional]
results_per_functionintMax matches returned per source function. Defaults to 1.[optional]
use_canonical_namesboolCollapse near-duplicate candidate names into canonical buckets and return per-name confidences (the response 'confidences' array). Adds a canonicalisation step; defaults to false.[optional]

Example

fromrevengai.models.start_matching_for_functions_input_bodyimportStartMatchingForFunctionsInputBody# TODO update the JSON string belowjson="{}"# create an instance of StartMatchingForFunctionsInputBody from a JSON stringstart_matching_for_functions_input_body_instance=StartMatchingForFunctionsInputBody.from_json(json)
# print the JSON string representation of the objectprint(StartMatchingForFunctionsInputBody.to_json())
# convert the object into a dictstart_matching_for_functions_input_body_dict=start_matching_for_functions_input_body_instance.to_dict()
# create an instance of StartMatchingForFunctionsInputBody from a dictstart_matching_for_functions_input_body_from_dict=StartMatchingForFunctionsInputBody.from_dict(start_matching_for_functions_input_body_dict)

[Back to Model list][Back to API list][Back to README]