Expand description
Task type definitions and prompt formatting for embedding models.
Enums§
- Task
Type - The type of embedding task, used to format input prompts.
Functions§
- format_
document - Formats a document text with an optional title for embedding.
- format_
query - Formats a query text with a task-type prefix for embedding.