Giter VIP home page Giter VIP logo

chattercrafting's Introduction

chattercrafting

chattercrafting is a mobile AI chat project using external APIs. This is built with Flutter.

record

You can use APIs including:

  • ChatGPT
  • PaLM

You can also find another version of this project directly on the Playstore , Appsotre too, if you want!

play-store-logo-github appstore-logo-github

Feature

  • AI Chat with your own customized characters using your ChatGPT API.
  • AI Chat with your own customized characters using your PaLM API.

Architecture

diagram

Techs

This table details the primary patterns and packages used in this project.

Tech Usage
Provider pattern Monitor data changes using ChangeNotifier
Firebase Used for Authentication, Firestore (Database), Firebase Messaging (In-app Messaging), and Remote Config
sqflite Used to store chat data as local data
dio Used for requesting API responses over the network. However, a different built-in package, dart_openai, is specifically used for ChatGPT. Dio is primarily used for PaLM.
dart_openai A built-in package for requesting ChatGPT API responses in Flutter
flutter_image_compress Efficiently reduces image size, which is cost-effective for storing images on the server. Demonstrates efficiency with reductions from 2MB to 95kB, without compromising image quality.
tiktoken A built-in package for counting tokens in ChatGPT
flutter_markdown Enables markdown rendering in chat
intl Used for localization. This project is localized in English, Korean, and Japanese.
flutter_secure_storage Stores API keys securely within the app. This package implements a security algorithm to safeguard API keys.

Flutter environment

This project is built fine with the following environment:

[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.19045.3693], locale ko-KR)
    • Flutter version 3.13.2 on channel stable at C:\FlutterSDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (4 months ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

License

This project is licensed under the Apache License 2.0.

chattercrafting's People

Contributors

jhj0517 avatar

Stargazers

 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.