Last active 1731289806

Revision 48bae3a3cd3a996d02e8a8ddbe505fa870ebae9c

Jina-13.py Raw
1from docarray import BaseDoc
2
3
4class PromptDocument(BaseDoc):
5 prompt: str
6 max_tokens: int
7
8
9class ModelOutputDocument(BaseDoc):
10 token_id: int
11 generated_text: str