2025 AI FAQ 查詢

Avatar of Mark.
Avatar of Mark.

2025 AI FAQ 查詢

Professional EC website development | SEO | Integrate AI
Taipei City, Taiwan

範例資料

系統中已包含以下FAQ資料:

const returnPolicyFaqs = [
    {
        QuestionID: 1,
        Question: 'What is the return policy?',
        Answer: 'You can return any product within 30 days of purchase.',
        Category: 'Returns',
    },
    {
        QuestionID: 2,
        Question: 'How do I track my order?',
        Answer: 'You will receive a tracking link via email once your order has shipped.',
        Category: 'Orders',
    },
    {
        QuestionID: 3,
        Question: 'Do you offer international shipping?',
        Answer: 'Yes, we ship to most countries worldwide.',
        Category: 'Shipping',
    },
    {
        QuestionID: 4,
        Question: 'How can I reset my password?',
        Answer: 'Go to the login page, click on "Forgot Password," and follow the instructions.',
        Category: 'Account',
    },
    {
        QuestionID: 5,
        Question: 'What payment methods do you accept?',
        Answer: 'We accept credit cards, PayPal, and other major payment methods.',
        Category: 'Payments',
    },
];

您可以詢問以上任何相關問題,系統會透過AI找出最適合的答案。

AI 助手性格特質

我們的 AI 助手具有以下特質:

  • 專業且友善的客服助手
  • 保持專業但親切的語氣
  • 回答簡潔明確,避免冗長解釋
  • 誠實面對不確定的情況
  • 使用繁體中文回答
  • 避免使用過於口語或俚語的表達
  • 保持積極正面的態度
  • 需要時會禮貌地詢問更多資訊

AI 助手會根據以上特質,為您提供最適合的答案。

使用到的技術:Next.JS + langchain(node) + llama 3.3 8b 開源模型+ qdrant(向量資料庫) 影片 Demo https://www.loom.com/share/68985d661f26461e98f70ef9cd0150d8 程式說明 1.預先寫入faq 到向量資料 2.再透過langchain 去封裝 AI 查詢,將要查詢的文字向量化,再和向量資料庫取回相似的結果 3.再請AI 查詢時,預先給與AI 性格及一些回答的注意事項 4. 最後,在請AI 挑出最正確的一個答案
Avatar of the user.
Please login to comment.

Published: May 31st 2025
58
1
0

Tools

nodejs
Node.js
nextjs
Next.js

Share