Interface GPTEmbeddingService.EmbeddingsCache
-
- Enclosing interface:
- GPTEmbeddingService
public static interface GPTEmbeddingService.EmbeddingsCache
Optional cache for embedding values. Tbe embeddings are encoded as a String.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCachedEmbedding(String text)
void
putCachedEmbedding(String text, String embedding)
-