Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 4.08 KB

README_en.md

File metadata and controls

70 lines (52 loc) · 4.08 KB

LINE-NEWS-Bot_en

An AI-driven LINE chatbot providing different news perspectives: AI, what's your take?

Introduction

Have you ever read a news article and felt that something about the report was a bit off, but couldn't quite put your finger on it?

If you're interested in hearing alternative viewpoints, this LINE chatbot is more than happy to offer its insights 🎙️.

Simply share a news link with it, and it will provide comments based on the article's headline, perspectives, and presentation, offering them as a reference for you.

Of course, it's important not to fully accept its opinions, as AI can easily make mistakes, and its comments might not always be impartial 😅. This isn't professional news critique; the AI's viewpoints are merely for consideration, so please don't take them too seriously⚠️.

Additionally, because the bot is powered by the same GPT-3.5 as ChatGPT 🧠, feel free to have casual conversations with it or ask questions beyond news!

GUI

Click to add as a friend👉👉 AI, what's your take?

Environment Setup

Set up environment variables

Building Command

    pip install -r requirements.txt

Start Command

    gunicorn app:app --timeout 3600

(Due to occasionally long response times from the OpenAI API, a longer timeout is set.)

Reference Resources

Contributing

Pull requests are welcome! For significant changes, please open an issue to discuss the proposed modifications.

License

MIT License

This project's flexibility and scalability are substantial. Changing a prompt immediately transforms it into a different type of bot, and the use of LangChain framework makes adding advanced features like embedding queries a straightforward task.

Feel free to use the code from this project to create various useful conversational bots by unleashing your imagination.