You're looking at a specific version of this model. Jump to the model overview.
zsxkib /embedding-gemma-300m:ee394bc8
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
text |
string
|
Input text to encode (up to 2048 tokens)
|
|
task |
None
|
retrieval_document
|
Task type for encoding (affects the prompt used for embedding)
|
output_format |
None
|
array
|
Format for the embedding output
|
normalize |
boolean
|
True
|
Whether to normalize embeddings to unit length
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'anyOf': [{'additionalProperties': True, 'type': 'object'},
{'items': {'anyOf': [{'items': {'type': 'number'}, 'type': 'array'},
{'type': 'string'}]},
'type': 'array'}],
'title': 'Output'}