this post was submitted on 23 Jun 2026
9 points (84.6% liked)
Free Open-Source Artificial Intelligence
4776 readers
1 users here now
Welcome to Free Open-Source Artificial Intelligence!
We are a community dedicated to forwarding the availability and access to:
Free Open Source Artificial Intelligence (F.O.S.A.I.)
More AI Communities
LLM Leaderboards
Developer Resources
GitHub Projects
FOSAI Time Capsule
- The Internet is Healing
- General Resources
- FOSAI Welcome Message
- FOSAI Crash Course
- FOSAI Nexus Resource Hub
- FOSAI LLM Guide
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i know that generally, quoting stuff from files works well. the point here is less about being useful but more about being 100% verifiable.
indexing things with line numbers absolutely works, but u gotta actually put line numbers in the tool output. Meaning, the
read_source_codeshould return the line number at the start if each line, e.g.it eats up tokens, but does make line index hit rate almost always correct.
Are you thinking to make something like a
quote_snippettool that you give a file and line range to and have it (deterministically) present that to the user as part of the response?yyyyes exactly.