03-大模型提示词工程实践(跟练)-调用智谱API实现问答 #15
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#15
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
必备条件
API-keys:通过注册免费获取
开发环境:通过云平台创建
1.获取API-keys
step1: 注册用户:https://open.bigmodel.cn/pricing

step2: 1.点击API密钥>2.复制API-key
2.开发环境创建
step1: 复制在公共算法prompts_enginnering_04,此处将复制的算法重命名为prompts4


step2: 选择算法(prompts04)、镜像(aihpc3-with-vscode:v0)、数据集(huggingface-cache)创建notebook
3.调用智谱API实现问答:
(1)运行算法中原有的call_glm4.py


(2)创建自己的提问call_glm4.ipynb
大模型提示词工程实践(跟练)-调用智谱API实现问答 #3to 大模型提示词工程实践(跟练)-调用智谱API实现问答大模型提示词工程实践(跟练)-调用智谱API实现问答to 03-大模型提示词工程实践(跟练)-调用智谱API实现问答