Skip to main content

代码

cookbook/agent_concepts/vector_dbs/couchbase.py

用法

1

创建虚拟环境

打开 Terminal 并创建一个 python 虚拟环境。
2

启动 Couchbase

然后访问 http://localhost:8091 并创建:
  • Bucket:recipe_bucket
  • Scope:recipe_scope
  • Collection:recipes
3

安装库

4

设置环境变量

5

运行 Agent