"Relax. Just relax and have fun doing what you're doing. Don't worry so much about being results-oriented. Just commit yourself to the moment." -John Goodman.
I’m going to show you how *incredibly easy* it is to add some AI-magic to the search bar in your sites & apps in 2025 using @typesense.
Say you’re building a cars site & you have a search bar on top. You have cars. Cars have attributes. You have well structured data like make, model, color, year, hp, mileage, etc. Cool.
Along comes a user & types this into your search bar:
“A black SUV with less than 30K miles in Houston for less than 20K”.
☠️🫣
If you’ve built any kind of search experience you probably know how hard it is to map free-form text like that to specific attributes in your dataset.
Like how do you know that 20K is talking about cost, and black is talking about the overall color and not the color of the seats, and then account for the zillion other ways your users can write the same query?
If you haven’t encountered this, let me tell you that it is HARD to use simple full-text search or even fancy semantic search or hybrid search to pull this off.
Traditionally you’d have to train and build what’s called intent detection ML models to do this well.
Ain’t nobody got time for that! 🤓
Enter @Typesense - an open source, cutting edge, light-weight alternative to Elasticsearch / Algolia.
As of v29.0, it now has a built-in feature that cleverly uses the magic of LLMs, to parse your users’ queries, and convert them automatically into a set of filters and sorts, and then executes that query and returns results.
So in our example “A black SUV with less than 30K miles in Houston for less than 20K” gets converted by Typesense automatically into this search query:
Notice how the free-form user query was correctly mapped to the attributes and values in our cars dataset under the hood.
It’s literally one API call to Typesense, to make this magic work:
The curl request will return results like this:
And you’d display those results in your UI.
That’s it. What used to take teams of ML experts, is now one API call away. No PhD required.
You now have an AI-powered search bar that’s ready for the most brazenly complicated user queries.
How about this one:
No problemo!
That get's translated to: 🪄
```
filter_by: "transmission_type:AUTOMATIC"
```
(Only 4 images per tweet, so only text for that one)
Even though `transmission_type` only has
- `Automatic` and
- `Manual`
across all records, Typesense is able to automatically convert the user’s intent in “I don’t know how to drive shift” to the fact that we should only show them vehicles with automatic transmission.
Easy-peasy.
Here’s a step-by-step guide on how to implement Natural Language Search in your own sites and apps:
https://t.co/KUgjTQ9weB
🚀 $baoBTC IS LIVE – A NEW ERA OF DECENTRALIZED BTC ON ETHEREUM! 🔥
The wait is over!
$baoBTC has officially launched, bringing a truly decentralized BTC-pegged asset to Ethereum.
No more relying on centralized custodians as $baoBTC is backed by $ETH, $wstETH, $rETH, and $tBTC, ensuring security, transparency, and full decentralization. 🧵👇
🚨 Big News! 🚨
We've officially partnered with @foxifytrade to unlock an exciting copy trading opportunities for investors and traders.
ApeX is the first to introduce Foxify's newest copy trading engine — Kitsune, which offers:
➡️Investors the chance to mirror the strategies of top traders, reducing risk and boosting the potential for consistent, passive returns.
➡️Traders the opportunity to start with up to $250K in funded capital, keep 80% of their profits and trade with zero fees or KYC requirements.
Ready to take your web3 copy-trading game to the next level? Stay tuned as we drop what we have in store for you!
The Chainlink Developer Virtual Bootcamp is here:
🖥️ Learn the basics of smart contract development, Chainlink, Solidity, and more
⚙️ Live support from expert devs
📅 April 1-12 (2 hrs/day)
100% free and online. Start your Web3 developer journey, no experience required👇
The future of @ethereum seems bright given its spot as the #2 token and the home of innovation in DeFi 🔹
Yet users face a tough choice:
Preserve their $ETH value or seize new opportunities?
Here's how Preon solves this issue 👇
Our CDP lending protocol lets you leverage crypto collateral at 0% interest to access funds without selling assets ✅
How does it work?
1️⃣ Use $WETH or $wstETH on @arbitrum as collateral to borrow our $STAR stablecoin
2️⃣ Put that capital to work while your holdings remain intact
$STAR itself offers reward opportunities like our Aura Finance pool with $USDC on @arbitrum at a powerful APR 🦾
$STAR can also be deposited in our stability pool to get discounted collateral.
As your collateral value appreciates, you can...
🌟 Borrow more over time
🌟 Opt for higher risk/reward by using $STAR to acquire additional $ETH collateral and borrow again
We empower you to leverage without compromise, but be careful to watch your LTV 🚨
Going too high on LTV risks liquidation, so manage risk accordingly ✅
When you close your 0% interest loan, simply repay your $STAR and retrieve 100% of assets deposited! 🔹
As part of the @SphereDeFi ecosystem alongside @dyson_money, Preon is part of a long-term vision of interlinked DeFi innovation generating yield 🔮
An example of how this looks in practice ⬇
🌟 Lock your $SPHERE into $ylSPHERE via @dyson_money
🌟 Earn blue chip tokens like $WMATIC
🌟 Use that as collateral in Preon
Synergy and flexibility 👩🚀
We're only getting started in realizing the full potential of DeFi, and Preon aims to be on the leading edge with our offerings 🦾
Join us as we continue to roll out updates and discuss new opportunities 🤝
Our community is key to informing our path ahead 🫂
Got questions?
Want to lend your perspective?
Jump into the conversation on Discord 👇
https://t.co/qdEMwKiOCu
Don't foorget to watch our latest video on Sphere TV, where @PriceProtocol dissects this same topic!
https://t.co/KYQFJeRTun
Let's build the future of DeFi together 👩🚀
1/4) In Solidity, we make external contract calls all the time.
One crucial aspect that might be easily overlooked is the 'All But 1/64th Rule... aka the '63/64th Rule.'
🔋🪫
UI/UX Designer, If you don't know the principles of UI/UX design animation. In this post, I'll show you the 12 principles of UI/UX design animation that you can use for your next design project.
Reposts are highly appreciated 💜
🌍 Big move for #WiFiMap!
With downloads from China 🇨🇳 skyrocketing by 5x last month, we're excitedly expanding our #DePIN services across Asia. This expansion is a testament to our commitment to global connectivity.
Asia, here we come! 🚀
Buying low-caps early can make your portfolio 100X 📈
The biggest issue is that you can't find the right tokens 🤬
Here are best tools I use daily to build my 10,000% portfolio 🧵