Frontend UI redesign + BYOK + Interactive Fact-Check Chat
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- react, typescript
調査の方向性
/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!
- 主要言語
- TypeScript
- スター
- 58
- フォーク
- 90
- 平均マージ
- 11時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/Perspective のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
AOSSIE-Org/Perspective#191 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
AOSSIE-Org/Perspective#190 ·
-
[BUG]: Missing input validation in URlRequest and ChatQuery causes 500 crashes and wasteful scraper execution対応中かも @agarwalpranav0711 が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/Perspective#178 ·
-
[BUG]: chunk_rag_data crashes with ValueError when perspective is a dict, silently dropping RAG vector storage対応中かも @agarwalpranav0711 が 36 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/Perspective#175 ·
-
[BUG]: Scraper passes headers as query params in requests.get (User-Agent never sent)対応中かも @Th-Shivam が 50 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
AOSSIE-Org/Perspective#161 · コメント 1 件 ·
AOSSIE-Org/Perspective の issue をすべて見る
似ている issue
-
documentation lens:human needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
thebristolsound/birdbrain#2246 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug ready-for-human
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue stretch
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信