paper-ai
English Documentation
How to complete a paper with the fastest speed of using real literature
Document website (the tutorial is more detailed, it is recommended to read here) · bilibili video tutorial
Features · Demo · Deploy to Vercel · Clone and run locally
Function
Using artificial intelligence to write papers
- Artificial Intelligence Writing Function : Click "AI Writing" to have normal dialogue and interaction. Artificial intelligence will provide writing suggestions or answer questions based on your input.
- Search for literature function : Click "Search for literature" to search for papers in Semantic Scholar or arxiv or PubMed based on the keywords entered. The system will integrate the information into your paper.
Edit and modify
- Edit and modify content generated by AI directly in the editor.
- Use the provided tools to adjust text style and layout.
Demo
You can view the full work demo at paperai.life.
Deploy to Vercel
The above operation will also clone the repo to GitHub.
If you only want to develop locally and not deploy to Vercel, follow these steps.
Mirror running
- Pull the mirror
docker pull 14790897/paperai:latest
- Run the mirror
docker run -d -p 3000:3000
-e NEXT_PUBLIC_AI_URL=自定义AI模型地址
-e NEXT_PUBLIC_OPENAI_API_KEY=自定义API KEY
14790897/paperai:latest
Environment variable description
- NEXT_PUBLIC_OPENAI_API_KEY Set the key, as long as you leave blank in the corresponding position of the setting interface (top right corner gear) you will use the predetermined variable.
- NEXT_PUBLIC_AI_URL Set up the upstream url, and as long as you leave blank in the corresponding position of the setting interface (top right corner gear) you will use the predetermined variable.
- NEXT_PUBLIC_SEMANTIC_API_KEY Set the key of semantic scholar to increase the number of requests
- NEXT_PUBLIC_PUBMED_API_KEY Set the key of pubmed to increase the number of requests
Clone and run locally
# 克隆版本库
git clone https://github.com/14790897/paper-ai.git
# 进入项目目录
cd paper-ai
# 安装依赖项
npm install
# 运行项目
npm run dev
Reference Documents
- 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
The project has been licensed by MIT License