Give azure openai an encyclopedia of information

news/2024/9/23 18:57:01/
aidu_pl">

题意:给 Azure OpenAI 提供一部百科全书式的信息

问题背景:

I am currently dabbling in the Azure OpenAI service. I want to take the default model and knowledge base and now add on to it my own unique information. So, for example, for making a game world, I want to be able to tell it all the main characters, the locations, the major factions, and the relationships between all these entities.

我目前正在尝试使用 Azure OpenAI 服务。我想在默认模型和知识库的基础上,添加我自己独特的信息。比如,为了创建一个游戏世界,我希望能够告诉它所有的主要角色、地点、主要派系,以及这些实体之间的关系

Now I know that I can fine-tune my model, providing hundreds of prompt-answer pairs, and I suppose I could fill that out by saying things like:

现在我知道我可以微调我的模型,提供数百个提示-回答对。我想我可以通过这样填写,例如

Who are all the members of the Borean Clan? King Jappy, Queen Stefanos, Sir Barmyn, etc.

谁是北风氏族的所有成员?国王 Jappy、王后 Stefanos、骑士 Barmyn 等等

Is that really the only way, though? And won't this still create the possibility that the AI will generate text responses that are outside of this encyclopedia of knowledge, referencing people and places that don't actually exist in the game world?

但这真的是唯一的办法吗?而且这难道不会仍然有可能让 AI 生成超出这个知识百科范围的文本回复,提到在游戏世界中并不存在的人物和地点吗?

I guess I'm just wondering if there's a better way to approach this. Thanks!

我想我只是在想有没有更好的方法来处理这个问题。谢谢!

问题解决:

The suggested approach from Microsoft is not to fine-tune the model in your case. There are several options:

微软建议的做法是不要在你的情况下微调模型。有以下几种选择:

  • at the moment, you can have a look to this demo which is based on a Cognitive Search index to provide details: 

目前,你可以查看这个演示,它基于一个认知搜索索引来提供详细信息

  • GitHub - Azure-Samples/azure-search-openai-demo: A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.

  • in a few days, you should also see the arrival of the preview feature of "Add your data" feature in Azure OpenAI Studio, which has been announced at Build event a few days ago: see video here. This accelerates the ability to query your own data while using Azure OpenAI

几天内,你还应该能看到 Azure OpenAI Studio 中“添加你的数据”功能的预览版发布,该功能在几天前的 Build 活动上已经宣布:可在此处查看视频。这将加速在使用 Azure OpenAI 时查询你自己数据的能力


http://www.ppmy.cn/news/1529446.html

相关文章

RNN股票预测(Pytorch版)

任务:基于zgpa_train.csv数据,建立RNN模型,预测股价 1.完成数据预处理,将序列数据转化为可用于RNN输入的数据 2.对新数据zgpa_test.csv进行预测,可视化结果 3.存储预测结果,并观察局部预测结果 备注:模型结构&#xff…

猎板PCB揭秘厚铜板技术的最新进展

在电子设备不断追求更高性能与更小尺寸的今天,PCB厚铜板技术因其卓越的导电性和散热性能,成为提升电子产品性能的关键材料。猎板PCB今天针对厚铜板的最新技术进展、应用领域及制造流程,为您提供全面的技术资料。 一、PCB厚铜板技术概览 PCB厚…

牛客小白月赛101

考点为:A题 滑动窗口、B题 栈、C题 找规律、D 差分、E 筛约数。C题可能会卡住,不过手搓几组,或者模拟几组规律就显而易见了 A: 思路: 无论去头还是去尾,最后所留下的数据长度一定为:n - k &am…

示例:WPF中Grid显示网格线的几种方式

一、目的:介绍一下WPF中Grid显示网格线的几种方式 二、几种方式 1、重写OnRender绘制网格线(推荐) 效果如下: 实现方式如下: public class LineGrid : Grid{private readonly Pen _pen;public LineGrid(){_pen new P…

【LLM】Ollama:本地大模型使用

本指南将详细介绍如何在Linux系统上使用Ollama进行本地大模型的快速部署与管理。通过Docker容器化技术,您可以轻松部署Ollama及其WebUI,实现通过浏览器访问和管理大型语言模型。 快速部署,Web访问 安装Docker 根据操作系统下载并安装 Dock…

openssl 生成多域名 多IP 的数字证书

openssl.cnf 文件内容: [req] default_bits 2048 distinguished_name req_distinguished_name copy_extensions copy req_extensions req_ext x509_extensions v3_req prompt no [req_distinguished_name] countryName CN stateOrProvinceName GuangDong l…

音视频入门基础:AAC专题(6)——FFmpeg源码中解码ADTS格式的AAC的Header的实现

音视频入门基础:AAC专题系列文章: 音视频入门基础:AAC专题(1)——AAC官方文档下载 音视频入门基础:AAC专题(2)——使用FFmpeg命令生成AAC裸流文件 音视频入门基础:AAC…

Lingo求解器基本语法

Lingo是一款用于线性规划和整数规划的数学建模和求解软件,被广泛应用于运筹学、生产优化、供应链管理等领域。今天与大家一起来熟悉一下它的基本语法 Lingo基本语法 1、定义目标函数为MIN,MAX. 2、以一个分号“;”结尾。除SETS,ENDSETS,D…