Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改Prompt_settings.yaml提示词不生效 #5123

Open
CQQ-biu opened this issue Dec 3, 2024 · 5 comments
Open

修改Prompt_settings.yaml提示词不生效 #5123

CQQ-biu opened this issue Dec 3, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@CQQ-biu
Copy link

CQQ-biu commented Dec 3, 2024

问题描述 / Problem Description
用简洁明了的语言描述这个问题 / Describe the problem in a clear and concise manner.

docker部署,在prompt_setting.yaml中修改llm_model的default对应的提示词,没有生效。但是在页面上配置system Message可以生效,两处使用的提示词一模一样。是修改了配置文件后需要运行什么命令才能生效吗?

复现问题的步骤 / Steps to Reproduce

  1. 执行 '...' / Run '...'
  2. 点击 '...' / Click '...'
  3. 滚动到 '...' / Scroll to '...'
  4. 问题出现 / Problem occurs

预期的结果 / Expected Result
描述应该出现的结果 / Describe the expected result.

实际结果 / Actual Result
描述实际发生的结果 / Describe the actual result.

环境信息 / Environment Information

  • Langchain-Chatchat 版本 / commit 号:0.3.1
  • 部署方式(pypi 安装 / 源码部署 / docker 部署):docker部署
  • 使用的模型推理框架(Xinference / Ollama / OpenAI API 等): Xinference
  • 使用的 LLM 模型(GLM-4-9B / Qwen2-7B-Instruct 等):GLM-4-9B / LLM used (GLM-4-9B / Qwen2-7B-Instruct, etc.): llama3-instruct
  • 使用的 Embedding 模型(bge-large-zh-v1.5 / m3e-base 等):bge-large-zh-v1.5 / Embedding model used (bge-large-zh-v1.5 / m3e-base, etc.): bge-large-zh-v1.5
  • 使用的向量库类型 (faiss / milvus / pg_vector 等): faiss / Vector library used (faiss, milvus, pg_vector, etc.): faiss
  • 操作系统及版本 / Operating system and version: linux
  • Python 版本 / Python version: 3.8
  • 推理使用的硬件(GPU / CPU / MPS / NPU 等) / Inference hardware (GPU / CPU / MPS / NPU, etc.): GPU
  • 其他相关环境信息 / Other relevant environment information:

附加信息 / Additional Information
添加与问题相关的任何其他信息 / Add any other information related to the issue.

@CQQ-biu CQQ-biu added the bug Something isn't working label Dec 3, 2024
@CQQ-biu
Copy link
Author

CQQ-biu commented Dec 3, 2024

是在服务正常运行的时候修改的,怎么样才能让配置文件生效呢?

@ZhiFei-zhang
Copy link

这个问题解决了吗,同问

@CQQ-biu
Copy link
Author

CQQ-biu commented Dec 6, 2024

这个问题解决了吗,同问

没有呢,还没有解决

@zhang314194702
Copy link

me too

@lubingshun
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants