package milvus
- Alphabetic
- Public
- All
Value Members
-
object
RecordCache
Milvus does not have update capabilities, as the pipeline continuously process Behavior and new embeddings are needed to be inserted, this record cache holds all the IDs of embeddings inserted corresponding to a behavior.
Milvus does not have update capabilities, as the pipeline continuously process Behavior and new embeddings are needed to be inserted, this record cache holds all the IDs of embeddings inserted corresponding to a behavior. during the subsequent update all the IDs are deleted before set of embeddings are inserted
-
object
ServiceClient
interface to interact with the Milvus vector database the ServiceClient.config needs to be set before use
interface to interact with the Milvus vector database the ServiceClient.config needs to be set before use
//use api ServiceClient.config = Util.readConfig(...path to config...) ServiceClient.createCollection ServiceClient.createIndex ServiceClient.createPartition(...name...) ServiceClient.insert(...data...) //example config below "milvus": { "host": "localhost", "port": "19530", "collection": "mdxBehavior", "indexType": "IVF_FLAT", "metricType": "IP", "vectorDim": "256", "sensorIdMaxLength": "100", "indexParam": "{\"nlist\":128}", "partitioningStrategy": "day", "clusterThreshold": "0.9", "triggerInterval": "60 seconds" }