diff --git a/docs.json b/docs.json index 83436f0..3e09f55 100644 --- a/docs.json +++ b/docs.json @@ -71,7 +71,8 @@ ] }, "en/basic/field/ai/ai-field", - "en/basic/ai/custom-model" + "en/basic/ai/custom-model", + "en/basic/ai/teable-skill" ] }, { @@ -431,7 +432,8 @@ ] }, "zh/basic/field/ai/ai-field", - "zh/basic/ai/custom-model" + "zh/basic/ai/custom-model", + "zh/basic/ai/teable-skill" ] }, { diff --git a/en/basic/admin-panel/ai-setting.mdx b/en/basic/admin-panel/ai-setting.mdx index ee2c445..dd06a31 100644 --- a/en/basic/admin-panel/ai-setting.mdx +++ b/en/basic/admin-panel/ai-setting.mdx @@ -46,6 +46,13 @@ Follow these four steps: In **LLM API**, add or verify the model provider used by supported model calls. If **AI Chat** or **App Builder** uses your own key (BYOK), choose **OpenAI Compatible** or **Anthropic** as the provider type, add the models it supports, and complete the model test. +Open **Model Settings** for a model when you need to review or override these values: + +| Setting | Effect | +|------|------| +| **Context** | Optional. Sets the maximum input tokens used for context compaction. | +| **Max output** | Optional. Sets the maximum tokens the model can generate in one response. | + ### Configure Recommended Models This step decides which models users can choose from. Start with a clear primary set so users can choose by task complexity. A common setup is: diff --git a/en/basic/ai/teable-skill.mdx b/en/basic/ai/teable-skill.mdx new file mode 100644 index 0000000..e8a43dd --- /dev/null +++ b/en/basic/ai/teable-skill.mdx @@ -0,0 +1,42 @@ +--- +title: Connect AI Agents to Teable +description: Query and update data, manage tables, and create automations or apps from your AI agent. +--- + +## Install Teable Skill + +Copy this prompt into your AI agent: + +```text wrap +Please read https://github.com/teableio/agent-skills, follow the guide to help me install the Teable agent skill, and complete Teable CLI authentication. +``` + +Or install it directly: + +```bash +npx skills add https://github.com/teableio/agent-skills +``` + +## Try Teable Skill + +After the skill is installed, try these prompts. + + + +```text Simple Starter Prompts wrap +Create a simple CRM table in {paste Base URL}. +``` + +```text Local Files → Teable wrap +Upload all invoices in this local folder to {paste table URL} and extract key fields. +``` + +```text Cross-Platform Data → Teable wrap +Import new GitHub issues into {paste table URL}. +``` + +```text Clean Or Organize Teable Data wrap +Check {paste table URL} and mark overdue tasks. +``` + + diff --git a/style.css b/style.css index 4ccebe5..51ed4e1 100644 --- a/style.css +++ b/style.css @@ -68,24 +68,26 @@ html:not(.dark) { background: rgb(var(--primary)) !important; } -html:not(.dark) #banner, -html:not(.dark) #banner * { - color: rgb(249, 250, 251) !important; -} +@layer utilities { + html:not(.dark) #banner, + html:not(.dark) #banner * { + color: rgb(249, 250, 251) !important; + } -html:not(.dark) #banner a { - color: rgb(249, 250, 251) !important; - text-decoration-color: rgba(249, 250, 251, 0.7) !important; -} + html:not(.dark) #banner a { + color: rgb(249, 250, 251) !important; + text-decoration-color: rgba(249, 250, 251, 0.7) !important; + } -.dark #banner, -.dark #banner * { - color: rgb(19, 20, 21) !important; -} + .dark #banner, + .dark #banner * { + color: rgb(19, 20, 21) !important; + } -.dark #banner a { - color: rgb(19, 20, 21) !important; - text-decoration-color: rgba(19, 20, 21, 0.35) !important; + .dark #banner a { + color: rgb(19, 20, 21) !important; + text-decoration-color: rgba(19, 20, 21, 0.35) !important; + } } [data-component-part="update-label"] { diff --git a/zh/basic/admin-panel/ai-setting.mdx b/zh/basic/admin-panel/ai-setting.mdx index 231cfbf..9cf0cbd 100644 --- a/zh/basic/admin-panel/ai-setting.mdx +++ b/zh/basic/admin-panel/ai-setting.mdx @@ -46,6 +46,13 @@ description: "为私有化部署实例配置 AI 对话、AI 字段、AI 自动 在 **LLM API** 中添加或确认已支持的模型调用所使用的模型服务商。如果 **AI 对话** 或 **应用构建器** 使用自带 Key,请将提供商类型选为 **OpenAI Compatible**(OpenAI 兼容)或 **Anthropic**,填入它支持的模型,并完成模型测试。 +如需检查或调整模型参数,请打开该模型的 **模型配置**: + +| 配置项 | 作用 | +|------|------| +| **上下文窗口** | 可选。设置上下文压缩使用的最大输入 Token 数。 | +| **最大输出** | 可选。设置模型单次响应最多生成的 Token 数。 | + ### 配置推荐模型 这一步决定了用户可以选择哪些模型。建议先提供一组清晰的主力模型,方便用户按任务复杂度选择。一个常见的做法是: diff --git a/zh/basic/ai/teable-skill.mdx b/zh/basic/ai/teable-skill.mdx new file mode 100644 index 0000000..52fed4d --- /dev/null +++ b/zh/basic/ai/teable-skill.mdx @@ -0,0 +1,42 @@ +--- +title: 将 AI Agent 连接到 Teable +description: 通过 AI Agent 查询和更新数据、管理表格,以及创建自动化或应用。 +--- + +## 安装 Teable 技能 + +将以下提示词发送给 AI Agent: + +```text wrap +请阅读 https://github.com/teableio/agent-skills,根据指南帮我安装 Teable agent skill 并完成 Teable CLI 认证 +``` + +也可以直接运行: + +```bash +npx skills add https://github.com/teableio/agent-skills +``` + +## 试用 Teable 技能 + +安装完成后,可以试试以下提示词。 + + + +```text 简单入门提示词 wrap +在当前 {粘贴 base URL} 中创建一个简单的 CRM 表。 +``` + +```text 本地文件 → Teable wrap +将这个本地文件夹中的所有发票上传到 <收据表> {粘贴表格 URL},并提取关键字段。 +``` + +```text 跨平台数据 → Teable wrap +将新的 GitHub issues 导入到 {粘贴表格 URL}。 +``` + +```text 清理或整理 Teable 数据 wrap +检查 <任务表> {粘贴表格 URL} 并标记逾期任务。 +``` + +