Code Monkey home page Code Monkey logo

gss's Introduction

Gogoro Smart Scooter

Gogoro Smart Scooter is an AI Agent specifically designed for Gogoro scooter owners. The goal is to utilize Generative AI technology to integrate content from various Gogoro Smart Scooter user manuals, creating an intelligent agent that can answer questions related to Gogoro scooters. The content from the user manuals includes text, tables, and images, all of which serve as knowledge sources for the AI Agent. The agent can synthesize these contents to accurately respond to owners' inquiries and clarify incomplete questions through dialogue.

This project was awarded the "Excellence Award (Best)" in the Gogoro category at the "AIWave: Taiwan Generative AI Applications Hackathon".

imag_demo.mp4

Project Features

Streamlit

  • Full-Stack Integration: Built with Streamlit for both front-end and back-end, providing an interactive chat interface for users to engage with the AI agent, supporting chat history and real-time responses (streaming).

LangChain

AI-workflow

  • Agent Construction: Utilizing LangChain to connect Chat LLM and QA LLM. Here are the use cases for each model:
    • Chat LLM: Responsible for interacting with users, recording user information and chat history, guiding users to ask clear questions, and forwarding specific questions to the QA LLM for answers. It also refuses to answer topics unrelated to Gogoro models.
    • QA LLM: Handles RAG (Retrieval-Augmented Generation) searches to find corresponding manual content for specific models, providing accurate answers to vehicle-related questions.

Amazon Bedrock

  • Efficient AI Services: All AI services are deployed using Amazon Bedrock Serverless, achieving high efficiency, low latency, and low cost. The models used and their application scenarios are as follows:
    • Claude 3 Sonnet: The preferred model for Chat LLM, balancing speed and intelligence, driving the AI agent to provide the best user interaction experience.
    • Claude 3 Haiku / llama 3 70B: Used to generate accurate responses based on RAG search results.
      • Haiku: The fastest responding model in the Claude 3 series, ideal for quickly responding to questions.
      • llama 3: Planned for fine-tuning, with support for AWS imported models to seamlessly integrate with the current design pattern.
    • Cohere Embed Multilingual: The preferred embedding model for the knowledge base (RAG), helping to retrieve data sources effectively.

Getting Started

  1. Install the necessary packages:

    pip install -r requirements.txt
  2. Launch the Streamlit application:

    streamlit run app/streamlit_app.py
    

System Architecture

Simple Version

Architecture-Simple

Future Vision

Architecture-Future

Contact

For any questions or suggestions, please contact us via:

License

This project is licensed under the MIT License. See the LICENSE file for more details.

gss's People

Contributors

brlin-o avatar tim7179 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.