摘要: static ClientWebSocket webSocket0; static CancellationToken cancellation; // 应用APPID(必须为webapi类型应用,并开通星火认知大模型授权) const string x_appid = "xxxxx"; // 接口 阅读全文
posted @ 2024-04-18 17:46 龙丶谈笑风声 阅读(75) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// kimi的对接方法 /// </summary> public async void GetHttpRequst() { var _httpClient= new HttpClient(); var _apiUrl= "https://api.moonshot.c 阅读全文
posted @ 2024-04-18 15:41 龙丶谈笑风声 阅读(350) 评论(0) 推荐(0) 编辑
摘要: public partial class Form1 : Form { private WasapiLoopbackCapture mic;//音频输入 protected RDPSession _rdpSession = null; public Form1() { InitializeCompo 阅读全文
posted @ 2023-08-02 14:29 龙丶谈笑风声 阅读(172) 评论(0) 推荐(0) 编辑
摘要: What is LangChain? LangChain是一个强大的框架,旨在帮助开发人员使用语言模型构建端到端的应用程序。它提供了一套工具、组件和接口,可简化创建由大型语言模型 (LLM) 和聊天模型提供支持的应用程序的过程。LangChain 可以轻松管理与语言模型的交互,将多个组件链接在一起, 阅读全文
posted @ 2023-07-26 09:25 龙丶谈笑风声 阅读(436) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// OSql命令操作函数(可用于安装程序的时候数据库脚本执行) /// </summary> public class SqlScriptHelper { #region OSql操作函数 /// <summary> /// 本地执行SQL脚本 /// </summa 阅读全文
posted @ 2023-07-25 11:56 龙丶谈笑风声 阅读(70) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 常用的Access数据库Sql操作辅助类库 /// </summary> public class OleDbHelper { private string connectionString = ""; private const string accessPre 阅读全文
posted @ 2023-07-25 11:55 龙丶谈笑风声 阅读(11) 评论(0) 推荐(0) 编辑
摘要: public class AccessHelper { //Jet OLEDB:Engine Type Jet x.x Format MDB Files //1 JET10 //2 JET11 //3 JET2X //4 JET3X //5 JET4X /// <summary> /// 新建带密码 阅读全文
posted @ 2023-07-25 11:52 龙丶谈笑风声 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 串口 阅读全文
posted @ 2023-05-12 11:44 龙丶谈笑风声 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 第一步是先安装wheel pip install wheel 第二步是安装lxml pip install lxml 第三步是安装Twisted,先在https://www.lfd.uci.edu/~gohlke/pythonlibs/中找到Twisted,然后找到与自己安装的python的版本对应 阅读全文
posted @ 2023-04-20 16:17 龙丶谈笑风声 阅读(35) 评论(0) 推荐(0) 编辑
摘要: selenium的官方地址为:https://selenium-python.readthedocs.io/index.html 镜像地址:https://npmmirror.com/ # 导入 webdriverfrom selenium import webdriverfrom selenium 阅读全文
posted @ 2023-04-17 11:43 龙丶谈笑风声 阅读(216) 评论(0) 推荐(0) 编辑