Unity 讯飞 之 讯飞星火大模型的简单封装和使用的项目工程

上传者: u014361280 | 上传时间: 2024-08-09 14:16:16 | 文件大小: 1.09MB | 文件类型: 7Z
​“讯飞星火认知大模型”是科大讯飞发布的产品,具有7大核心能力,即文本生成、语言理解、知识问答、逻辑推理、数学能力、代码能力、多模态能力。 ​实现原理 1、申请星火大模型的 APP_ID 等相关信息 2、通过使用的大模型版本,以及当前的时间,结合 申请星火大模型的 APP_ID 等相关信息,生成需要的 URL 3、通过对应的 json 数据格式,websocket 进行建立连接请求 4、这里是流式返回,对应解析数据格式,得到返回的信息 5、返回的关键信息结构,有些类似 gpt 的数据格式,用过的话,使用起来会很快 注意事项 1、注意 code 返回码,不同的返回码可以进行不同处理,避免产生意想不到的问题 2、注意 sid 的区分,如果上一次返回没有结束,关闭连接后,重新发起新的访问,可能会同时接收到上一次的未结束的数据流,和当次的数据流;如果不想接收到,注意通过 sid 进行区分; 3、注意在 LLMConfig 配置你的 APP_ID 等相关信息

文件下载

资源详情

