···55The flow is as follows:
66771. Two fluvio connector services consume wss streams, one for raw-posts and one for raw-likes
88-2. ott-filter consumes the keyed posts, likes stream and keeps count on likes and other filters,
99- upon pass it sends to passing posts to the fluvio topic posts.
1010-3. ott-embed consumes the posts topic, embeds them with tei running on hosts and stores the vectors in a pg cluster
1111-4. ott-xrpc listens to getFeedSkeleton requests, gets the users last like and does a vector gets similar posts from the pg db.
88+2. ott-filter consumes the keyed posts, and likes streams and keeps count on likes and other filters.
99+ It sends the passing posts to the fluvio topic posts.
1010+3. ott-embed consumes the posts topic, embeds them with tei running on host and stores the vectors in a pg cluster
1111+4. ott-xrpc listens to getFeedSkeleton requests, gets the users last likeed post and gets similar posts from the pg db.
12121313Still work in progress, especially the ott-xrpc service isn't fleshed out yet. Also I intend to add a VIP stream so that all posts
1414liked by a feed user are guaranteed to pass the filter.
1515-16151716Then... The original intention was to use FASTopic to get topic vectors for every day in the semantic space and sample within the most relevant topics.
1817This is still the intention.