搜索真实文献并生成引用对应文献的AI论文
3868ad4acf
* Update README.md * Update README.md * Update README_en.md * Update README.md * Update README.md * Update README.md * Update README_en.md * Update README.md * Update README_en.md |
||
---|---|---|
.github/workflows | ||
.vscode | ||
app | ||
components | ||
docs | ||
pages | ||
public | ||
supabase | ||
utils | ||
.env.local | ||
.env.production | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
dictionaries.js | ||
docker-compose.yml | ||
Dockerfile | ||
getPaper.py | ||
LICENSE | ||
middleware.ts | ||
next.config.js | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README_en.md | ||
README.md | ||
sentry.client.config.ts | ||
sentry.edge.config.ts | ||
sentry.server.config.ts | ||
tailwind.config.js | ||
tsconfig.json | ||
vercel.json |
paper-ai
The fastest way to write a paper with true references
Website Documentation (detailed tutorials, highly recommended) · bilibili Video Tutorial
Features · Demo · Deploy to Vercel · Clone and run locally
Features
Using AI for Paper Writing
- AI Write Feature: Click "AI Write" for a normal dialogue interaction. AI will provide writing suggestions or answer questions based on your input.
- Paper2AI Feature: Click "Paper2AI" to search for papers in Semantic Scholar or arxiv based on entered keywords. The system will integrate the information into your paper.
Editing and Modifying
- Directly edit and modify the AI-generated content in the editor.
- Use the provided tools to adjust text style and layout.
Demo
You can view a fully working demo at paperai.life.
Deploy to Vercel
The above will also clone the repo to your GitHub, you can clone that locally and develop locally.
If you wish to just develop locally and not deploy to Vercel, follow the steps below.
Using Docker
- Using
docker pull
command
docker pull 14790897/paperai:latest
- Run Docker
docker run -d -p 3000:3000 \
-e NEXT_PUBLIC_AI_URL=CUSTOM_AI_URL \
-e NEXT_PUBLIC_OPENAI_API_KEY=CUSTOM_API_KEY \
14790897/paperai:latest
Replace CUSTOM_AI_URL
and CUSTOM_API_KEY
to your own AI URL and API key
Environment variable description
- NEXT_PUBLIC_OPENAI_API_KEY sets the key. Simply leave the corresponding position in the settings interface (the gear in the upper right corner) blank, the predetermined variable will be used.
- NEXT_PUBLIC_AI_URL sets the upstream url. Simply leave the corresponding position in the settings interface (the gear in the upper right corner) blank, the predetermined variable will be used.
- NEXT_PUBLIC_SEMANTIC_API_KEY sets the
semantic scholar
key to increase the number of requests - NEXT_PUBLIC_PUBMED_API_KEY sets the
pubmed
key to increase the number of requests
Clone and run locally
# Clone the repository
git clone https://github.com/14790897/paper-ai.git
# Enter the project directory
cd paper-ai
# Install dependencies
npm install
# Run the project
npm run dev
Reference
- semantic scholar api: https://api.semanticscholar.org/api-docs/#tag/Paper-Data/operation/get_graph_paper_relevance_search
- pubmed api: https://www.ncbi.nlm.nih.gov/books/NBK25500/
- i18n: https://locize.com/blog/next-app-dir-i18n/
LICENSE
This repository is licensed under the MIT License
See the LICENSE file for details.