Back to cases

GenAI-powered voice assistant for Tesla

We developed and integrated a voice assistant powered by generative AI (GenAI) into the client’s automotive infotainment system, streamlining interactions for Tesla drivers and increasing safety.

ai powered voice assistant for cars
ai powered voice assistant for cars

    Client and challenge

    Our client, Kilowatts Co., has developed an infotainment application that enables Tesla owners to interact with their vehicles while driving. The Kilowatts app plans trips in a way that allows drivers to find charging points and order items from nearby stores and restaurants, whether at the next charging point, along the route, or at their final destination. It also offers users rewards for each kWh they charge, providing the opportunity to spend those rewards on orders within the app.

    Although Kilowatts was well-received by its target audience, it required manual input, which distracted drivers from driving and created safety risks. To avoid driver distraction and ensure safety while using the app, the client wanted to integrate a GenAI-powered voice assistant into the software. After examining several of our AI-focused projects, Kilowatts Co. confidently enlisted our expertise.

    • Client

      Kilowatts Co.

    • Country

      USA

    • Solution

      GenAI-powered voice assistant

    • Domain

      Automotive

    • Outsourcing model

    • Technology

      .NET 8, Node.js, Go

    Solution

    Our developers created a voice assistant and integrated it into Kilowatts, expanding the app’s existing functionality with additional features. The assistant’s back-end architecture was built as microservices and deployed on Microsoft Azure. To enable real-time voice streaming and processing, our team incorporated the OpenAI Realtime API powered by GPT-4o-Realtime large language model (LLM) and natural language processing (NLP) techniques like sentiment analysis.

    The voice assistant, with the Realtime API at its core:

    • Triggers continuous audio streaming while also transcribing audio to text with a built-in mechanism. This ability reduces latency, establishes natural conversation flow, and increases accuracy.
    • Captures and preserves distinctive phonetic features, such as intonation, pace, pitch, accent, and others.
    • Demonstrates a solid understanding of various topics, contexts, idioms, indirect requests, and more.
    • Supports function calling, enabling the voice assistant to interpret driver requests, identify underlying intent, and create appropriate responses tailored to drivers’ emotional conditions.
    • Uses function calling to connect LLMs with third-party APIs to execute various commands—from ordering items and booking hotel rooms to finding charging stations and creating navigation routes.
    • Ensures hands-free voice interactions, eliminating the need to tap the screen on the infotainment system, thereby increasing safety for drivers.
    Whether you need content creation, language translation and localization, text mining, or customer sentiment analysis, EffectiveSoft’s certified AI engineers develop responsible LLMs for your specific use cases.

    Features

    Order creation

    We incorporated an order creation feature that lets Tesla drivers use voice input to search for stores, hotels, and restaurants and order coffee or other take-out orders, which significantly saves time and increases convenience.

    Order creation workflow

    The ordering process through the assistant includes the following steps:

    1. The Tesla driver says a command, for example, “Find a nearby café.”
    2. The driver’s voice is sent directly to the Realtime API as audio streams.
    3. The voice assistant captures the incoming audio streams to determine the appropriate function and extract the necessary arguments to fulfill the driver’s request. In this scenario, the function is “find_store,” while café names, coordinates, and other parameters serve as the arguments.
    4. The assistant then sends a request to the backend to perform the required function using the given arguments.
    5. The backend processes the request and invokes third-party services or APIs, such as the MealMe API and OpenAI, to retrieve a list of nearby restaurants and create an order.
    6. The backend returns the result of the function execution in text format, which is then processed by the voice assistant and converted into audio streams, providing a list of nearby restaurants.
    7. The user selects the café by vocalizing their choice, and the assistant recommends the next step—navigating to the café or ordering something. If the driver chooses to place an order, the software provides the menu and suggests product customizations, for example, specifying cream for coffee.
    8. Once the user chooses the product and customizations, the voice assistant sends a request to the backend to obtain the final quote. Upon confirmation, the software requests the backend to place the order and complete the payment process.

    AI Development Services

    Explore the possibilities of AI!

    Route planning and navigation

    We added a new feature that allows the GenAI-powered voice assistant to create routes and send them to the vehicle’s navigation system. The assistant recommends only the most efficient route in given conditions, requiring no manual input and avoiding distractions. Below, we provide the technical details of how this feature works.

    Navigation to charging stations

    Navigation to charging stations is another functionality our developers incorporated into Kilowatts. After receiving a command, the voice assistant calls the function “find_chargers” and relays arguments, such as charging speed (high- or low-power), location (current, along the route, or at the destination), and desired amenities (cafés, shops, hotels, dog-friendly restaurants, or restrooms) to the backend. The latter relies on external services, such as the Iternio API, to complete the request according to the driver’s preferences. Capitalizing on this feature allows drivers to easily identify the nearest charging station, keeping their Teslas on the go as long as needed.

    Battery level control

    The GenAI-driven voice assistant we built includes a feature for battery level control. By asking the driver in advance about the desired energy level at the destination, the software constructs the route to maintain battery capacity as requested. This feature helps optimize routes, reduce energy consumption, and minimize the risk of power loss in remote areas.

    Proactive suggestions

    Another feature the Kilowatts app now offers is the ability to anticipate driver needs. The voice assistant adapts in real time to changing conditions and offers proactive suggestions, which increases user engagement and improves the driving experience. For instance, the system can recommend nearby stores, charging stations, and restaurants based on the current location, battery level, and driver’s previous preferences.

    example of a voice assistant based on GenAI working in a car

    Result

    EffectiveSoft’s team met all the client’s objectives and successfully completed the project. We developed an intelligent, GenAI-driven voice assistant—fueled by the OpenAI Realtime API—that allows for voice-based interactions and fulfills various requests for Tesla drivers, enabling them to stay focused on the road. We evolved the Kilowatts app into not just a voice assistant that improves safety through hands-free interactions but an invisible AI companion that engages with drivers, deeply understands and anticipates their needs, and demonstrates empathy.

    Still have questions?

    Can’t find the answer you are looking for? Contact us and we will get in touch with you shortly.
    Get in touch now!

    Tech stack

    • Architecture

      • Microservices
      • Event-Driven
    • Operating systems

      • Linux
    • Frameworks

    • Runtime environment

    • Programming languages

    • Technologies

      • RESTful APIs
      • WebSockets
      • Azure Functions
    • Virtualization

      • Docker
    • Infrastructure (Cloud)

      • Azure
    • Event and messaging

      • Azure EventGrid
      • Azure Event Hubs
    • Data storage and querying

      • Azure Cosmos DB
      • Azure Blob Storage
    • Payment providers

      • Stripe
    • Artificial intelligence

      • OpenAI Chat
      • OpenAI Assistant
      • OpenAI Realtime
      • LangChain
    • External services

      • Tesla (Fleet API, Command SDK, Telemetry)
      • Iternio
      • MealMe
    • User authentication

      • Tesla OAuth2
      • Azure B2C
    • Mobile applications

      • iOS (Swift)
      • SwiftUI+UIKit
      • Combine
      • MapKit
      • Alamofire+URLSession
      • Keychain
      • Stripe
      • Firebase

    Contact us

    Our team would love to hear from you.

      Order an IT consultation

      Fill out the form to receive a consultation and explore how we can assist you and your business.

      What happens next?

      • An expert contacts you shortly after having analyzed your business requirements.
      • If required, we sign an NDA to ensure the highest privacy level.
      • A Pre-Sales Manager submits a comprehensive project proposal. It may include estimates, timelines, lists of CVs, etc., for a particular situation.
      • Now, we can launch the project.

      Our locations

      Say hello to our friendly team at one of these locations.

      Join our newsletter

      Stay up to date with the latest news, announcements, and articles.

        Error text
        title
        content
        View project