建设部网站技术负责人业绩表,对接公众号的网站怎么做,自己怎么做宣传片视频,网络解决方案公司A. 最终效果 根据__init__.py配置launch.json 根据中utils/chat.py中form_data的messages [{role: user, content: 唐老鸭}],可以找到用户输入#xff0c;进而通过关键词或模型调用的方式#xff0c;对敏感问题进行特殊处理。
B. 文件配置
launch.json
// {
// /…A. 最终效果 根据__init__.py配置launch.json 根据中utils/chat.py中form_data的messages [{role: user, content: 唐老鸭}],可以找到用户输入进而通过关键词或模型调用的方式对敏感问题进行特殊处理。
B. 文件配置
launch.json
// {
// // Use IntelliSense to learn about possible attributes.
// // Hover to view descriptions of existing attributes.
// // For more information, visit: https://go.microsoft.com/fwlink/?linkid830387
// version: 0.2.0,
// configurations: [
// {
// name: Python Debugger: FastAPI,
// type: debugpy,
// request: launch,
// module: uvicorn,
// args: [
// main:app,
// --reload
// ],
// jinja: true
// }
// ]
// }{version: 0.2.0,configurations: [{name: Python Debugger: FastAPI,type: debugpy,request: launch,program: ${workspaceFolder}/__init__.py, // 这里指定实际的脚本路径args: [serve, // 修改为执行 serve 命令--host, 0.0.0.0,--port, 8080],jinja: true,justMyCode: false, // 设置为 false 以调试第三方库代码purpose: [debug-in-terminal] }],
}
C. 参考文献
vscode 使用python虚拟环境配置 fastapi 开发_vscode fastapi-CSDN博客vscode调试进入第三方库justMyCode无效问题_vscode justmycode-CSDN博客How to disable “just my code” setting in VSCode debugger? - Stack Overflow