Class MessageHistorySchema
java.lang.Object
com.redis.vl.extensions.messagehistory.MessageHistorySchema
Schema for message history index.
Matches the Python MessageHistorySchema from redisvl.extensions.message_history.schema
-
Method Summary
Modifier and TypeMethodDescriptionstatic IndexSchemafromParams(String name, String prefix) Creates an IndexSchema for message history with the standard fields.
-
Method Details
-
fromParams
Creates an IndexSchema for message history with the standard fields.- Parameters:
name- The name of the indexprefix- The key prefix for stored messages- Returns:
- IndexSchema configured for message history
-