Revit & MCP
Githubhttps://github.com/imkcrevit/RevitMCP_Blog IntroductionCurrently, the internet is flooded with various AI-related information. As recent development work involves AI technology, this article introduces the integration method between MCP and Revit to achieve the “one-click modeling” feature in public accounts. This is just one of the possible implementation approaches, and other technical paths exist. However, this method allows for rapid deployment, helping teams quickly explore relevan...
Revit & MCP
Githubhttps://github.com/imkcrevit/RevitMCP_Blog 摘要当前,各类AI相关资讯充斥着网络。由于近期开发工作涉及AI技术,因此撰写本文介绍MCP与Revit的联动方式,实现公众号中的”一句话建模”功能。这只是其中一种实现方案,还存在其他技术路径。不过,这种方法能够快速落地,有助于大家迅速探索相关应用方向。 Function Call在讲MCP之前需要先讲一下Function Call , 这是一个LLM大模型API提供的方式,通过写入Function Call 在LLM交互的时候可以自动选用相应的Function执行。**图片来源:ailydoseofds **以DeepSeek为例,在API中就介绍了Function Call的使用方法 12345678910111213141516171819tools = [ { "type": "function", "function": { "name": "...
Google Chrome Built-in Multimodal Model (Gemini Nano) Local Setup Guide
Google Chrome Built-in Multimodal Model (Gemini Nano) Local Setup GuideThis guide walks you through how to download, configure, and call Google Chrome’s built‑in lightweight multimodal model Gemini Nano in a local environment, enabling offline inference and image understanding. Get started with built-in AI 1. Environment Setup and Experimental Flags1.1 Check model component statusFirst, open chrome://components and search for the keyword “model” to verify whether the model component is enab...
Google Chrome 内置多模态模型(Gemini Nano)本地部署指南
Google Chrome 内置多模态模型(Gemini Nano)本地部署指南本文将指导您如何在本地环境中下载、配置并调用 Google Chrome 内置的轻量级多模态模型 Gemini Nano,实现离线推理和图片识别功能。 开始使用内置 AI 1. 环境配置与实验性功能启用1.1 检查模型组件状态首先,访问 chrome://components 页面,查找关键词 “model” 以确认模型组件是否已启用: 1.2 启用 Prompt API 对话功能导航至 chrome://flags,启用模型和 Prompt API 相关的实验性功能: 1.3 配置多模态访问权限开启 Gemini Nano 模型的访问权限,并将其设置为多模态模式以支持图片解析: 提示:GLIC 是 “Google LLM In Chrome” 的内部代号 配置完成后,点击 Relaunch 按钮重启浏览器。 1.4 配置设备内部服务访问 chrome://on-device-internals/ 页面。首次访问时需要修改访问许可: 点击连接并将状态修改为 Enable 后,页面将自...
Gemini in Chrome 浏览器AI助手
Gemini in Chrome 是由 Google 推出、直接内置于 Chrome 浏览器中的个人 AI 助手。它能够结合当前标签页内容和浏览历史,为你提供即时摘要、内容对比、写作辅助以及任务执行能力,让浏览体验更加智能、高效。参考官方介绍可见:Gemini in Chrome 概览。与Antigravity一样Google还是希望用户作为项目经理去使用AI,所以在使用过程中这种感觉非常明显,不知道是不是我的错觉 结论整体体验比较流畅,我的直观感受是:它更像是“嵌在浏览器里的小爱同学”。 区域限制 目前该功能处于高度受限的测试阶段,仅限美国区域。 即使开启了 TUN 模式(全模式代理),系统仍可能通过设备指纹、系统区域设置或 Google 账号的底层属地信息进行拦截。对于国内用户而言,绕过 VPN 检测的难度较高,这意味着其目前还不是一个“全球通”工具。 从“工具”到“入口” Pro/Ultra 用户的增值: 一旦全面铺开,对于订阅用户而言,Gemini 将不再是一个需要单独打开的网页,而是成为了 Chrome 的“系统级”入口。 上下文感知: 它解决了 A...
Gemini in Chrome: Your Personal AI Assistant Inside the Browser
Gemini in Chrome: Your Personal AI Assistant Inside the BrowserGemini in Chrome is a personal AI assistant from Google that lives directly inside the Chrome browser. It understands the content of your current tabs and browsing history, and can provide instant summaries, content comparisons, writing assistance, and task automation to make your browsing experience more intelligent and efficient. For the official overview, see Gemini in Chrome. Similar to Antigravity, Google clearly expects user...
Chrome DevTools AI Assistant Guide
Chrome DevTools (DevTools) AI Assistant GuideThis article explains how to enable and use the Gemini AI assistant inside Chrome DevTools (shortcut F12). It covers core features such as console error analysis, CSS optimization, network inspection, and code explanation.Reference: devtools-ai-quickstart [!IMPORTANT]This feature is currently only available in the U.S. region and requires a high‑quality VPN connection. The demo environment used in this guide is a GCP (Google Cloud Platform) virtua...
Chrome 开发者工具 (DevTools) AI 助手指南
Chrome 开发者工具 (DevTools) AI 助手指南本文详细介绍了如何在 Chrome 开发者工具(DevTools,快捷键 F12)中启用并使用 Gemini AI 辅助功能,涵盖控制台报错分析、CSS 样式优化、网络监控及代码解释等核心特性。参考链接 : devtools-ai-quickstart [!IMPORTANT]此功能目前仅在美国区域可用,需要使用高质量的 VPN 连接。本指南的演示环境为 GCP(Google Cloud Platform)虚拟机。 1. 功能开启与配置1.1 首次启用首次登录时,Chrome DevTools 默认不显示 Gemini AI 功能标识。按下 F12 打开开发者工具后,可以在设置中启用该功能。 图 1: 开发者工具设置界面 - 启用 AI 助手 1.2 核心功能模块Chrome DevTools AI 助手提供四大核心功能: CSS 样式优化 - 自动分析并优化样式代码 网络监控 - 智能分析网络请求与性能 控制台调试 - 快速诊断控制台错误 代码辅助 - 提供代码解释与优化建议 图 2: AI 助手功能模块...
Git SSH Connection Exception: github.com Resolution Error Caused by WSL2 DNS Hijacking
Git SSH Connection Exception: github.com Resolution Error Caused by WSL2 DNS HijackingSymptomsWhen using Git to push code to GitHub via SSH in a Windows environment, a connection reset error suddenly occurred: 123456$ git pushConnection reset by xxx.xxx.x.x port 22fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. Even more strangely, pushes were working fine the day before, but suddenly failed today. TroubleshootingInit...
Git SSH 连接异常:WSL2 DNS 劫持导致的 github.com 解析错误
Git SSH 连接异常:WSL2 DNS 劫持导致的 github.com 解析错误问题现象在 Windows 环境下使用 Git 通过 SSH 推送代码到 GitHub 时,突然遇到连接重置错误: 123456$ git pushConnection reset by xxx.xxx.x.x port 22fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. 更奇怪的是,前一天还能正常推送,今天却突然失败。 问题排查初步诊断首先测试 SSH 连接: 12$ ssh -T [email protected] reset by xxx.xxx.x.x port 22 检查远程仓库配置: 123$ git remote -vorigin [email protected]:username/repo.git (fetch)origin [email protected]:userna...
AI Skills Organization with Symbolic Links
AI Skills Organization with Symbolic LinksA comprehensive guide to organizing AI coding assistant skills using symbolic links for better project structure and compatibility. Table of Contents Why Use Symbolic Links Project Structure Setup Scripts Step-by-Step Guide Example Skills Troubleshooting Why Use Symbolic Links?The ProblemMany AI coding assistants (Claude Code, Cursor, GitHub Copilot) look for project-specific instructions in different locations: Some use .ai-rules/ Some use .agent/...
使用符号链接组织 AI 技能
使用符号链接组织 AI 技能使用符号链接组织 AI 编码助手技能的综合指南,以实现更好的项目结构和兼容性。 目录 为什么要使用符号链接 项目结构 设置脚本 逐步指南 示例技能 故障排除 为什么要使用符号链接?问题许多 AI 编码助手(Claude Code, Cursor, GitHub Copilot)会在不同位置查找特定于项目的指令: 有的使用 .ai-rules/ 有的使用 .agent/ 有的使用 .cursor/ 有的使用自定义目录 在多个目录中管理相同的技能会导致: ❌ 内容重复 ❌ 同步问题 ❌ 维护开销 解决方案使用符号链接来创建单一事实来源 (Single Source of Truth): 123456789project/├── .ai-rules/ ← 源 (单一事实来源)│ ├── skill-1.md│ └── skill-2.md│└── .agent/ └── skills/ ← 符号链接 → ../.ai-rules ├── skill-1.md (通过链接访问) ...
Antigravity Playground and Multi-Agent Collaborative Development
Antigravity Multi-Agent Collaborative DevelopmentIntroductionAntigravity offers a collaborative Multi-Agent working mode and a Sandbox (Playground) mode for demonstration and development purposes. Use the shortcut Ctrl + E to open Agent Management. PlaygroundAntigravity provides a Sandbox (Playground) mode that can be used for more radical testing or for joint testing of multiple solutions, similar to what I will demonstrate below. I will create a traditional login page and a glass-morphism ...
Antigravity 使沙盒模式和多Agent协同开发
Antigravity 使用多Agent协同开发介绍Antigravity中提供了协同的多Agent工作模式,并且提供沙盒模式用于演示开发 快捷键 Ctrl + E打开Agent Management PlaygroundAntigravity中提供了一个沙盒模式可以用作一些比较激进的测试或是多种方案联合测试,类似于我下面演示的内容,我将会创建一个传统的登录页和glass的动态登录页,其中动态登录页我将会在沙盒中进行演练 他的所有的代码文件都不在当前的项目中,而是存在于上篇文章中提到的plground的文件夹中 通过这种方式可以给使用者提供一个活多个额外的演示内容进行不停的测试,使用的话只需要点击Playground的增加对话即可 Agent协同模式由于Antigravity的设计是希望用户成为一个项目经理,能够将Agent视为员工进行任务分配,所以在Agent管理器中可以设置多任务并行 案例演示介绍以一个简单的登录页面为参照,我再项目中预先设置了Skill , Workflow分别为基础的代码风格和编码步骤进行了整理 Skill这个项目中为了演示不同,我通过Gemini帮我...
Google Antigravity Advanced Technique: Leveraging Skills
Antigravity now supports Skills in its new version, handling project-specific tasks through different skill configurations. This approach is more convenient than setting up Rules and Workflows. The Skills feature mentioned in the official documentation (antigravity.google/docs/skills) is an extremely powerful capability. It allows us to solidify prompts that would otherwise need to be repeatedly entered into the Agent’s “Procedural Knowledge.” I used Skills in Antigravity to generat...
Google Antigravity 高级技巧:利用 Skills
Antigravity 在新版本中也支持了Skills的应用,同样针对与项目设置不同的skill进行处理任务,比设置Rules和Workflow要更加的方便。 官方文档 (antigravity.google/docs/skills) 中提到的 Skills 是一个非常强大的特性。它允许我们将原本需要重复输入的 Prompt 固化为 Agent 的“程序性记忆” (Procedural Knowledge)。 我通过skills在Antigravity中生成一个前端页面,通过将前端开发拆解为“架构师”和“艺术家”两个角色,让 Agent 的输出更加精准和专业。 什么是 Antigravity Skills?简单来说,Skills 就是 Agent 的 SOP(标准作业程序)。在 Antigravity 中,你不需要复杂的配置,只需要在项目中创建一个 .agent/skills 目录,Agent 就会自动检索并学习其中的能力。 实战:构建“架构+审美”双引擎 Skill为了演示这个概念,我在一个空白项目中创建了一个专门用于生成高质量前端页面的 Skill。我没有...
Quickly Migrate Blog Using YingDao
Quickly Migrate Blog Using YingDaoPrefaceI searched for many blog migration tools, but most of them require writing code or using scripts to read HTML for dumping, which often leads to some data confusion in my blog. I hadn’t found a particularly suitable method for quick migration. In August, I came into contact with various RPA tools like YingDao (ShadowBot) and n8n. This time, when creating a new blog, I thought about moving all 170 previous articles from CSDN in one go. Although AI coding...
使用影刀快速迁移博客
使用影刀快速迁移博客前言搜索打开很多博客迁移的工具,但是大部分需要写代码或是通过一些脚本读取html进行转存,这样的话会导致我的博客出现一些数据混乱,一直没有找到一个比较合适方法进行快速迁移。 八月份接触了影刀和n8n各种RPA工具,这次创建了新的博客想着一口气把之前CSDN的170篇文章来一次整体搬家,虽然AI写代码会减少自己造轮子的情况,但是我使用Cursor , Trae 和 Antigravity , 他们给出的答案都是爬虫读取,效果一般 ,所以决定尝试使用PRA工具,结果在简单debug的情况下,大概可以三十分钟写完脚本,开始自动存入读取。 影刀机缘巧合之下接触了影刀,用着感觉非常方便,既方便有变成经验的人写一些脚本,也方便一些非变成经验的人进行编程工作,之前帮助货代公司编写上传一飞或者获取ETA工具的脚本都是用影刀编写,速度和整体应用都很顺畅。 最重要的是个人版免费,对于个人或者小型团队足够了。当然,当程序复杂度上去后还是使用纯代码会方便,所以这个场景在我看来就是应用于demo,固定重复性劳动(Web , Client端没有尝试) 逻辑原因我希望能够完整的将我所有的博...
LLaMA-Factory Gradio Environment Configuration
Reference Video:【DeepSeek+LoRA+FastAPI】How Developers Fine-tune Large Models and Expose Interfaces for Backend Calls After following the blogger’s video installation, I encountered some issues. It might be because the blogger was using Linux, while I am using Windows, or the server rented by the blogger had some basic configurations pre-installed. Therefore, following the steps exactly resulted in some errors. 1. Error: pip install -e ".[torch,metrics]" Check the .condarc configurat...
LLaMA-Factory Gradio 环境配置
参考视频:【DeepSeek+LoRA+FastAPI】开发人员如何微调大模型并暴露接口给后端调用 按照博主的视频安装之后遇到一些问题,可能是博主使用的lunix , 而我使用的是windows又或是博主租用的服务器会有一些基础配置,所以按照步骤安装会报一些错误。 1. pip install -e “.[torch,metrics]”报错 查看.condarc配置文件,将default删除,替换成国内的镜像源 123456789show_channel_urls: truechannels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2envs_dirs: - D:\Software\LLaMA-Factory - e:\llama-factory-domain 2. 运行...







