结合本地文件 帮我看一下这个文档 给我一些洞察 > ## Documentation Index Fetch the complete documentation index…
- User
结合本地文件 帮我看一下这个文档 给我一些洞察 > ## Documentation Index
Fetch the complete documentation index at: https://docs.factory.ai/llms.txt Use this file to discover all available pages before exploring further.
Bring Your Own Key (BYOK)
Connect your own API keys, use open source models, or run local models
Factory CLI supports custom model configurations through BYOK (Bring Your Own Key). Use your own OpenAI or Anthropic keys, connect to any open source model providers, or run models locally on your hardware. Once configured, switch between models using the
/modelcommand.Install the CLI with the 5-minute quickstart →
Configuration Reference
Add custom models to
~/.factory/settings.jsonunder thecustomModelsarray:json{ "customModels": [ { "model": "your-model-id", "displayName": "My Custom Model", "baseUrl": "https://api.provider.com/v1", "apiKey": "${PROVIDER_API_KEY}", "provider": "generic-chat-completion-api", "maxOutputTokens": 16384 } ] }Supported Fields
Field Type Required Description modelstring✓ Model identifier sent via API (e.g., claude-sonnet-4-5-20250929,gpt-5-codex,qwen3:4b)displayNamestringHuman-friendly name shown in model selector baseUrlstring✓ API endpoint base URL apiKeystring✓ Your API key for the provider. Can't be empty. Supports ${VAR_NAME}insettings.json/settings.local.json(e.g., uses the environment variable). Assistant
我来先查看一下本地文件结构,然后结合文档给出洞察。
Assistant
让我查看项目的关键配置文件。
Assistant
现在我已经充分了解了您的本地项目。让我结合你提供的文档和本地文件给出洞察。
洞察总结
1. 项目对比分析
维度 Factory CLI (文档) Medic-AI (您的项目) 定位 通用AI开发CLI工具 医疗影像AI专用库 技术栈 多模型支持(OpenAI/Anthropic等) Keras 3.x + 多后端(TF/Torch/JAX) 架构 CLI + BYOK(自带密钥) Python库 + Notebook教程 核心功能 代码生成、模型切换 2D/3D医学影像分割/分类 2. Medic-AI 核心优势
- 真正的多后端支持: Keras 3.x 允许在 TensorFlow、PyTorch、JAX 之间无缝切换
- 医疗专用: 针对 3D 医学影像优化(滑动窗口推理、GradCAM、医学指标 Dice 等)