gitinsp.domain.models.CodeFile
final case class CodeFile(
content:
String,
language:
Language,
path:
String,
chunkSize:
Int,
chunkOverlap:
Int)
Represents a code file with content and metadata
Attributes
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Creates a Langchain Document from this CodeFile
Creates a Langchain Document from this CodeFile
Attributes
-
Returns
-
Some(Document) if the content is non-empty, None otherwise
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product