The class tracks files by their SHA-256 hash to detect if a file has been modified since ingestion.
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public boolean | Returns: true if the file has been ingested, false otherwisethe SHA-256 hash of the file fileHash)Checks if a file has been fully ingested. |
| public void | markDocumentAsFullyIngested(String
the SHA-256 hash of the file fileHash)Marks a file as fully ingested using its hash. |
| public void | |
| public void | |
| public void | unmarkDocumentAsFullyIngested(String
the SHA-256 hash of the file fileHash)Removes a file from the ingested documents record. |
| getEmbeddingModel | back to summary |
|---|---|
| public Optional The embedding model the documents were ingested with. Empty for repositories written before this was recorded. | |
| isDocumentIngested | back to summary |
|---|---|
| public boolean isDocumentIngested(String fileHash) Checks if a file has been fully ingested.
| |
| markDocumentAsFullyIngested | back to summary |
|---|---|
| public void markDocumentAsFullyIngested(String fileHash) Marks a file as fully ingested using its hash.
| |
| removeAll | back to summary |
|---|---|
| public void removeAll() | |
| setEmbeddingModel | back to summary |
|---|---|
| public void setEmbeddingModel(String embeddingModel) | |
| unmarkDocumentAsFullyIngested | back to summary |
|---|---|
| public void unmarkDocumentAsFullyIngested(String fileHash) Removes a file from the ingested documents record.
| |