Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 860 Bytes

File metadata and controls

28 lines (22 loc) · 860 Bytes

RankVectors::LinkOpportunity

Properties

Name Type Description Notes
relevance_score Float AI-calculated relevance score (0-1)
anchor_text String Suggested anchor text
context String Context where the link should be placed [optional]
source_page PageInfo
target_page PageInfo
reasoning String AI reasoning for the suggestion [optional]

Example

require 'rankvectors'

instance = RankVectors::LinkOpportunity.new(
  relevance_score: 0.85,
  anchor_text: internal linking,
  context: Learn more about internal linking strategies.,
  source_page: null,
  target_page: null,
  reasoning: High semantic similarity between source and target content
)