PutAsync Method
PutAsync(TKey, IVectorDocument<TValue>)
Puts the specified vector document into the collection with the specified key.
Declaration
Task<IVectorDocument<TValue>> PutAsync(TKey key, IVectorDocument<TValue> valueIVectorDocument)
Parameters
| TKey | key | The key of the vector document to put. |
| IVectorDocument<TValue> | valueIVectorDocument | The vector document to put into the collection. |
Returns
| Task<IVectorDocument<TValue>> | A task that represents the asynchronous operation. The task result contains the previous vector document associated with the specified key, or null if there was no mapping for the key. |