mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 08:48:46 +02:00
43cdcf2ed6
Representation Manager (RMS) serves as a centralized embedding management system, providing SimClusters or other embeddings as facade of the underlying storage or services.
19 lines
482 B
Scala
19 lines
482 B
Scala
package com.twitter.representation_manager.modules
|
|
|
|
import com.google.inject.Provides
|
|
import com.twitter.inject.TwitterModule
|
|
import javax.inject.Named
|
|
import javax.inject.Singleton
|
|
|
|
object LegacyRMSConfigModule extends TwitterModule {
|
|
@Singleton
|
|
@Provides
|
|
@Named("cacheHashKeyPrefix")
|
|
def providesCacheHashKeyPrefix: String = "RMS"
|
|
|
|
@Singleton
|
|
@Provides
|
|
@Named("useContentRecommenderConfiguration")
|
|
def providesUseContentRecommenderConfiguration: Boolean = false
|
|
}
|