AI First: Applications of the Future

Rate this content
Bookmark

Join Evan as he explores the power of AI-first design. Discover how prioritizing AI from the start redefines user experiences and creates a future where AI seamlessly enhances applications across domains. Let's embark on a journey to shape the future of applications in the age of AI!

This talk has been presented at JSNation 2024, check out the latest edition of this JavaScript Conference.

FAQ

The main topic was exploring how to build AI applications that can shape the future by shifting our mindset towards an AI-first approach.

Evan Seaward is the head of engineering at HansonTable.

Evan believes that chatbots have limited potential and that AI applications should aim to solve real-world problems and enhance our lives, rather than just adding chatbots to apps.

Evan suggests that AI applications should augment user abilities, continuously learn from data, and take proactive actions based on user scenarios rather than just responding to prompts.

HansonTable is a data editor featuring an advanced spreadsheet UI and UX.

Evan compared the AI-first approach to the mobile-first shift in application development, emphasizing that applications should be designed with AI at the core from the start.

Evan demonstrated an AI co-pilot for pilots, which could handle tasks such as communicating with air traffic control and monitoring in-flight systems, thereby augmenting the pilot's abilities.

An AI-first approach involves designing applications with AI as the central component, continuously evolving and learning to enhance user experiences and capabilities.

Evan's live demo aimed to show how an AI-first approach can be applied in practical scenarios, such as assisting pilots with various tasks, thereby demonstrating the potential of AI beyond chatbots.

Evan mentioned issues like the limited use of AI in chatbots, the need for more innovative applications, and the ethical concerns around AI making autonomous decisions.

Evan Seaward
Evan Seaward
26 min
13 Jun, 2024

Comments

Sign in or register to post your comment.
Video Summary and Transcription
This talk explores the ways AI is being used to shape the future of applications. It emphasizes the importance of an AI-first approach and the potential for AI to enhance various industries, such as aviation. The talk also contrasts the limitations of the AI-on-top approach with the continuous learning and user-centric focus of the AI-first approach. It discusses the importance of building trust through safety, transparency, and browser-based processing, and highlights the potential of AI to address user experience issues and improve accessibility.

1. Building AI Applications for the Future

Short description:

I'm Evan Seaward, head of engineering at HansonTable, and today I want to talk about exploring the ways we are building with AI and creating AI applications that can shape the future. Currently, many AI applications are limited to chatbots, but we can do so much more. By prioritizing AI and adopting a first-centric approach, we can redefine the future of applications and push boundaries.

I'm Evan Seaward, head of engineering at HansonTable, and we had a great introduction to what we are but we're basically a data editor that has a really cool spreadsheet, UI, UX, but that's not what I'm here to talk to you about today. What I'm here to talk to you about today is I think that, through a change of mind-set, we can sort of explore the ways we are building with AI and create AI applications that are going to, okay, basically, for a change of mind-set, we are all going to be able to build AI applications that are going to create the future together, basically. It is sort of what I'm trying to talk about today, but it is a bit difficult to explain it, so let's instead go through it together, basically.

Actually, I'm on the wrong thing. This is slightly broken. I'm not basically happy with the current state of future together. I believe many of you might share this same sentiment with me. I remember recently watching Back to the Future, and I was quite sad when I realised that we were meant to have flying cars by the year 2015, and it's been nearly ten years since then. I was basically wondering to myself, where is my hover car? Personally, I'm really into planes, and flying, and space, and things like this, and I also remember to myself that it's been 57 years since we had the last flight on the moon. What is this all tying into? It is a good question, but we're going to get there.

One cool thing I think about this AI image that I generated was that it made the kids in this picture all holding the steering wheel, which was quite funny. I don't own a hover car, and I don't have a house on the moon, nor do I vacation on Alpha Centauri, and sometimes, it feels like the best you might achieve is building a supercomputer that calculates the answer to the meaning of life, the universe, and everything. Where is AI basically taking us today? Most people that are building with AI I would say are just building chatbots which has very limited potential, because if all you do is put a chatbot into your application, it is just going to be a chatbot and doesn't make much sense. ChatGPT was one of the fastest-growing, I think probably the most fastest-growing consumer app. It achieved 100 million users in about two months, which is crazy. This is why we have so much traction behind AI and why everything is growing so rapidly and why everybody is doing that. I think we can do much more than just chatbots. Is it really the pinnacle of what we can do in 2024?

