Skip to content

Commit af759ab

Browse files
authored
Create ReSONAte.mdx
1 parent f6995c6 commit af759ab

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

docs/showcase/ReSONAte.mdx

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: ReSONAte
3+
description: A web-based AI research assistant that inspires curiosity and supports knowledge exploration, helping users dive deeper into relevant topics and stay organized throughout their research journey.
4+
sidebar_position: 19
5+
keywords: Perplexity Sonar API, Semantic Search, KeyBERT, Streamlit, GraphViz
6+
---
7+
8+
# ReSONAte | A Perplexity powered web-based research assistant
9+
**ReSONAte** is an AI-powered research assistant built with **Perplexity Sonar-Pro API** that inspires curiosity and supports knowledge exploration.
10+
It addresses the challenge researchers face in generating and tracking research ideas.
11+
12+
## Features
13+
14+
- QA View provides in-depth answers based on the user question. The answer is generated by Perplexity Sonar-Pro API, and it also integrates the visual thumbnails provided by LinkPreview. Users can click the citation number from the answer to navigate to the corresponding citation. Users can press the citation thumbnail or the link for the research paper to delve into that topic even more.
15+
- CoT Tree View visualizes the progression of queries using Graphviz. The user can create multiple sessions and switch between them as needed.
16+
17+
## Prerequisites
18+
- fastapi
19+
- uvicorn
20+
- requests
21+
- pydantic
22+
- streamlit
23+
- keybert
24+
- nltk
25+
- graphviz
26+
- python-dotenv
27+
- openai
28+
29+
## Installation
30+
31+
### 1. Clone the Repository
32+
After cloning, move into the **ReSONAte** directory to proceed with setup and usage.
33+
```
34+
git clone https://github.com/JHshin6688/ReSONAte.git
35+
cd ReSONAte
36+
```
37+
### 2. Set Up the Environment
38+
Install required Python packages:
39+
```
40+
pip install -r requirements.txt
41+
```
42+
### 3. Add Your API Key
43+
Create a .env file in the project root and add your API keys:
44+
```
45+
PERPLEXITY_API_KEY=your_perplexity_api_key_here
46+
LINK_PREVIEW_API_KEY=your-link-preview-key-here
47+
SEMANTIC_SCHOLAR_API_KEY=your-semantic-scholar-key-here
48+
```
49+
50+
### 4. Running the App
51+
To start ReSONAte, run the following commands in two separate terminals:
52+
```
53+
uvicorn main:app --reload
54+
streamlit run app.py
55+
```
56+
Make sure both processes are running for ReSONAte to work properly.
57+
58+
## Usage
59+
1. **Start with QA View**: From the main page, select QA View and ask any research question.
60+
2. **Get In-Depth Responses**: ReSONAte will generate a detailed answer, including citations and links to relevant research papers.
61+
3. **Ask Follow-Up Questions**: Feel free to continue the conversation with as many follow-up questions as you'd like.
62+
4. **Track Your Research Journey**: Switch to the CoT Tree View to visualize the sequence of your queries and explore how your ideas have evolved.
63+
5. **Explore New Topics**: To begin research on a different topic, create a new session using the sidebar. Your previous sessions will remain saved and accessible.
64+
65+
## Repository Structure
66+
```text
67+
interface/
68+
├── api.py -> Define request formats
69+
├── components.py -> Components of answer in QA view
70+
├── config.py -> Backend url and white pixel
71+
utils/
72+
├── cot_tree.py -> Components of CoT tree view
73+
├── extract.py -> Extract key research terms using KeyBERT
74+
├── perplexity_api.py -> Generate a response using Perplexity Sonar-Pro API
75+
├── semantic_scholar.py -> Retrieve relevant research papers using Semantic Scholar API
76+
├── thumbnail.py -> Fetch thumbnail for citation links
77+
app.py -> Streamlit interface
78+
main.py -> FastAPI server
79+
requirements.txt -> Python libraries required to run ReSONAte
80+
```
81+
82+
## Links
83+
84+
- [GitHub Repository](https://github.com/JHshin6688/ReSONAte)
85+
- [Live Demo](https://www.youtube.com/watch?v=xDcVBQZ0Oig)

0 commit comments

Comments
 (0)