NoOpContextCompressor

No-op compressor that returns text unchanged.

Functions

Link copied to clipboard
open override fun compress(sourceText: String?, entityName: String): String?

Compress source text to extract relevant context for entity resolution.

Link copied to clipboard
open fun compressForAll(sourceText: String?, entityNames: List<String>): String?

Compress source text for multiple entities at once. May be more efficient than calling compress repeatedly.