Skip to content

Pinecone integration: MetadataDatasetFields mapping doesn't support array of fields for combining multiple source fields #50

@jirispilka

Description

@jirispilka

When trying to combine multiple source fields into a single metadata field using an array syntax in metadataDatasetFields, the Actor fails with the error: "'list' object has no attribute 'split'".

Current behavior:

  • Single field mapping works: "address": "ubicationAddress" successfully maps the field
  • Combined fields fail: "address": ["ubicationAddress", "address"] throws an error
  • Alternative syntax "address": "ubicationAddress, address" results in empty field

Expected behavior:

Should be able to combine multiple source fields into a single metadata field using array syntax

Example: "address": ["ubicationAddress", "address"] should combine both fields into the address metadata field
This functionality would be useful for cases where we need to combine multiple fields from the source data into a single metadata field, such as combining street address with location data.

Steps to reproduce:

  • Set up an Actor with metadata mapping
  • Configure metadataDatasetFields with array syntax
{
  "metadataDatasetFields": {
    "address": ["ubicationAddress", "address"]
  }
}

Raised in the Pinecone Integration Actor

Metadata

Metadata

Assignees

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