Rag banner
sunflower0305 sunflower0305

Rag

AI community

Description

Minimal RAG implementation using OpenAI embeddings — clean starting point for retrieval-augmented generation

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

RAG 项目

这是一个使用 OpenAI API 生成文本嵌入向量的项目。

环境设置

本项目使用 uv 进行依赖管理。

安装依赖

# 激活虚拟环境
source .venv/bin/activate

# 安装依赖
uv pip install -r requirements.txt

环境变量

复制 `.env.example` 文件为 `.env` 并填入你的 API 密钥:

cp .env.example .env
# 编辑 .env 文件,填入你的 API 密钥

运行

python embedding.py

Contact

If you have questions, ideas, or want to collaborate:

📧 Email 3268007793@qq.com
📱 Phone / WeChat 18550207121