appmixer.pinecone.database.InsertVectors
1.0.0
Public
| Field | Type | Description |
|---|---|---|
| Index | text | The name of the index. |
| Namespace | text | The namespace of the index. A namespace is a partition within an index. It divides records in an index into separate groups. |
| Vectors | text | This is an array where each item is an object with 'id', 'values' and 'metadata' properties. The 'id' is a unique identifier for the vector. The 'values' is an array of floating point numbers representing the vector. The 'metadata' is an object with key-value pairs. For example: [{ 'id': 'vec1', 'values': [1.0, 2.0, 3.0], 'metadata': { 'text': 'My Chunk' } }]. If you use the Generate Embeddings component, you can use the 'Embeddings' output variable and apply the following JSONata expression in the JSONata modifier to end up with the right format of the Vectors array: $[]#$i.{ "values": $.vector, "id": & $millis() & ($i + 1), "metadata": { "text": $.text } }. |
| Field | Type | Description |
|---|---|---|
| Upserted Count | - |