add embedding input type parameter (#8724)

This commit is contained in:
Jyong 2024-09-24 21:53:50 +08:00 committed by GitHub
commit 4669eb24be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 239 additions and 35 deletions

View file

@ -0,0 +1,10 @@
from enum import Enum
class EmbeddingInputType(Enum):
"""
Enum for embedding input type.
"""
DOCUMENT = "document"
QUERY = "query"