[{"title":"( 2000 个子文件 1.09MB ) Unity 讯飞 之 讯飞星火大模型的简单封装和使用的项目工程","children":[{"title":"ProjectSettings.asset <span style='color:#111;'> 21.53KB </span>","children":null,"spread":false},{"title":"QualitySettings.asset <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"InputManager.asset <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"GraphicsSettings.asset <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"Physics2DSettings.asset <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"NavMeshAreas.asset <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"MemorySettings.asset <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"DynamicsManager.asset <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"EditorSettings.asset <span style='color:#111;'> 970B </span>","children":null,"spread":false},{"title":"UnityConnectSettings.asset <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"PackageManagerSettings.asset <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":"AudioManager.asset <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"TagManager.asset <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"VFXManager.asset <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"TimeManager.asset <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"VersionControlSettings.asset <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"EditorBuildSettings.asset <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"XRSettings.asset <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"PresetManager.asset <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"ClusterInputManager.asset <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"boot.config <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TlsUtilities.cs <span style='color:#111;'> 112.10KB </span>","children":null,"spread":false},{"title":"BigInteger.cs <span style='color:#111;'> 105.51KB </span>","children":null,"spread":false},{"title":"LongArray.cs <span style='color:#111;'> 83.05KB </span>","children":null,"spread":false},{"title":"ECPoint.cs <span style='color:#111;'> 74.11KB </span>","children":null,"spread":false},{"title":"GOST3411_2012Digest.cs <span style='color:#111;'> 70.90KB </span>","children":null,"spread":false},{"title":"TigerDigest.cs <span style='color:#111;'> 69.15KB </span>","children":null,"spread":false},{"title":"TlsProtocol.cs <span style='color:#111;'> 58.20KB </span>","children":null,"spread":false},{"title":"AesFastEngine.cs <span style='color:#111;'> 50.68KB </span>","children":null,"spread":false},{"title":"HTTPResponse.cs <span style='color:#111;'> 47.11KB </span>","children":null,"spread":false},{"title":"Dstu7624Engine.cs <span style='color:#111;'> 46.19KB </span>","children":null,"spread":false},{"title":"Cast5Engine.cs <span style='color:#111;'> 45.19KB </span>","children":null,"spread":false},{"title":"Ed448.cs <span style='color:#111;'> 44.76KB </span>","children":null,"spread":false},{"title":"ECCurve.cs <span style='color:#111;'> 43.70KB </span>","children":null,"spread":false},{"title":"Nat256.cs <span style='color:#111;'> 43.54KB </span>","children":null,"spread":false},{"title":"ThreefishEngine.cs <span style='color:#111;'> 42.75KB </span>","children":null,"spread":false},{"title":"CustomNamedCurves.cs <span style='color:#111;'> 40.32KB </span>","children":null,"spread":false},{"title":"Ed25519.cs <span style='color:#111;'> 39.57KB </span>","children":null,"spread":false},{"title":"TlsClientProtocol.cs <span style='color:#111;'> 39.08KB </span>","children":null,"spread":false},{"title":"DtlsClientProtocol.cs <span style='color:#111;'> 38.91KB </span>","children":null,"spread":false},{"title":"Nat224.cs <span style='color:#111;'> 36.84KB </span>","children":null,"spread":false},{"title":"TlsServerProtocol.cs <span style='color:#111;'> 34.59KB </span>","children":null,"spread":false},{"title":"Nat.cs <span style='color:#111;'> 34.11KB </span>","children":null,"spread":false},{"title":"PbeUtilities.cs <span style='color:#111;'> 33.62KB </span>","children":null,"spread":false},{"title":"X448Field.cs <span style='color:#111;'> 33.19KB </span>","children":null,"spread":false},{"title":"CipherUtilities.cs <span style='color:#111;'> 32.96KB </span>","children":null,"spread":false},{"title":"SignerUtilities.cs <span style='color:#111;'> 32.87KB </span>","children":null,"spread":false},{"title":"HTTPManager.cs <span style='color:#111;'> 32.50KB </span>","children":null,"spread":false},{"title":"Nat192.cs <span style='color:#111;'> 31.94KB </span>","children":null,"spread":false},{"title":"DtlsServerProtocol.cs <span style='color:#111;'> 31.81KB </span>","children":null,"spread":false},{"title":"ECFieldElement.cs <span style='color:#111;'> 31.00KB </span>","children":null,"spread":false},{"title":"TlsEccUtilities.cs <span style='color:#111;'> 30.11KB </span>","children":null,"spread":false},{"title":"Tnaf.cs <span style='color:#111;'> 29.98KB </span>","children":null,"spread":false},{"title":"CMSSignedDataStreamGenerator.cs <span style='color:#111;'> 29.64KB </span>","children":null,"spread":false},{"title":"AesEngine.cs <span style='color:#111;'> 29.32KB </span>","children":null,"spread":false},{"title":"BCrypt.cs <span style='color:#111;'> 29.06KB </span>","children":null,"spread":false},{"title":"TwofishEngine.cs <span style='color:#111;'> 27.27KB </span>","children":null,"spread":false},{"title":"SkeinEngine.cs <span style='color:#111;'> 26.68KB </span>","children":null,"spread":false},{"title":"Nat160.cs <span style='color:#111;'> 26.53KB </span>","children":null,"spread":false},{"title":"CamelliaEngine.cs <span style='color:#111;'> 25.82KB </span>","children":null,"spread":false},{"title":"Nat128.cs <span style='color:#111;'> 25.20KB </span>","children":null,"spread":false},{"title":"DHStandardGroups.cs <span style='color:#111;'> 24.82KB </span>","children":null,"spread":false},{"title":"SignerInformation.cs <span style='color:#111;'> 24.10KB </span>","children":null,"spread":false},{"title":"JPakeParticipant.cs <span style='color:#111;'> 23.29KB </span>","children":null,"spread":false},{"title":"SocketManager.cs <span style='color:#111;'> 22.96KB </span>","children":null,"spread":false},{"title":"DSTU7564Digest.cs <span style='color:#111;'> 22.93KB </span>","children":null,"spread":false},{"title":"AesLightEngine.cs <span style='color:#111;'> 22.53KB </span>","children":null,"spread":false},{"title":"TlsDHUtilities.cs <span style='color:#111;'> 22.50KB </span>","children":null,"spread":false},{"title":"BlowfishEngine.cs <span style='color:#111;'> 22.15KB </span>","children":null,"spread":false},{"title":"RipeMD320Digest.cs <span style='color:#111;'> 21.74KB </span>","children":null,"spread":false},{"title":"Primes.cs <span style='color:#111;'> 21.62KB </span>","children":null,"spread":false},{"title":"Packet.cs <span style='color:#111;'> 21.11KB </span>","children":null,"spread":false},{"title":"CMSSignedDataGenerator.cs <span style='color:#111;'> 21.07KB </span>","children":null,"spread":false},{"title":"RipeMD160Digest.cs <span style='color:#111;'> 20.99KB </span>","children":null,"spread":false},{"title":"Blake2sDigest.cs <span style='color:#111;'> 20.63KB </span>","children":null,"spread":false},{"title":"Blake2bDigest.cs <span style='color:#111;'> 20.59KB </span>","children":null,"spread":false},{"title":"CipherSuite.cs <span style='color:#111;'> 20.49KB </span>","children":null,"spread":false},{"title":"X25519Field.cs <span style='color:#111;'> 20.43KB </span>","children":null,"spread":false},{"title":"GCMBlockCipher.cs <span style='color:#111;'> 20.22KB </span>","children":null,"spread":false},{"title":"RijndaelEngine.cs <span style='color:#111;'> 20.09KB </span>","children":null,"spread":false},{"title":"WNafUtilities.cs <span style='color:#111;'> 19.78KB </span>","children":null,"spread":false},{"title":"Iso9796d2PssSigner.cs <span style='color:#111;'> 19.36KB </span>","children":null,"spread":false},{"title":"DtlsRecordLayer.cs <span style='color:#111;'> 18.91KB </span>","children":null,"spread":false},{"title":"X509Certificate.cs <span style='color:#111;'> 18.54KB </span>","children":null,"spread":false},{"title":"PollingTransport.cs <span style='color:#111;'> 18.26KB </span>","children":null,"spread":false},{"title":"DesEngine.cs <span style='color:#111;'> 18.19KB </span>","children":null,"spread":false},{"title":"OCBBlockCipher.cs <span style='color:#111;'> 17.66KB </span>","children":null,"spread":false},{"title":"ECAlgorithms.cs <span style='color:#111;'> 17.25KB </span>","children":null,"spread":false},{"title":"SEEDEngine.cs <span style='color:#111;'> 17.02KB </span>","children":null,"spread":false},{"title":"Iso9796d2Signer.cs <span style='color:#111;'> 16.93KB </span>","children":null,"spread":false},{"title":"SOCKSProxy.cs <span style='color:#111;'> 16.78KB </span>","children":null,"spread":false},{"title":"CamelliaLightEngine.cs <span style='color:#111;'> 16.51KB </span>","children":null,"spread":false},{"title":"GeneratorUtilities.cs <span style='color:#111;'> 16.34KB </span>","children":null,"spread":false},{"title":"Socket.cs <span style='color:#111;'> 16.31KB </span>","children":null,"spread":false},{"title":"Asn1Signature.cs <span style='color:#111;'> 16.17KB </span>","children":null,"spread":false},{"title":"WebGLConnection.cs <span style='color:#111;'> 15.83KB </span>","children":null,"spread":false},{"title":"JPakeUtilities.cs <span style='color:#111;'> 15.77KB </span>","children":null,"spread":false},{"title":"KCcmBlockCipher.cs <span style='color:#111;'> 15.72KB </span>","children":null,"spread":false},{"title":"CtrSP800Drbg.cs <span style='color:#111;'> 15.69KB </span>","children":null,"spread":false},{"title":"RecordStream.cs <span style='color:#111;'> 15.68KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明