Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.42 KB

File metadata and controls

39 lines (30 loc) · 1.42 KB

Suggestion

Properties

Name Type Description Notes
id str Unique suggestion identifier
project_id str Project identifier
status str Suggestion status
relevance_score float AI-calculated relevance score (0-1)
anchor_text str Suggested anchor text
context str Context where the link should be placed [optional]
source_page PageInfo
target_page PageInfo
reasoning str AI reasoning for the suggestion [optional]
created_at datetime Suggestion creation timestamp
updated_at datetime Last update timestamp [optional]

Example

from rankvectors.models.suggestion import Suggestion

# TODO update the JSON string below
json = "{}"
# create an instance of Suggestion from a JSON string
suggestion_instance = Suggestion.from_json(json)
# print the JSON string representation of the object
print(Suggestion.to_json())

# convert the object into a dict
suggestion_dict = suggestion_instance.to_dict()
# create an instance of Suggestion from a dict
suggestion_from_dict = Suggestion.from_dict(suggestion_dict)

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