tigergraph__upsert_vectors
Upsert multiple vertices with inline vector data to a specified vertex type and attribute using the REST API. Accepts a list of vertex IDs, vectors, and optional attributes.
Instructions
Upsert multiple vertices with vector data using the REST Upsert API. Vectors must be provided inline as lists of floats (i.e., already in memory). To bulk-load vectors from a local file, use 'load_vectors_from_csv' or 'load_vectors_from_json' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| vectors | Yes | List of vectors to upsert, each with vertex_id, vector, and optional attributes. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. | |
| vertex_type | Yes | Type of the vertices. | |
| vector_attribute | Yes | Name of the vector attribute. |