Giter VIP home page Giter VIP logo

aidea-server's Introduction

Products

Project Language Stars Forks Remark
AIdea Flutter/Dart AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP
AIdea-Server Go AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP,这是服务端。
AIdea-Docker docker AIdea 的一键部署安装包,采用 docker-compose 实现。

Tutorials

Project Language Stars Forks Remark
🔥 growing-up Markdown 程序猿成长计划
mariadb-ha Shell Mariadb 10.4 + MaxScale + Keepalive HA
redis-ha Shell 主备模式的Redis高可用配置,配合Keepalived实现
keepalived-example Shell Keepalived & LVS 搭建高可用的Web服务
rabbitmq-pubsub-php PHP RabbitMQ发布订阅实战-实现延时重试队列 PHP 示例
rabbitmq-pubsub-java Java RabbitMQ发布订阅实战-实现延时重试队列 Java 示例

Glacier Framework

Project Language Stars Forks Remark
🔥 glacier Go 为 Go 语言设计的基于依赖注入的应用开发框架,为应用提供模块化支持
🔥 go-ioc Go a runtime dependency injection library for Go
redis-event-store Go 为 glacier 框架提供的基于 Redis 作为后端的事件库
distribute-locks Go 为 glacier 框架任务调度器提供的分布式锁实现
giris Go Iris 框架适配 Glacier 框架
eloquent Go Go 版本的 Eloquent ORM 框架(起源于 PHP 最流行的 Laravel 框架)

Projects

Project Language Stars Forks Remark
🔥 wizard PHP 开源文档管理系统,支持 Markdown/Excel/Swagger
🔥 redis-tui Go A Redis Text-based UI client in CLI
🔥 remote-tail Go 同步监控多台服务器日志文件
🔥 heimdall Go MySQL 导入导出工具,支持xlsx/csv/json/markdown/sql 等多种格式
🔥 adanos-alert Go 开源告警通知系统,支持钉钉、邮件、短信、电话告警通知
adanos-mail-connector Go 为 adanos-alert 提供的邮件转换工具,可以接收邮件,转换为 adanos 事件
🔥 healthcheck Go 服务健康检查系统,支持 http/icmp 协议,支持基于 consul 的服务发现
webdav-server Go 一个 Go 语言开发的 WebDAV 服务器,支持 LDAP 集成
🔥 secure-proxy Go 一个前置代理,为企业内部基于 http 协议的服务提供安全访问入口
secure-tunnel Go 一个前置代理,为企业内部基于 tcp 协议的服务提供安全访问入口
apollo-tools Go 一个命令行的小工具,用于获取 Apollo 配置中心的配置,输出到指定文件
consul-kv-migrate Go 用于在两个独立的 Consul 集群之间迁移 KV 数据和比较 KV 差异
universal-exporter Go 一个通用的 Prometheus 维度工具,目前支持从数据库中查询生成 Metric 数据
file-lines-cal Go 用于统计不同文件的总行数,比如统计代码总行数
graphviz-server Docker & Go 一个 Web 服务,封装了对 Graphviz 的接口调用
differ Go 一个命令行工具,用于记录文件内容变更
mysql-diff Go 用于记录 MySQL 数据库系统变量、用户、数据库的变更,生成差异报告
mongo-diff Go 用于记录 MongoDB 数据库系统变量、用户、数据库的变更,生成差异报告
tuna Go 使用 Go 语言开发的短链接生成服务
wizard-migration Go Wizard 数据迁移工具,用于将 ShowDoc 的文档迁移到 Wizard
coyotes Go 异步命令执行队列
date-filter Go 用于筛选当前时间到之前指定的范围内的日志内容的小工具
FileWatcher Go 文件变动监控,在目录下的文件发生变动的时候,自动触发配置的命令

Libraries

Project Language Stars Forks Remark
🔥 asteria Go 为 Go 语言设计的结构化的日志框架
go-utils Go 一些开发中常用的 Go 函数,包含 Slice 和 Map 的 map-reduce 系列函数
sync Go 多台服务器之间文件增量同步系统,带 web 管理界面
sshx Go 一个 Golang 的 SSH 库,封装了 ssh 和 sftp,简化了操作接口

aidea-server's People

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

aidea-server's Issues

图生图运行之后报错

图生图运行之后,七牛回调接口报"token":"","err_code":401,"error":"auth failed: invalid auth type"

支持gpt4all文件解析模型

可以支持gpt4all模型吗?可以加入文件上传分析模型这个现在是很多同类软件的主流。另外那个模型是否可以在管理员客户端设置隐藏或者是显示呢?

默认未设置百度ai的key,服务启动后,系统会初始化调用刷新百度ai token的接口并报错

默认未设置百度ai的key,服务启动后,系统会初始化调用刷新百度ai token的接口并报错
日志里的报错内容如下

