Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text embedding processor #304

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions spec/schemas/ingest._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ components:
$ref: '#/components/schemas/CircleProcessor'
inference:
$ref: '#/components/schemas/InferenceProcessor'
text_embedding:
$ref: '#/components/schemas/TextEmbeddingProcessor'
minProperties: 1
maxProperties: 1
AttachmentProcessor:
Expand Down Expand Up @@ -870,3 +872,22 @@ components:
Specifies the type of the predicted field to write.
Valid values are: `string`, `number`, `boolean`.
type: string
TextEmbeddingProcessor:
allOf:
- $ref: '#/components/schemas/ProcessorBase'
- type: object
properties:
model_id:
$ref: '_common.yaml#/components/schemas/Id'
field_map:
description: |-
Contains key-value pairs that specify the mapping of a text field to a vector field.
type: object
additionalProperties:
type: string
description:
type: string
description: A brief description of the processor.
required:
- model_id
- field_map
Loading