chat-research-0.1.9
توضیحات
Use ChatGPT to accelerator your research.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chat-research-0.1.9 |
| نام | chat-research |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yangyang Li |
| ایمیل نویسنده | yangyang.li@northwestern.edu |
| آدرس صفحه اصلی | https://github.com/cauliyang/ChatResearch |
| آدرس اینترنتی | https://pypi.org/project/chat-research/ |
| مجوز | MIT |
# ChatResearch
[][pypi status]
[][pypi status]
[][license]
[][precommit]
[][black]
[](https://github.com/charliermarsh/ruff)
ChatResearch is a tool that uses OpenAI's GPT-3 to accelerate your research.
It provides several features such as generating summary papers, fetching and summarizing papers from arxiv and bioarxiv, generating responses for review comments, and more.
## :question: Why ChatResearch
There have been countless projects and research initiatives in the field of ChatGPT,
but none have fulfilled my particular needs.
Consequently, I have made the decision to develop my own project.
I am committed to continuously refining and improving this project.
Your support and ratings are greatly appreciated, so please do not hesitate to leave a star.
I also welcome any suggestions, proposals, and pull requests.
## :rocket: News
- Multi thread and Asynchronous support has been added.
- GIFs have been added for documentation.
- Config can now be used to set key.
- Output for Latex and PDF is now supported.
## :bookmark: TODO
- [x] Multi thread and Asynchronous support
- [x] Add GIF for document
- [x] Use config to set key
- [x] Support output for Latex and PDF
- [ ] Fine-tune prompt
- [ ] Generate Image
- [ ] Add RSS support for multiple journal
- [ ] Revise help message
- [ ] add classic paper as examples
## :star2: Features
- [Chat Config](#chat-config): Generate `chatre.toml` in current working directory or set environment variable `OPENAI_API_KEY`.
- [Chat Paper](#chat-paper): Fetch or summary paper from local or arxiv with specified query, research fields, and language.
- [Chat Biorxiv](#chat-biorxiv): Fetch and summary paper from bioarxiv with specified category, filter keys, and language.
- [Chat Reviewer](#chat-reviewer): Generate summary paper with specified research fields and language.
- [Chat Response](#chat-response): Generate response for review comment with specified language.
- [Markdown](https://github.com/cauliyang/ChatResearch/blob/main/docs/examples/example2.md), [PDF](https://github.com/cauliyang/ChatResearch/blob/main/docs/examples/example1.pdf), and [Latex](https://github.com/cauliyang/ChatResearch/blob/main/docs/examples/example5.tex)
## :gear: Installation
```console
pip install chat-research
```
## :face_with_monocle: Usage
<img src="https://github.com/cauliyang/ChatResearch/blob/main//docs/tutorial/help.gif" width="800" height="400">
### Chat Config
<img src="https://github.com/cauliyang/ChatResearch/blob/main//docs/tutorial/config.gif" width="800" height="400">
```console
❯ chatre config
```
It will generate `chatre.toml` in current working directory. Otherwise,
setting environment variable `OPENAI_API_KEY` is another way to config API KEY.
Also, `chatre config set OPENAI_API_KEY=sk-key` will create configuration file
in current file directory and set your key as `sk-key`.
```toml
[OpenAI]
OPENAI_API_KEYS = [ "sk-key1", "sk-key2",]
[Gitee]
api = "your_gitee_api"
owner = "your_gitee_name"
repo = "your_repo_name"
path = "files_name_in_your_repo"
```
### Chat Paper
<img src="https://github.com/cauliyang/ChatResearch/blob/main//docs/tutorial/paper.gif" width="800" height="400">
### Chat Biorxiv
<img src="https://github.com/cauliyang/ChatResearch/blob/main//docs/tutorial/biorxiv.gif" width="800" height="400">
### Chat Response
<img src="https://github.com/cauliyang/ChatResearch/blob/main//docs/tutorial/response.gif" width="800" height="400">
### Chat Reviewer
```console
> chatre reviewer -h
usage: chatre reviewer [-h] --paper-path [--file-format] [--review-format] [--research-fields] [--language]
optional arguments:
-h, --help show this help message and exit
--paper-path path of papers
--file-format output file format (default: txt)
--review-format review format
--research-fields the research fields of paper (default: computer science, artificial intelligence and reinforcement learning)
--language output language, en or zh (default: en)
```
## :facepunch: Develop Toolkit
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributors
- Yangyang Li

## :clap: Acknowledgement
- [ChatPaper](https://github.com/kaixindelele/ChatPaper/blob/main/README.md)
- [Arxiv](https://github.com/lukasschwab/arxiv.py)
<!-- links -->
[black]: https://github.com/psf/black
[license]: https://opensource.org/licenses/mit
[precommit]: https://github.com/pre-commit/pre-commit
[pypi status]: https://pypi.org/project/chat-research
نیازمندی
| مقدار | نام |
|---|---|
| >=3.8.4,<4.0.0 | aiohttp[speedups] |
| >=1.4.3,<2.0.0 | arxiv |
| >=0.0.1,<0.0.2 | bs4 |
| >=1.1.3,<2.0.0 | fake-useragent |
| >=0.6,<0.8 | loguru |
| >=3.4.3,<4.0.0 | markdown |
| >=0.27.2,<0.28.0 | openai |
| >=9.5.0,<10.0.0 | pillow |
| >=1.2.3,<2.0.0 | pybase64 |
| >=1.10.7,<2.0.0 | pydantic |
| >=1.21.1,<2.0.0 | pymupdf |
| >=2.28.2,<3.0.0 | requests |
| >=13.3.3,<14.0.0 | rich |
| >=8.2.2,<9.0.0 | tenacity |
| >=0.3.3,<0.4.0 | tiktoken |
| >=0.10.2,<0.11.0 | toml |
| >=2.28.11.17,<3.0.0.0 | types-requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl chat-research-0.1.9:
pip install chat-research-0.1.9.whl
نصب پکیج tar.gz chat-research-0.1.9:
pip install chat-research-0.1.9.tar.gz