基于AI的答案模块 [英] AI based answer module

查看:68
本文介绍了基于AI的答案模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发一个应用程序,它是一个聊天机器人,一个问题我将提供答案(主观非选项基础答案),例如

问: - 什么是猫

答:-Cat是一种有四条腿,两只眼睛等的家畜。



但是来自聊天机器人用户答案可能与我提供的内容不完全相同,

任何人都可以帮助我获取API,这样我就可以比较我现有的答案和用户的答案,并拿出来分数,用户是否给出了正确答案



我尝试过的事情:



尝试谷歌它但没有找到这样的API

Hi All,

I am developing a Application, its a chat bot, for a Question i will feed the Answer(Subjective not option basis answer),e.g
Q:-What is Cat
Ans:-Cat is a domestic animal with four legs,two eyes etc .

But from chat bot Users the Answer may not exactly same what i have feed,
Can any one help me to get API so i can compare my exists Answer and User's answer and come up with a Score, Is user has given a correct answer or not

What I have tried:

Tried google it but not found such API

推荐答案

差不多,你不能 - 或者至少没有同样的努力,谷歌加入了他们的搜索引擎。

自然语言比较简直就是这么简单!比较这两个陈述:

Pretty much, you can't - or at least not without the same kind of effort that Google put into their search engine.
Natural language comparison isn't at all simple! Compare these two statements:
A cat is a domestic animal with four legs,two eyes that catches mice and small birds

A member of the genus Felis, Felis Catus (or the domestic cat) is a binocular quadruped predator that preys on small mammals, birds, fish, and marsupials (where available).

它们都是说同样的话,它们都是正确的(在合理范围内 - 我们的猫会抓住任何东西然后吃它)。



但你怎么比较它们并说那是对或是错的?哎呀,大多数开发人员甚至无法用数学问题做到这一点!

对不起,那是不正确 [ ^ ]



老实说,这不是我自己会考虑做的项目,而且我有相当多的经验。对于相对初学者?不要去那里 - 这将花费你太多的时间!

They both say the same thing, they are both correct (within reason - our cat will catch anything and eat it).

But how do you compare them and say "that is right" or "that is wrong"? Heck, most developers can't even get that right with math questions!
Sorry, that's not correct[^]

To be honest, this isn't a project that I would even consider doing myself, and I've a fair amount of experience. For a relative beginner? Don't go there - it will take far, far too much of your time!


使用多项选择。



大多数智商测试都是多项选择。



您必须考虑区域/文化差异。有些人从未听说过猫(或土豚)。
Use multiple-choice.

Most IQ tests are multiple-choice.

You have to account for regional / cultural differences. Some people have never heard of a "cat" (or Aardvark).


这篇关于基于AI的答案模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