Giter VIP home page Giter VIP logo

mylxsw / aidea Goto Github PK

View Code? Open in Web Editor NEW
6.1K 42.0 908.0 72.55 MB

AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP。

Home Page: https://ai.aicode.cc

License: MIT License

Makefile 0.10% Kotlin 0.01% Ruby 0.14% Swift 0.17% Objective-C 0.01% Dart 81.29% CMake 0.93% C++ 1.24% C 0.07% HTML 0.13% JavaScript 15.20% CSS 0.04% Go 0.08% Shell 0.03% Dockerfile 0.01% Batchfile 0.01% Inno Setup 0.58%
ai chatbot flutter gpt gpt-4 stable-diffusion wenxinyiyan tongyiqianwen

aidea's Introduction

AIdea - AI 聊天、协作、图像生成

FOSSA Status GitHub release (by tag) GitHub

一款集成了主流大语言模型以及绘图模型的 APP, 采用 Flutter 开发,代码完全开源,支持以下功能:

  • 支持 OpenAI 的 GPT-3.5,GPT-4 大语言模型
  • 支持 Anthropic 的 Claude instant,Claude 2.1 大语言模型
  • 支持 Google 的 Gemini Pro 以及视觉大语言模型
  • 支持国产模型:通义千问,文心一言,讯飞星火,商汤日日新,腾讯混元,百川53B,360智脑,天工,智谱,月之暗面等
  • 支持开源大模型:Yi 34B,Llama2,ChatGLM2,AquilaChat 7B,Bloomz 7B,轩辕 70B,ChatLaw,Mixtral 等,后续还将开放更多
  • 支持文生图、图生图、超分辨率、黑白图片上色、艺术字、艺术二维码等功能,支持 SDXL 1.0、Dall·E 3 等

image

下载体验地址:

https://aidea.aicode.cc

开源代码:

开发、编译运行环境

搭建开发环境,用来编译和打包 APP,可以参考下面的文章,更多文章后面有时间了会持续更新。

私有化部署

如果你不想使用托管的云服务,可以自己部署服务端,部署请看这里

不想自己折腾,可以找我来帮你部署,详情参考 服务器代部署说明

技术交流

  • 微信技术交流群:3 个群都已满员,添加微信号 x-prometheus 为好友,拉你进群

  • 微信公众号

  • 电报群:点此加入

APP 截图

亮色系

image

暗色系

image

Star History

Star History Chart

License

MIT

Copyright (c) 2023, mylxsw

aidea's People

Contributors

alcoholtobaccocode avatar joyhope avatar leobuaa avatar myafer avatar mylxsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aidea's Issues

编译报错

Launching lib/main.dart on iPhone 14 Pro in debug mode...
Running Xcode build...
Xcode build done.                                           50.9s
Failed to build iOS app
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.

<!--

👋 Welcome!

We’re using Discussions as a place to connect with other members of our community. We hope that you:

  • Ask questions you’re wondering about.
  • Share ideas.
  • Engage with other community members.
  • Welcome others and are open-minded. Remember that this is a community we
    build together 💪.

To get started, comment below with an introduction of yourself and tell us about what you do with this community.

Originally posted by @mylxsw in #5

please

please add a example demo number and password.

关于一些小问题

编辑框输入内容有字数限制
问AI写代码的时候 预览代码框没有 复制 (很麻烦) 我是windows系统的 然后就是那个 文本形式 鼠标选中的时候有时候可以有时候不行 不能滚动选中

其他功能都挺好的 没什么问题。

IOS 应用内购买失败:你的购买无法完成

IOS 应用内购买失败,报错如下

IAPError(code: purchase_error, source: app_store, message: SKErrorDomain, details: {NSLocalizedDescription: An unknown error occurred, NSUnderlyingError: {domain: ASDServerErrorDomain, userInfo: {NSLocalizedFailureReason: 你的购买无法完成}, code: 2037}})

也有人报错如下

IAPError(code: purchase_error, source: app_store, message: SKErrorDomain, details: {NSLocalizedDescription: An unknown error occurred, NSUnderlyingError: {domain: ASDServerErrorDomain, userInfo: {NSLocalizedFailureReason: 找不到此项目。}, code: 3504}})

image

用flutter 3.10,build macos

Running pod install... 2,183ms
Building macOS application...
/Users/hao/ideaProject/aidea/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.6, but the range of supported deployment target versions is 10.9 to 12.3.99. (in target 'FMDB' from project 'Pods')
error: No profiles for 'cc.aicode.flutter.askaide.askaide' were found: Xcode couldn't find any Mac App Development provisioning profiles matching 'cc.aicode.flutter.askaide.askaide'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
** BUILD FAILED **

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.0, on macOS 12.5.1 21G83 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.2.4)
[✓] VS Code (version 1.81.1)
[✓] Connected device (2 available)
[!] Network resources
✗ An HTTP error occurred while checking "https://github.com/": Connection closed before full header was received