{"module":"main","level_name":"ERROR","level":4,"context":{"#package":"github.com/mylxsw/aidea-server/internal/ai/baidu","#file":"D:/go/aidea-server/internal/ai/baidu/badiu.go","#line":32},"message":"refresh baidu ai access token failed: refresh access token failed, status code: 400","datetime":"2023-09-18T08:30:46+08:00"}

阿里云的短信通道不好设置验证码的模板ID

我设置的aliyun 作为单独的短信发送通道
失败提示
{"module":"main","level_name":"ERROR","level":4,"context":{"#file":"D:/go/aidea-server/internal/queue/consumer/provider.go","#line":61,"#package":"github.com/mylxsw/aidea-server/internal/queue/consumer"},"message":"Error processing "sms:verify_code:send": isv.SMS_TEMPLATE_ILLEGAL: 该账号下找不到对应模板","datetime":"2023-09-18T09:52:56+08:00"}

但是前端还是会收到提示 短信发送成功

本地客户端一直连不上本地启动的服务端

服务端成功启动
{"module":"main","level_name":"INFO","level":7,"context":{},"message":"服务启动成功,监听地址为 :8080","datetime":"2024-03-02T21:06:51+09:00"}
客户端也配置好了服务器地址
/// 默认 API 服务器地址
/// 注意:当你使用自己的服务器时,请修改该地址为你自己的服务器地址
//const defaultAPIServerURL = 'https://ai-api.aicode.cc';
const defaultAPIServerURL = 'http://127.0.0.1:8080';

/// API 服务器地址
String get apiServerURL {
var url = const String.fromEnvironment(
'API_SERVER_URL',
defaultValue: defaultAPIServerURL,
);

但是客户端的请求一直连不上服务器,客户端报错信息如下图:
client

编译文件报错 cannot load embed: malformed module path "embed": missing dot in first path element

master 分支执行 go build -o build/debug/aidea-server cmd/main.go 报错:

build command-line-arguments: cannot load embed: malformed module path "embed": missing dot in first path element

执行 go mod tidy,报错如下:

github.com/mylxsw/aidea-server/internal/ai/baidu imports
        gopkg.in/resty.v1 imports
        golang.org/x/net/publicsuffix imports
        embed: malformed module path "embed": missing dot in first path element
github.com/mylxsw/aidea-server/cmd imports
        github.com/mylxsw/glacier/starter/app imports
        github.com/urfave/cli/v2/altsrc imports
        github.com/BurntSushi/toml imports
        io/fs: malformed module path "io/fs": missing dot in first path element
github.com/mylxsw/aidea-server/cmd imports
        github.com/mylxsw/glacier/starter/app imports
        github.com/urfave/cli/v2/altsrc imports
        github.com/BurntSushi/toml tested by
        github.com/BurntSushi/toml.test imports
        testing/fstest: malformed module path "testing/fstest": missing dot in first path element

讯飞星火一直提示hmac报错?

你好,使用一下你的写的这个chatgpt认为挺好的,谢谢分享出来,昨天都搭建好了,就是在讯飞星火一直提示hmac报错?相关接口apikey都成功申请,并且在他们官方测试的代码都可以使用。就是在我们这个代码不能正常使用为什么。

部分接口存在跨域错误

之前所有的接口均会报跨域错误,研究了下框架的问题,新增了代码mw.CORS("*"),(加完了发现代码里面本身就是解决跨域的地方,即第二个红框圈出来的地方),注册阶段的跨域错误解决了,但是需要登录的接口仍然存在跨域错误。
image

image

make build-release出错

项目根目录下执行 make build-release

错误信息:
pkg/misc/misc.go:305:156: cannot use 9999999999 (untyped int constant) as int value in argument to rand.Intn (overflows)

修改:
Line305: rand.Intn(9999999999) -> rand.Int63n(9999999999)

另外在mac下make build 编译成功,但是在ubuntu下编译失败,错误信息:
~/aidea-server# make build
go build -race -ldflags "-s -w -X main.Version=202401171548 -X main.GitCommit=3a4805df090e055c55703f27bd4d34f802846b62 -X main.DEBUG=true" -o build/debug/aidea-server cmd/main.go
build command-line-arguments: cannot load embed: malformed module path "embed": missing dot in first path element
make: *** [Makefile:7: build] Error 1

go开发入门新手,不知道这个怎么解决?
谢谢!

图片转视频功能报文件不存在错误

BuildImageToVideoCompletionHandler 函数中,
targetImage, err := uploader.DownloadRemoteFile(ctx, payload.Image)
if err != nil {
log.WithFields(log.Fields{"payload": payload}).Errorf("download remote file failed: %s", err)
panic(err)
}
报错,文件不存在。
查看七牛云,有原始文件,没有resize之后的tagetimage, ImageToVideo函数中resize之后,有上传七牛吗?

绘图里面分享报错

resolve dependency error: args not instanced: not found in container: key=*auth.UserOptional not found, may be you want auth.UserOptional

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.