Overview
Operators are used to match on specific Post attributes. There are two types:- Standalone operators — Can be used alone or with any other operators
- Conjunction-required operators — Must be used with at least one standalone operator
Keyword and phrase operators
Entity operators
User operators
URL operators
Context and entity operators
User profile operators
Location operators
Post type operators
Content type operators
Sampling and language operators
User metrics operators
Post reference operators
Logical operators
Semantic operators
Requires Embedding tierThe
embedding: and embedding_threshold: operators require Embedding tier access on your Enterprise Filtered Stream instance. If not provisioned, rule creation will fail with an “‘embedding’ is not an available operator” error.Key requirements and notes
embedding_threshold:cannot be the only operator in a rule. Pair it withembedding:(or another standalone operator).- Do not negate
embedding:(e.g.-embedding:"..."is unsupported). - Longer, descriptive natural language queries produce better results than short keywords.
- Embedding query processing is asynchronous — newly created rules may take a few seconds before they begin matching.
- When a Post matches via an embedding rule, the delivered payload’s
matching_rulesentries will containembedding_similarityandembedding_threshold(see Matching Posts to Rules).
embedding:"electric vehicle announcements" lang:en -is:retweet has:linksembedding:"natural disaster relief" embedding_threshold:0.45 has:mediaembedding:"renewable energy" embedding_threshold:0.4 OR embedding:"solar power investment"
Supported languages
Thelang: operator supports these BCP 47 language codes:
Next steps
Build a rule
Learn rule syntax and best practices
Filtered Stream introduction
Get started with Filtered Stream
Handling disconnections
Handle streaming disconnections