Anatomy of a token/predicate in a neuro-symbolic system. A way to represent predicates as embeddings in order to achieve the precision of the logical world along with the speed of today’s AI systems.
#AI #agents #LLM #token #predicate #logic
Latest posts tagged with #Predicate on Bluesky
Anatomy of a token/predicate in a neuro-symbolic system. A way to represent predicates as embeddings in order to achieve the precision of the logical world along with the speed of today’s AI systems.
#AI #agents #LLM #token #predicate #logic
Learn how Swift’s #Predicate enables type-safe, compile-time-checked database filtering in SwiftData—and how to avoid common comparison errors. #swift
Java supports the "Predicate" functional interface for defining a boolean expression as a parameter of a method 🚀!
By using this, you can define criteria per method call 🔥!
jasonxiii.pl/predicate-w-...
The entire article is in Polish 🇵🇱.
#jason #java #programming #coding #learning #predicate
Yeah, there's even some nice #Predicate enhancements from last year, but all iOS 18+ only
Woof - implementing the generic App Entity queries for SwiftData entities really highlights all of the shortcomings of the #Predicate macro. This is soooooo much harder than it should be.
I learned a lot about #Expression macro for #SwiftData the last days, but why can a Predicate not contain only a single expression?
❌
#Predicate { record in
checkAccount.evaluate(record, account)
}
✅
#Predicate { record in
checkAccount.evaluate(record, account) && true
}
trying to write a #SwiftData #Predicate on a many to many relationship in a iCloud-backed Schema and it seems impossible.
to be iCloud-backed, the relationships must be optional, but getting the compiler to recognize unwrapping of the optional array seems to never work.
Anyone ever done it?
you need to initialize Query in the init of the view
init(mood: Mood) {
_query = Query(filter: #Predicate…)
}
5/ If you need a FetchDescriptor with a predicate that filters based on another @.Model, you can't use the model directly.
You need to rely on something that uniquely identifies your record (and capture that value outside the #Predicate)
1/ how to build a #Predicate when a model has an optional enum and you want to filter records based on a collection of values.
The iOS Simulator displays a list titled Users, showing names Ed Sheeran, Johnny English, Rosa Diaz, and Roy Kent. Each name is in a row with a right-facing arrow, and a plus icon is at the top right for adding users.
Starting a new project for Day 57, so don’t have much to show so far. We’re learning how to edit SwiftData objects with SwiftUI and filter data using #Predicate. #100DaysOfSwiftUI
2/40
👉 praedicationem ( L= praedicationis ) non recipiens " 🌐
" [ The Deity ] is #Intellect of Itself, It does Not Receive a #Predicate ie Attribute / #Quality. "
" Dieu est intellect de lui-même, sans recevoir le propre du prédicat "
👇