Integrating Ollama, Microsoft vision models and Playwright I've made a simple agent that can browse websites and data to answer your query.
You can even define a JSON schema!
Watch it in action:
Example output:
{ "events": [ { "name": "Sonu Nigam Live in Concert", "date": "Sun, 23 Feb", "location": "Phoenix Marketcity, Bengaluru" }, { "name": "Rambo Circus - Olympian Circus", "date": "Sat, 11 Jan onwards", "location": "Olympian circus, J.P nagar" }, { "name": "Anubhav Singh Bassi Stand-up Comedy", "date": "Sat, 4 Jan onwards", "location": "St. John's Auditorium" }, { "name": "Aakash Gupta - Daily Ka Kaam Hai", "date": "This Weekend", "location": "Prestige Centre" }, { "name": "Japan Habba", "date": "This Weekend", "location": "Phoenix Marketcity, Bengaluru" } ] }
You can see the code here. AI options include Ollama, Anthropic or DeepSeek. All work well but I haven't done a deep comparison yet.
The project is still under development so comments and contributions are welcome!
Top comments (0)