Skip to content

Conversation

@Navadeep0007
Copy link

Summary

This PR updates the docstrings for the index field in AnnotationFileCitation
and AnnotationFilePath classes to clarify that it refers to the character
position in the message text where the citation appears, rather than the order
in the file list.

Changes

  • Improved docstrings for index fields.
  • Added short examples for clarity.

Why

The original description was ambiguous and caused confusion (see issue #2512).

Closes #2512

…enai#2512)

Signed-off-by: Navadeep0007 <2400030007@kluniversity.in>
@Navadeep0007 Navadeep0007 requested a review from a team as a code owner November 13, 2025 09:37
@Navadeep0007
Copy link
Author

Hi maintainers ,

I’ve updated the docstrings for the index field in both AnnotationFileCitation and AnnotationFilePath classes.
The new description clarifies that index refers to the character position within the model’s message text, not the order of files.

This aligns with the discussion in #2512.
Please review and let me know if any further adjustments are needed.

Thank you for your time and for maintaining this awesome project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update index documentation

2 participants