Frontend UI redesign + BYOK + Interactive Fact-Check Chat

オープン
#147 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@akarsh-dhingra がすでに取り組んでいます。

2026年10月5日 から。

  • #148 @khushal1512 による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
react, typescript
領域
ai, backend, frontend

調査の方向性

/perspective ルート、バックエンドの .env 処理、およびチェックリストに記載された LangGraph パイプラインのマッピングから始めます。BYOK プロバイダー選択、MemorySaver コンテキスト、引用、React チャット UI の境界を定義し、リストされたチェックリスト項目が完了していることと、関連する PR がそれらをすでにカバーしていないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

Opening this issue to track a major UX and architectural upgrade we need for the platform. Currently, the app feels a bit too transactional—users paste a link, get a one-off perspective, and that's it. Plus, we're hardcoding API keys, which doesn't scale well for an open-source project.

I'm proposing a shift to an interactive "Reader" interface where users can chat with the article, verify facts with clear citations, and bring their own API keys (BYOK) to keep the project decentralized and free to host.

Proposed Changes:

Bring Your Own Keys (BYOK): Move all model routing to use user-provided .env keys. Users can switch between Gemini and Groq dynamically from the UI, specifying their preferred models (e.g., llama3-70b-8192 or gemini-1.5-pro).

Frontend Redesign: * Overhaul the /perspective route to include a real-time chat interface.

Add proper loading skeletons/spinners for the initial analysis phase.

Add a model toggle in the chat input bar.

Interactive Chat & Memory: Hook up LangGraph's MemorySaver() so the agent remembers the context of the article. Users can ask follow-up questions instead of just getting a static report.

Citations & Fact-Checking: The agent will now return an article_summary and a list of web_search_citations (from the DuckDuckGo tool) alongside the fact checks. The frontend needs to display these citations clearly so users can verify the AI's work.

Checklist:

[ ] Add .env parsing for dynamic BYOK routing in backend.

[ ] Update LangGraph pipeline to use MemorySaver and return citations/summaries.

[ ] Build new React chat interface for /perspective.

[ ] Add provider dropdown (Groq/Gemini) to the frontend chat component.

[ ] Clean up unused packages (NLTK, Google API clients, etc.).

Let me know if anyone has thoughts on the implementation details!

Related to PR1
PR2

主要言語
TypeScript
スター
58
フォーク
90
平均マージ
11時間 51分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AOSSIE-Org/Perspective のほかの issue

AOSSIE-Org/Perspective の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。