Spaces:
Sleeping
Sleeping
File size: 766 Bytes
db45f39 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
from google.protobuf.internal import containers as _containers
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from collections.abc import Iterable as _Iterable
from typing import ClassVar as _ClassVar, Optional as _Optional
DESCRIPTOR: _descriptor.FileDescriptor
class TextRequest(_message.Message):
__slots__ = ("text",)
TEXT_FIELD_NUMBER: _ClassVar[int]
text: str
def __init__(self, text: _Optional[str] = ...) -> None: ...
class EmbeddingResponse(_message.Message):
__slots__ = ("embeddings",)
EMBEDDINGS_FIELD_NUMBER: _ClassVar[int]
embeddings: _containers.RepeatedScalarFieldContainer[float]
def __init__(self, embeddings: _Optional[_Iterable[float]] = ...) -> None: ...
|