·pytidb
</>

pytidb

pingcap/agent-rules

PyTiDB (pytidb) 在 Python 中设置和使用 TiDB。涵盖连接、表建模 (TableModel)、CRUD、原始 SQL、事务、向量/全文/混合搜索、自动嵌入、自定义嵌入函数和参考模板/片段(向量/混合/图像)以及面向代理的示例(RAG/内存/text2sql)。

5安装·0热度·@pingcap

安装

$npx skills add https://github.com/pingcap/agent-rules --skill pytidb

SKILL.md

Use this skill to connect to TiDB from Python via pytidb, define tables, and build search / AI features on top.

Need to provision a TiDB Cloud cluster first? Use tidbx (TiDB X) for cluster lifecycle guidance.

Each guide is a self-contained walkthrough with a checklist and phases:

PyTiDB (pytidb) 在 Python 中设置和使用 TiDB。涵盖连接、表建模 (TableModel)、CRUD、原始 SQL、事务、向量/全文/混合搜索、自动嵌入、自定义嵌入函数和参考模板/片段(向量/混合/图像)以及面向代理的示例(RAG/内存/text2sql)。 来源:pingcap/agent-rules。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/pingcap/agent-rules --skill pytidb
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 pytidb?

PyTiDB (pytidb) 在 Python 中设置和使用 TiDB。涵盖连接、表建模 (TableModel)、CRUD、原始 SQL、事务、向量/全文/混合搜索、自动嵌入、自定义嵌入函数和参考模板/片段(向量/混合/图像)以及面向代理的示例(RAG/内存/text2sql)。 来源:pingcap/agent-rules。

如何安装 pytidb?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/pingcap/agent-rules --skill pytidb 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/pingcap/agent-rules

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01