スキル一覧に戻る
aiskillstore

chatbot-implementation

by aiskillstore

chatbot-implementationは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

102🍴 3📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: chatbot-implementation description: Details of the RAG Chatbot, including UI and backend logic.

Chatbot Logic

Overview

A specialized RAG (Retrieval Augmented Generation) chatbot that helps users learn from the textbook content.

Backend

  • Route: app/api/chat/route.ts
  • Logic:
    1. Receives query and history.
    2. Embeds query using Gemini or OpenAI embedding model.
    3. Searches Qdrant (vector DB) for relevant textbook chunks.
    4. Constructs context from matches.
    5. Generates response using Gemini Flash/Pro.

Vector Search (Qdrant)

We use Qdrant for storing embeddings of the textbook.

  • Collection: textbook_chunks (or similar).
  • Fields: text, source, chunk_id.

UI Component

  • Location: textbook/src/components/Chatbot/index.tsx.
  • Features:
    • Floating chat window.
    • Size controls (Small, Medium, Large).
    • Markdown rendering of responses.
    • Context selection (highlight text to ask about it).
    • Mobile responsive design.
    • Auth awareness (personalizes answer based on user profile).

Styling

  • CSS: styles.module.css (Premium animations, shadow effects).
  • Themes: Dark/Light mode compatible (using --ifm variables).

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です