Package com.redis.vl.extensions.router
Class SemanticRouterIndexSchema
java.lang.Object
com.redis.vl.extensions.router.SemanticRouterIndexSchema
Customized index schema for SemanticRouter. Ported from Python:
redisvl/extensions/router/schema.py:86
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexSchema
fromParams
(String name, int vectorDims, String dtype) Create an index schema based on router name and vector dimensions.
-
Field Details
-
ROUTE_VECTOR_FIELD_NAME
Constant for route vector field name- See Also:
-
-
Method Details
-
fromParams
Create an index schema based on router name and vector dimensions. Ported from Python: from_params() (line 90)- Parameters:
name
- The name of the indexvectorDims
- The dimensions of the vectorsdtype
- The data type for vectors- Returns:
- The constructed index schema
-