Skip to content

[BUG] SetProcessor.value's type is Record<string, any> but should be string #1034

@bestickley

Description

@bestickley

What is the bug?

SetProcessor.value's type is Record<string, any> but should be string

How can one reproduce the bug?

await osClient.ingest.putPipeline({
    id: ingestPipelineName,
    body: {
      processors: [
        {
          set: {
            field: "content",
            value: "{{{title}}} {{{description}}}",
          },
        },
        {
          text_embedding: {
            field_map: {
              content: "content_vector",
            },
            model_id: osModelId,
          },
        },
      ],
    },
  });
}

What is the expected behavior?

No TS error.

What is your host/environment?

macOS, 3.5.1

Do you have any screenshots?

Image

Do you have any additional context?

Add any other context about the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions