专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 13763429

sakowicz/actual-ai Docker 镜像 - 轩辕镜像

actual-ai
sakowicz/actual-ai
Categorise transactions in Actual Budget using AI.
2 收藏0 次下载activesakowicz镜像
🚀专业版镜像服务,面向生产环境设计
镜像简介版本下载
🚀专业版镜像服务,面向生产环境设计

🤖 Actual AI

</a>
<a href="[***]">
    
</a>
<a href="[***]" >
    
</a>

This is a project that allows you to categorize uncategorized transactions for Actual Budget using OpenAI, Anthropic, Google Generative AI, Ollama or any other compatible API.

🌟 Features

📊 Classify transactions using LLM

The app sends requests to the LLM to classify transactions based on their description, amount, and notes.

🔄 Sync accounts before classification
🕒 Classify transactions on a cron schedule
❌ When a transaction cannot be classified, it is marked in Notes as "not guessed," and it will not be classified again.
✅ Every guessed transaction is marked as guessed in notes, so you can review the classification.
🌱 Suggest and create new categories for transactions that don't fit existing ones

When enabled, the LLM can suggest entirely new categories for transactions it cannot classify, and optionally create them automatically.

🌐 Web search for unfamiliar merchants

Using the ValueSerp API, the system can search the web for information about unfamiliar merchants to help the LLM make better categorization decisions.

🔎 Free web search alternative

A self-hosted alternative to ValueSerp that uses free public search API (DuckDuckGo) to search for merchant information without requiring an API key or deploying any additional app/service. Just add freeWebSearch to your FEATURES array:

FEATURES: '["classifyOnStartup", "syncAccountsBeforeClassify", "freeWebSearch"]'
🔄 Re-run missed transactions

Re-process transactions previously marked as unclassified.

🚀 Usage

Sample docker-compose.yml file:

yaml
services:
  actual_server:
    image: docker.io/actualbudget/actual-server:latest
    ports:
      - '5006:5006'
    volumes:
      - ./actual-data:/data
    restart: unless-stopped

  actual-ai:
    image: docker.io/sakowicz/actual-ai:latest
    restart: unless-stopped
    environment:
      ACTUAL_SERVER_URL: [***]
      ACTUAL_PASSWORD: your_actual_password
      ACTUAL_BUDGET_ID: your_actual_budget_id # This is the ID from Settings → Show advanced settings → Sync ID
      CLASSIFICATION_SCHEDULE_CRON: 0 */4 * * * # How often to run classification.
      LLM_PROVIDER: openai # Can be "openai", "anthropic", "google-generative-ai", "ollama" or "groq"
      FEATURES: '["classifyOnStartup", "syncAccountsBeforeClassify", "freeWebSearch", "suggestNewCategories"]'
#      VALUESERP_API_KEY: your_valueserp_api_key # API key for ValueSerp, required if webSearch tool is enabled
#      OPENAI_API_KEY:  # optional. required if you want to use the OpenAI API
#      OPENAI_MODEL:  # optional. required if you want to use a specific model, default is "gpt-4o-mini"
#      OPENAI_BASE_URL:  # optional. required if you don't want to use the OpenAI API but OpenAI compatible API, ex: "[***]
#      ANTHROPIC_API_KEY:  # optional. required if you want to use the Anthropic API
#      ANTHROPIC_MODEL:  # optional. required if you want to use a specific model, default is "claude-3-5-sonnet-latest"
#      ANTHROPIC_BASE_URL:  # optional. default: "[***]
#      GOOGLE_GENERATIVE_AI_API_KEY:  # optional. required if you want to use the Google Generative AI API
#      GOOGLE_GENERATIVE_AI_MODEL:  # optional. required if you want to use a specific model, default is "gemini-1.5-flash"
#      GOOGLE_GENERATIVE_AI_BASE_URL:  # optional. default: "[***]"
#      OLLAMA_MODEL=llama3.1 optional. required if you want to use an Ollama specific model, default is "phi3.5"
#      OLLAMA_BASE_URL=http://localhost:***/api # optional. required for ollama provider
#      GROQ_API_KEY:  # optional. required if you want to use the Groq API
#      GROQ_MODEL:  # optional. required if you want to use a specific model, default is "mixtral-8x7b-32768"
#      GROQ_BASE_URL:  # optional. default: "[***]"
#      ACTUAL_E2E_PASSWORD:  # optional. required if you have E2E encryption
#      NODE_TLS_REJECT_UNAUTHORIZED: 0 # optional. required if you have trouble connecting to Actual server 
#      NOT_GUESSED_TAG=#actual-ai-miss
#      GUESSED_TAG=#actual-ai

Feature Configuration

You can configure features in using the FEATURES array (recommended):

The FEATURES environment variable accepts a JSON array of feature names to enable:

