marola.knowledge
Members list
Type members
Classlikes
The corpus is a directory of Markdown files (knowledge/ at the repo root by default), plus a safety/ subdirectory (MIP-0022) for documents whose answers must always carry the emergency footer.
The corpus is a directory of Markdown files (knowledge/ at the repo root by default), plus a safety/ subdirectory (MIP-0022) for documents whose answers must always carry the emergency footer.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Corpus.type
One indexable unit: a paragraph-ish slice of a corpus document, with the document's provenance.
One indexable unit: a paragraph-ish slice of a corpus document, with the document's provenance.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Turns text into vectors.
Turns text into vectors.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FileKnowledgeStore.type
Local-first RAG index: embeds every corpus chunk once, stores the vectors as JSON under ./data/, and re-embeds only when the corpus or the embedding model changes (a fingerprint of file names, sizes, mtimes and the model name).
Local-first RAG index: embeds every corpus chunk once, stores the vectors as JSON under ./data/, and re-embeds only when the corpus or the embedding model changes (a fingerprint of file names, sizes, mtimes and the model name).
Attributes
- Companion
- object
- Supertypes
Retrieval over marola's curated marine-knowledge corpus (the Markdown files under knowledge/) — the RAG half of FUTURE-WORK.md §9.1, local-first.
Retrieval over marola's curated marine-knowledge corpus (the Markdown files under knowledge/) — the RAG half of FUTURE-WORK.md §9.1, local-first.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FileKnowledgeStore
"Ask the ocean": retrieve the top passages for a question, then have the local model answer only from them, citing [n].
"Ask the ocean": retrieve the top passages for a question, then have the local model answer only from them, citing [n].
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OceanQa.type
A retrieved chunk with its provenance — source is the URL the corpus document cites.
A retrieved chunk with its provenance — source is the URL the corpus document cites.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The emergency footer marola appends to any answer grounded in a knowledge/safety/ document (MIP-0022).
The emergency footer marola appends to any answer grounded in a knowledge/safety/ document (MIP-0022).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SafetyFooter.type