Frontend UI redesign + BYOK + Interactive Fact-Check Chat
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
Hướng nghiên cứu
Bắt đầu bằng cách lập bản đồ route /perspective, cách xử lý .env ở backend và pipeline LangGraph được mô tả trong checklist. Xác định ranh giới giữa việc chọn nhà cung cấp BYOK, context MemorySaver, các trích dẫn và UI chat React, sau đó xác minh rằng các mục checklist được liệt kê đã hoàn tất và các PR liên quan chưa bao quát chúng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- TypeScript
- Star
- 58
- Fork
- 90
- Merge trung bình
- 11 giờ 51 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AOSSIE-Org/Perspective
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
AOSSIE-Org/Perspective#191 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
AOSSIE-Org/Perspective#190 ·
-
[BUG]: Missing input validation in URlRequest and ChatQuery causes 500 crashes and wasteful scraper executionCó thể đã có người làm @agarwalpranav0711 đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
AOSSIE-Org/Perspective#178 ·
-
[BUG]: chunk_rag_data crashes with ValueError when perspective is a dict, silently dropping RAG vector storageCó thể đã có người làm @agarwalpranav0711 đã nhận 36 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
AOSSIE-Org/Perspective#175 ·
-
[BUG]: Scraper passes headers as query params in requests.get (User-Agent never sent)Có thể đã có người làm @Th-Shivam đã nhận 50 ngày trước. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
AOSSIE-Org/Perspective#161 · 1 bình luận ·
Tất cả issue của AOSSIE-Org/Perspective
Issue tương tự
-
documentation lens:human needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
thebristolsound/birdbrain#2246 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
A voting window past about 69.9 million hours stores a deadline that reads back as no deadlineĐang mởbug ready-for-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue stretch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày