KeywordDocument

org.llm4s.vectorstore.KeywordDocument
final case class KeywordDocument(id: String, content: String, metadata: Map[String, String])

Document to be indexed for keyword search.

Value parameters

content

Text content to index

id

Unique document identifier

metadata

Additional metadata (not indexed, but returned in results)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product