# mindstudio_qa_bot **Repository Path**: ascend_rocks/mindstudio_qa_bot ## Basic Information - **Project Name**: mindstudio_qa_bot - **Description**: 基于openEuler Copilot智能问答方案,并使用MindStudio开发者文档进行RAG检索增强。并探索使用MindStudio开发者文档问答对FineTune Embedding模型的效果。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-11 - **Last Updated**: 2024-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MindStudio智能问答服务 基于[openEuler Copilot智能问答方案](https://gitee.com/openeuler/EulerCopilot),使用MindStudio开发者文档进行RAG检索增强。并探索使用MindStudio开发者文档问答对FineTune Embedding模型的问答效果。该代码仓依赖以下几个子仓: - [euler-copilot-yaml](https://gitee.com/ascend_rocks/euler-copilot-yaml):用kubectl get -oyaml对正在运行的所有服务生成的yaml,对原始的heml chart静态配置更改的一个备份(非必需) - [ascend_doc_qa_pairs](https://gitee.com/ascend_rocks/ascend_doc_qa_pairs):使用语言模型对晟腾MindStudio/CANN/MindX等文档生成的问答对,用于Fine-Tune Embedding模型 - [mindstudio_doc_7.0_rc2](https://gitee.com/ascend_rocks/mindstudio_doc_7.0_rc2):MindStudio 7.0RC2版文档,用于生成RAG语料 ## 部署指南 ### 整体方案部署 可参考[EulerCopilot](https://gitee.com/openeuler/EulerCopilot/blob/master/docs/EulerCopilot%E7%BD%91%E7%BB%9C%E7%8E%AF%E5%A2%83%E4%B8%8B%E9%83%A8%E7%BD%B2%E6%8C%87%E5%8D%97.md),部署整个问答服务方案。 ### RAG语料上传 整体方案部署完成后,参考[EulerCopilot本地资产库构建指南](https://gitee.com/openeuler/EulerCopilot/blob/master/docs/EulerCopilot%E6%9C%AC%E5%9C%B0%E8%B5%84%E4%BA%A7%E5%BA%93%E6%9E%84%E5%BB%BA%E6%8C%87%E5%8D%97.md)准备语料,将指南中的语料目录设置为本项目的子模块`mindstudio_doc_7.0_rc2/`目录(使用该目录的绝对路径)。并按照文档中的命令上传语料。 ### 问答对标注 标注平台建议使用开源[Label Studio](https://labelstud.io/),由于整套问答方案基于Kubernetes部署,建议参考[Label Studio - Install by k8s](https://labelstud.io/guide/install_k8s)部署标注平台,并导入`ascend_doc_qa_pairs/`子模块中的生成好的问答对,进行标注。