;

1.两种api格式的区别 dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation dashscope.aliyuncs.com/compatible-mode/v1

阿里百炼 7 天前
;

python下载window下所有版本 https://www.python.org/downloads/windows/ opencode 1.安装 python版本要大于3.9 pip install -U langchain # Requires Python 3.10+ # 验证 langchain 版本 pip show langchain pip install -U langchain-deepseek 包列表:https://docs.langchain.com/oss/python/integrations/providers/overview langchainJS https://docs.langchain.com/oss/javascript/langchain/overview npm install @langchain/core –save npm install @langchain/community –save @langchain/core:LangChain 核心功能(工具、提示词、代理核心)。 @langchain/community:社区维护的第三方模型集成(包含 DeepSeek 模型支持)。 dotenv:加载 .env 环境变量,保护 API 密钥不硬编码。 zod:工具入参校验,与上一…

langchain 23 天前
;

import torch x=torch.arange(12) x.shape x.numel() X = x.reshape(3,4) torch.zeros((2,3,4)) torch.ones((2,3,4)) import os

深度学习:01数据操作 2025年12月31日
;

教程来源:https://zh-v2.d2l.ai/ 一:windows安装conda Conda是一个开源包管理系统和环境管理系统,主要用于Python/R/Java/C++等语言的包管理和部署。 包管理:类似pip/npm,安装、更新、删除软件包 环境管理:创建隔离的Python环境,不同项目使用不同版本的包 下载安装包 https://docs.conda.io/en/latest/miniconda.html win7下旧的存档 https://repo.anaconda.com/archive/?use_xbridge3=true&loader_name=forest&need_sec_link=1&sec_link_scene=im&theme=light 选择:Anaconda3-2020.02-Windows-x86_64.exe 配置系统环境PATH E:\ProgramData\Anaconda3\condabin E:\ProgramData\Anaconda3\Scripts 常用命令 conda –version conda env list #查看所有 Conda 环境 conda activate d2l-zh #激活 conda deactivate #退出激活 con…

深度学习环境安装 2025年12月25日