This is why, before I was talking about hover cars and space, I believe we can really push the boundaries, and when building with AI, we should really be thinking about how can we really change the future, because we are currently not doing that, I think, if all we are doing is adding a chatbot into our app. So, basically, aim higher to use AI to enhance our life, or solve real-world problems, so reignites our push for innovation and push boundaries, basically. I think one really good thing to look back at when it comes to this is looking back at the mobile first shift which occurred. I think it's a little bit similar. It's hard to draw the similarity first, but basically, applications that adopted mobile first reshaped the industry, and we were able to push much quicker with that, but when it comes to applications that were building mobile on top as an afterthought, it didn't really work very well. So, this is sort of the shift that we are starting to see. We're sort of re-exploring this space, because probably as we are all developing applications now, we like to think we are somewhat mobile first, but we're not really most of the time. We sort of just still mostly an afterthought, but we know these UX patterns and design patterns that work well now. So, what we sort of need to figure out is how to do this with AI, and how to build an application that really takes advantage of all of this sort of stuff. I think it's another way of framing it as like a first-centric approach is what we need to do, and basically, if we configure this out, we can define a new future of applications and AI in general. Basically, we need to prioritise AI to sort of lead us into this new future of applications and not fall behind like a lot of companies were that didn't really adopt mobile or stay there like old ways. I think this is the simplest way of boiling it down, is there's two ways. There's building on top, so this is how most people might be introduced to ChatGPT.

2. Exploring AI Interfaces and Enhancing Industries

Short description:

An AI-first approach involves continuously evolving and assuming that what we build will change. Similar to the mobile-first shift, we need to prioritize interfaces with AI and explore ways to improve various industries, such as aviation. By embedding models and using voice transcription, we can enhance pilots' jobs and push the boundaries of AI applications.

I remember when ChatGPT came out, and it got really popular, it was like, let's put it in our application, and now we have an AI start-up, is the bit of the joke there. But this doesn't really involve much imagination of how we can actually go ahead and build an application, and I think it's very difficult to figure this out yet because nobody's really doing it too much, and we just need to find its way. An AI-first approach is basically we need to assume the AI is going to continuously evolve and change, and it's hard to predict the future, but we need to assume what we're building is going to change. I think it's a little bit like the mobile-first shift from the start.

There's a building on top, like adding things in half-baked, even though we probably all successfully make a website with this mobile-first added in last. This was me many years ago, at age 16, before I decided to even drive a car, I decided to fly a plane, and it's fascinating to think that there could be 16-year-olds above us right now flying planes, but probably most of us don't really know, and probably scared a few people, but one interesting thing is we wouldn't really trust a 16-year-old kid to go fly a plane, but it's happening, and the question is would we trust an AI to completely fly our planes and all these type of things? I personally would, but probably it terrifies a lot of people. What I'm going to do now is show a little thing I was building.

What's interesting about this is many things. What I originally wanted to do for this talk was show you how to take my voice and split it up into little two-second chunks and send it off into the cloud and get it transcribed, and then I would be talking to, say, Chachi or whatever LLM we might want, but I was afraid of the connectivity here, and would it fail, et cetera, so instead what I ended up doing is you probably notice in this little browser tab here we have voice recording going on, but what I have is I have a model actually embedded into my browser and it's going to transcribe my voice as I'm talking. I might need to duck down a tiny bit to actually talk to the computer as I go ahead and do this but so what is this? Basically the idea behind this was I like flying planes and I was curious what would a pilot be, like what would a pilot need for a co-pilot? I know as a programmer what I would want from a GitHub co-pilot but how could we improve a pilot's job with flying? This is just a hypothetical thing. It's a little bit hard to imagine what a pilot might be doing in a plane but usually they have a tablet strapped to their leg and this has all their data on their flight and all this sort of thing, so imagine this is strapped to the pilot's leg and hopefully this works fine so I'm going to... Could you please tell me the flight plan today? So basically, yeah, perfect. That was complete, the transcription was bad but anyway I'll start again. Could you please tell me the flight plan today? Yeah, I need to get a bit closer. Could you please tell me the flight plan today? Okay, so that's simple. I'm just talking to an LLM but that's not really what I'm trying to talk about, I'm saying get away from chats. So I'm just showing you a chat. Let's go into a little bit more. What I'm trying to think of is how can we use interfaces with AI, but one more note. What's really cool about this is this transcription is happening purely in your browser, so you could in theory do this completely offline if you were able to also have like another LLM embedded or even on your computer. Okay, so the next thing I'm going to do is... I'm looking at two screens. Okay. Could you run me through the pre... I'm clicking the wrong button. This is my debugging chat as a thing. Could you please run me through the preflight... I missed the button. There we go. No, I didn't.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Watch video: The Rise of the AI Engineer
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
Web Apps of the Future With Web AI
JSNation 2024JSNation 2024
32 min
Web Apps of the Future With Web AI
Web AI in JavaScript allows for running machine learning models client-side in a web browser, offering advantages such as privacy, offline capabilities, low latency, and cost savings. Various AI models can be used for tasks like background blur, text toxicity detection, 3D data extraction, face mesh recognition, hand tracking, pose detection, and body segmentation. JavaScript libraries like MediaPipe LLM inference API and Visual Blocks facilitate the use of AI models. Web AI is in its early stages but has the potential to revolutionize web experiences and improve accessibility.
Code coverage with AI
TestJS Summit 2023TestJS Summit 2023
8 min
Code coverage with AI
Codium is a generative AI assistant for software development that offers code explanation, test generation, and collaboration features. It can generate tests for a GraphQL API in VS Code, improve code coverage, and even document tests. Codium allows analyzing specific code lines, generating tests based on existing ones, and answering code-related questions. It can also provide suggestions for code improvement, help with code refactoring, and assist with writing commit messages.
Building the AI for Athena Crisis
JS GameDev Summit 2023JS GameDev Summit 2023
37 min
Building the AI for Athena Crisis
Join Christoph from Nakazawa Tech in building the AI for Athena Crisis, a game where the AI performs actions just like a player. Learn about the importance of abstractions, primitives, and search algorithms in building an AI for a video game. Explore the architecture of Athena Crisis, which uses immutable persistent data structures and optimistic updates. Discover how to implement AI behaviors and create a class for the AI. Find out how to analyze units, assign weights, and prioritize actions based on the game state. Consider the next steps in building the AI and explore the possibility of building an AI for a real-time strategy game.