翻譯成英文

下午好,是否可以將應用程式翻譯成英文?我在存儲庫中沒有找到任何構建數據。我無法登錄 Android,因為我不明白要輸入什麼以及在哪裡輸入。或者是否有翻譯人員翻譯應用程式的介面?

'WechatOpenSDK-XCFramework' uses the unencrypted 'http' protocol to transfer the Pod

Hello, I encountered an error while building the project:

'WechatOpenSDK-XCFramework' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.

[!] Error installing WechatOpenSDK-XCFramework
[!] /usr/bin/curl -f -L -o /var/folders/85/8fv54d4x1vn5qdk9ttbl25y80000gn/T/d20231210-9383-b0ifwy/file.zip http://dldir1.qq.com/WechatWebDev/opensdk/XCFramework/OpenSDK2.0.2.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.13.0 cocoapods-downloader/1.6.3'

关于复制问题

啥时候能更新个代码框能直接复制 而且目前这个复制也不太友好

apiServerURL is unable to updated from environment.

The code const is wrong.
var url = const String.fromEnvironment( 'API_SERVER_URL', defaultValue: defaultAPIServerURL, );

With the const, the URL is always defaultAPISserverURL, the const should be removed if want to support ENV parameter setup.

[Feature Request] Support InternLM

Dear aidea developer,

我是 InternLM 社区开发者&志愿者尖米, 大佬开源的工作对我的启发很大,希望可以探讨使用 InternLM 实现 aidea 的可能性和实现路径,我的微信是 mzm312,希望可以取得联系进行更深度的交流;

Best regards,
尖米

Please reduce the length of the messages or completion.

聊天请求失败,模型 gpt-3.5-turbo: error, status code: 400, message: This model's maximum context length is 4097 tokens. However, you requested 4444 tokens (444 in the messages, 4000 in the completion). Please reduce the length of the messages or completion.

然而我只是发了几个“你好”,问了一个问题, 我其他项目的使用这个openAI key的时候就没有这个问题.
6131702973162_ pic
6121702973161_ pic
我该怎做才能正常使用,或者默认上下文功能怎么关闭呢?

谢谢.

run on edge or chrome error,how to solve it?

Waiting for connection from debug service on Chrome...
/C:/Users/luo/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fetch_api-1.0.2/lib/src/iterator.dart:24:30: Error: @staticInterop classes cannot have external extension members with type parameters.
Try using a Dart extension member if you need type parameters instead.
external IteratorResult next();
^
Failed to compile application.

编译web版失败

已pull最新代码,编译android版正常,编译web版失败:
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/sqflite_common_ffi_web-0.3.6/lib/src/sqflite_ffi_impl_web.dart:19:7: Error: The non-abstract class 'SqfliteFfiHandlerWeb' is missing implementations for these members:

  • SqfliteFfiHandler.readDatabaseBytesPlatform
  • SqfliteFfiHandler.writeDatabaseBytesPlatform
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class SqfliteFfiHandlerWeb extends SqfliteFfiHandler {
^^^^^^^^^^^^^^^^^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/sqflite_common_ffi-2.3.0+2/lib/src/sqflite_ffi_handler.dart:19:21: Context: 'SqfliteFfiHandler.readDatabaseBytesPlatform' is defined here.
Future readDatabaseBytesPlatform(String path);
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/sqflite_common_ffi-2.3.0+2/lib/src/sqflite_ffi_handler.dart:16:16: Context: 'SqfliteFfiHandler.writeDatabaseBytesPlatform' is defined here.
Future writeDatabaseBytesPlatform(String path, Uint8List bytes);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed to compile application.

1.0.6版本web端编译出错

环境 win11 x64
Dart SDK version: 3.1.3 (stable)
Flutter 3.13.7 • channel stable
报错内容
Launching lib\main.dart on Edge in debug mode...
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fetch_api-1.0.2/lib/src/iterator.dart:24:30: Error: @staticInterop classes cannot have external extension members with type parameters.
Try using a Dart extension member if you need type parameters instead.
external IteratorResult next();
^

mac 软件无法打开

2019 款 mac pro
系统Ventura 13.4
隐私安全已经允许运行当前软件,任然无法打开

android build failure

make build-android

Lots of similar errors.

The binary version of its metadata is 1.9.0, expected version is 1.7.1.

Help to update android build configeration.

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.