Skip to content

Commit

Permalink
Merge pull request #4 from Sanotsu/feat_ai_suggestion
Browse files Browse the repository at this point in the history
feat: 引入零一万物AI大模型,饮食日志模块可使用AI对话形式来提供分析建议
  • Loading branch information
Sanotsu authored Jul 13, 2024
2 parents eab8987 + bd3d640 commit d87f623
Show file tree
Hide file tree
Showing 82 changed files with 4,438 additions and 444 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ ios

# 旧的说明文件,当成开发记录
**/_old_readme/*

**bak*
**_self*
34 changes: 17 additions & 17 deletions .metadata
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
channel: stable
revision: "761747bfc538b5af34aa0d3fac380f1bc331ec49"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: android
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: ios
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: linux
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: macos
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: web
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
- platform: windows
create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49

# User provided section

Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

All notable changes to this project will be documented in this file.

## 0.2.0-beta.1

- feat:
- 加入了“零一万物”AI 大模型的使用:
- 增加在`“饮食”模块-“饮食日记”`中,对每天摄入食物和营养素,提供 AI 分析和问答建议
- 增加在`“饮食”模块-“餐食相册”/“饮食日记”指定餐次照片`,对每餐的指定食物图片进行 AI 图像分析(仅仅单张),并支持问答式饮食建议
- 新增餐食相册上传文件保存在设备外部存储
- 即图片不放在`Android/data/……`目录下,app 卸载重装后,备份恢复后可以正常显示餐食图片。
- chore:
- 升级 flutter 从 3.16.3 到 3.22.2,修正对应 Android 配置和标记为弃用的部分代码
- 升级相关依赖,尤其是 fl_chart、flutter_tts、flutter_quill 不兼容的部分
- 修正版本号命名规则(主版本从第三位挪到第二位)
- fix:
- 修正 Android 下未在`AndroidManifest.xml`中正确申请网络和文件读取权限的问题
- 修正 Android14 等高版本系统,存储权限申请方式不规范的问题
- 现在高版本 Android 下,“备份恢复”-“全量备份”、运动模块-“基础动作”和饮食模块-“食物成分”的导入正常可用了

## 0.0.1-beta+1(0.0.1-beta)

首次打包版本,基本完成了预想的所有功能:

- 运动模块
- 运动报告
- 基础动作
- 训练做组
- 周期计划
- 饮食模块
- 饮食报告
- 食物成分
- 餐食相册
- 饮食日记
- 手记模块
- 用户设置
- 用户基本信息
- 体重记录管理
- 摄入目标设置
- 备份恢复
- 语言和主题切换,等
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [说明](#%E8%AF%B4%E6%98%8E)
- [版本更新](#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0)
- [功能说明](#%E5%8A%9F%E8%83%BD%E8%AF%B4%E6%98%8E)
- [运动模块](#%E8%BF%90%E5%8A%A8%E6%A8%A1%E5%9D%97)
- [基础动作](#%E5%9F%BA%E7%A1%80%E5%8A%A8%E4%BD%9C)
Expand All @@ -29,10 +29,16 @@

# 说明

Free-Fitness 是使用 flutter(v3.16.2) 开发的集运动训练、饮食记录、日记编写等功能为一体的健身饮食记录管理 App。
Free-Fitness 是使用 flutter 3.x 开发的集运动训练、饮食记录、日记编写等功能为一体的健身饮食记录管理 App。

此 App 适合拥有运动健身、减肥增肌、随手记录等需求的辅助使用。所有数据全部在本地,无需联网,且默认无内置数据,自定性比较灵活。

## 版本更新

- 2024-07-13 `0.2.0-beta.1`
- 主要接入零一万物 AI 大模型,对饮食记录进行 AI 分析和问答式提供建议。
- 更多改动参看[CHANGELOG](CHANGELOG.md)

## 功能说明

对于保持健康身体的最普遍要求,是合理的饮食与锻炼。主要功能如下:
Expand Down
Loading

0 comments on commit d87f623

Please sign in to comment.