Workshops on related topic

AI on Demand: Serverless AI
DevOps.js Conf 2024DevOps.js Conf 2024
163 min
AI on Demand: Serverless AI
Top Content
Featured WorkshopFree
Nathan Disidore
Nathan Disidore
In this workshop, we discuss the merits of serverless architecture and how it can be applied to the AI space. We'll explore options around building serverless RAG applications for a more lambda-esque approach to AI. Next, we'll get hands on and build a sample CRUD app that allows you to store information and query it using an LLM with Workers AI, Vectorize, D1, and Cloudflare Workers.
AI for React Developers
React Advanced 2024React Advanced 2024
142 min
AI for React Developers
Featured Workshop
Eve Porcello
Eve Porcello
Knowledge of AI tooling is critical for future-proofing the careers of React developers, and the Vercel suite of AI tools is an approachable on-ramp. In this course, we’ll take a closer look at the Vercel AI SDK and how this can help React developers build streaming interfaces with JavaScript and Next.js. We’ll also incorporate additional 3rd party APIs to build and deploy a music visualization app.
Topics:- Creating a React Project with Next.js- Choosing a LLM- Customizing Streaming Interfaces- Building Routes- Creating and Generating Components - Using Hooks (useChat, useCompletion, useActions, etc)
Leveraging LLMs to Build Intuitive AI Experiences With JavaScript
JSNation 2024JSNation 2024
108 min
Leveraging LLMs to Build Intuitive AI Experiences With JavaScript
Featured Workshop
Roy Derks
Shivay Lamba
2 authors
Today every developer is using LLMs in different forms and shapes, from ChatGPT to code assistants like GitHub CoPilot. Following this, lots of products have introduced embedded AI capabilities, and in this workshop we will make LLMs understandable for web developers. And we'll get into coding your own AI-driven application. No prior experience in working with LLMs or machine learning is needed. Instead, we'll use web technologies such as JavaScript, React which you already know and love while also learning about some new libraries like OpenAI, Transformers.js
Llms Workshop: What They Are and How to Leverage Them
React Summit 2024React Summit 2024
66 min
Llms Workshop: What They Are and How to Leverage Them
Featured Workshop
Nathan Marrs
Haris Rozajac
2 authors
Join Nathan in this hands-on session where you will first learn at a high level what large language models (LLMs) are and how they work. Then dive into an interactive coding exercise where you will implement LLM functionality into a basic example application. During this exercise you will get a feel for key skills for working with LLMs in your own applications such as prompt engineering and exposure to OpenAI's API.
After this session you will have insights around what LLMs are and how they can practically be used to improve your own applications.
Table of contents: - Interactive demo implementing basic LLM powered features in a demo app- Discuss how to decide where to leverage LLMs in a product- Lessons learned around integrating with OpenAI / overview of OpenAI API- Best practices for prompt engineering- Common challenges specific to React (state management :D / good UX practices)
Working With OpenAI and Prompt Engineering for React Developers
React Advanced 2023React Advanced 2023
98 min
Working With OpenAI and Prompt Engineering for React Developers
Top Content
Workshop
Richard Moss
Richard Moss
In this workshop we'll take a tour of applied AI from the perspective of front end developers, zooming in on the emerging best practices when it comes to working with LLMs to build great products. This workshop is based on learnings from working with the OpenAI API from its debut last November to build out a working MVP which became PowerModeAI (A customer facing ideation and slide creation tool).
In the workshop they'll be a mix of presentation and hands on exercises to cover topics including:
- GPT fundamentals- Pitfalls of LLMs- Prompt engineering best practices and techniques- Using the playground effectively- Installing and configuring the OpenAI SDK- Approaches to working with the API and prompt management- Implementing the API to build an AI powered customer facing application- Fine tuning and embeddings- Emerging best practice on LLMOps
Building AI Applications for the Web
React Day Berlin 2023React Day Berlin 2023
98 min
Building AI Applications for the Web
Workshop
Roy Derks
Roy Derks
Today every developer is using LLMs in different forms and shapes. Lots of products have introduced embedded AI capabilities, and in this workshop you’ll learn how to build your own AI application. No experience in building LLMs or machine learning is needed. Instead, we’ll use web technologies such as JavaScript, React and GraphQL which you already know and love.