chatgpt-rss
所属分类:GPT/ChatGPT
开发工具:JavaScript
文件大小:6KB
下载次数:0
上传日期:2023-02-02 05:09:10
上 传 者:
sh-1993
说明: 使用OpenAI的ChatGPT和BBC新闻API的最新文章轻松生成新闻摘要。一个基于NodeJS的项目,集成了这些强大的工具,提供了一种方便的方式来随时了解最新消息。
(Generate news summaries with ease using OpenAI s ChatGPT and the latest
articles from the BBC News API. A NodeJS-based project that integrates these
powerful tools to provide a convenient way to stay updated on the latest news.
,)
文件列表:
index.js (2192, 2023-02-02)
package.json (335, 2023-02-02)
yarn.lock (8445, 2023-02-02)
# Intro
## ChatGPT + BBC News API for creating new context
A NodeJS based project that uses ChatGPT to generate summaries of
articles from the BBC News API by fetching data through its XML RSS
feed.
## Getting Started
These instructions will help you set up the project on your local
machine and run it.
### Prerequisites
- NodeJS
- npm
- An API key for the OpenAI API (You can sign up for a free API key
[here](https://beta.openai.com/signup))
### Installation
1. Clone this repository to your local machine ``git clone https://github.com/{YourUsername}/{RepositoryName}.git``
2. Change into the project directory ``cd {RepositoryName}``
3. Install the required packages ``npm install``
### Running the Project
1. Set the OpenAI API key as an environment variable using the `OPENAI_API_KEY` variable.
2. Run the project ``node index.js``
## Built With
- [NodeJS](https://nodejs.org)
- [OpenAI API](https://beta.openai.com/docs/api-reference/text-completion)
- [BBC News API](http://feeds.bbci.co.uk/news/rss.xml)
## Contributing
Contributions are welcome. Please follow the standard Git workflow - fork the repository, create a new branch, make changes, and open a pull request.
## License
This project is licensed under the {License Name} license.
## Acknowledgments
- Inspiration from the integration of [OpenAI API](https://beta.openai.com/docs/api-reference/text-completion) and [BBC News API](http://feeds.bbci.co.uk/news/rss.xml)
## Contributors
- fahdi
近期下载者:
相关文件:
收藏者: