Draft: Experiment: Integration ChatGLM
Related issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/3010
What does this MR do and why?
Add a new AI provider ChatGLM.
Take the test file generated by AI as an example, replace OpenAI with ChatGLM.
Screenshots or screen recordings
OpenAI | ChatGLM |
---|---|
How to set up and validate locally
Turn on Feature Flag:
Feature.enable(:ai_related_settings)
Feature.enable(:openai_experimentation)
Feature.enable(:generate_test_file_flag)
Setup ChatGLM Token:
export CHAT_GLM_PUBLIC_KEY=""
export CHAT_GLM_API_KEY=""
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Baodong 编辑于