struct LLM::Bundle

Overview

One request's worth of bundled source.

#paths rides along so a failed request can name the coverage it lost: an LLM call that comes back empty is the only trace those files' endpoints ever had, and without the list the analyzer could only report "something failed" rather than which files went unread.

Defined in:

llm/prompt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(content : String, tokens : Int32, paths : Array(String)) #

[View source]

Instance Method Detail

def content : String #

[View source]
def paths : Array(String) #

[View source]
def tokens : Int32 #

[View source]