FEATURES='["freeWebSearch", "suggestNewCategories", "classifyOnStartup", "syncAccountsBeforeClassify"]'

Available features:

  • webSearch - Enable web search for merchant information
  • freeWebSearch - Enable free web search for merchant information (self-hosted alternative to ValueSerp)
  • suggestNewCategories - Allow suggesting new categories for transactions
  • classifyOnStartup - Run classification when the application starts
  • syncAccountsBeforeClassify - Sync accounts before running classification
  • dryRun - Run in dry run mode (enabled by default)
  • rerunMissedTransactions - Re-process transactions previously marked as unclassified
  • disableRateLimiter - Disable Rate Limiter

Customizing the Prompt

To create a custom prompt, modify the PROMPT_TEMPLATE environment variable to include or exclude variables as needed. Ensure that the Handlebars syntax is correctly used to handle conditional rendering and loops.

Variables
  1. categoryGroups: An array of category group objects. Each category group contains an array of categories.
    • categoryGroup is object with the following properties:
      • id: The ID of the category group.
      • name: The name of the category group.
      • categories: An array of category objects.
        • category is an object with the following properties:
          • id: The ID of the category.
          • name: The name of the category.
  2. amount: The absolute value of the transaction amount.
  3. type: The type of transaction, either 'Income' or 'Outcome'.
  4. description: The notes or description of the transaction. This is taken from transaction.notes.
  5. payee: The name of the payee associated with the transaction. This is found by matching the payee ID in the transaction with the payee list.
  6. importedPayee: The imported payee name from the transaction. This is taken from transaction.imported_payee.
  7. date: The date of the transaction. This is taken from transaction.date.
  8. cleared: A boolean indicating if the transaction is cleared. This is taken from transaction.cleared.
  9. reconciled: A boolean indicating if the transaction is reconciled. This is taken from transaction.reconciled.

New Category Suggestions

When suggestNewCategories feature is enabled, the system will:

  1. First try to classify transactions using existing categories
  2. For transactions that can't be classified, request a new category suggestion from the LLM
  3. Check if similar categories already exist
  4. If in dry run mode (dryRun is enabled), just log the suggestions
  5. If not in dry run mode, create the new categories and assign transactions to them

This feature is particularly useful when you have transactions that don't fit your current category structure and you want the LLM to help expand your categories intelligently.

Tools Integration

The system supports various tools that can be enabled to enhance the LLM's capabilities:

  1. Enable tools by including them in the FEATURES array or by setting ENABLED_TOOLS
  2. Provide any required API keys for the tools you want to use

Currently supported tools:

webSearch

The webSearch tool uses the ValueSerp API to search for information about merchants that the LLM might not be familiar with, providing additional context for categorization decisions.

To use this tool:

  1. Include webSearch in your FEATURES array or ENABLED_TOOLS list
  2. Provide your ValueSerp API key as VALUESERP_API_KEY (required)

This is especially helpful for:

  • New or uncommon merchants
  • Merchants with ambiguous names
  • Specialized services that might be difficult to categorize without additional information

The search results are included in the prompts sent to the LLM, helping it make more accurate category assignments or suggestions.

Dry Run Mode

The dryRun feature is enabled by default. In this mode:

  • No transactions will be modified
  • No categories will be created
  • All proposed changes will be logged to console
  • System will show what would happen with real execution

To perform actual changes:

  1. Remove dryRun from your FEATURES array
  2. Ensure suggestNewCategories is enabled if you want new category creation
  3. Run the classification process

Dry run messages will show:

  • Which transactions would be categorized
  • Which rules would be applied
  • What new categories would be created
  • How many transactions would be affected by each change
查看更多 actual-ai 相关镜像 →
actualbudget/actual-server logo
actualbudget/actual-server
by actualbudget
提供Actual服务器及Web应用,用于部署和运行该服务的Docker镜像。
6410M+ pulls
上次更新:3 天前
jhonderson/actual-http-api logo
jhonderson/actual-http-api
by jhonderson
围绕Actual Budget NodeJS API构建的基础HTTP接口,提供跨语言交互能力,便于在无法导入Node.js库的场景下与Actual服务器实例通信。
1100K+ pulls
上次更新:6 天前
artefactual/gearmand logo
artefactual/gearmand
by artefactual
artefactual/gearmand是基于Alpine Linux构建的Gearman任务服务器镜像,用于将计算任务分发到多台计算机,支持builtin、libmemcached、mysql和redis等多种持久化队列后端。
271M+ pulls
上次更新:10 天前
zachwhelchel/actual-server logo
zachwhelchel/actual-server
by zachwhelchel
暂无描述
10K+ pulls
上次更新:10 个月前

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

oldzhang的头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
sakowicz/actual-ai
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
提交工单
咨询镜像拉取问题请 提交工单,官方技术交流群:13763429
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.