ly1878
V2EX  ›  OpenAI

只问一个简单问题,如何让 AI 的回答不要*杜撰*? 如果可以请分享下提示词技巧。

  •  
  •   ly1878 · Jan 17, 2025 · 2728 views
    This topic created in 654 days ago, the information mentioned may be changed or developed.
    o1 模型,询问我家乡有哪些景点?回答的内容会有几个是完全杜撰的,我追问并提供景点地址及联系电话,也是一样会杜撰,当我追问是否有杜撰时,ai 回答是的,但是还是会这样,请问有什么办法能让 ai 的回答尽量低的杜撰?哪怕是回答不知道也可以。
    如果有不错的提示词也感谢你的分享。
    5 replies  •  2025-01-18 08:50:21 +08:00
    TimePPT
    TimePPT
    Jan 17, 2025❤️1
    1
    不用想了,你这需求是事实性信息查询,且有一定实效性(地名、地址、电话都会随着时间变化),没有外部算法工程约束的情况下,大模型幻觉是不可避免的。最好就是结合外部权威信息作为 context ,让模型去做整理( Long context input or RAG )
    starrycat
    starrycat
    Jan 17, 2025 via Android
    2
    你告诉他没杜撰,他也会说是的吧
    luoling8192
    luoling8192
    Jan 17, 2025
    3
    用 perplexity 吧
    zhmouV2
    zhmouV2
    Jan 17, 2025
    4
    一言以蔽之,联网
    jetyang
    jetyang
    Jan 18, 2025
    5
    做不到,这就是 RAG 存在的原因。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4986 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 06:56 · PVG 14:56 · LAX 22:56 · JFK 01:56
    ♥ Do have faith in what you're doing.