Introducing the qb101 gem
require 'qb101'
require 'chatgpt2023.rb'
qb = Qb101.new('/tmp/your_questions.txt')
ca = ChatAway.new qb.to_prompts, apikey: apikey, filepath: '/tmp/chatgpt'
ca.start
ab = Ab101.new(qb, '/tmp/chatgpt/chatgpt.xml', debug: true)
ab.save '/tmp/chatgpt/abook.xml'
File.write '/tmp/chatgpt/abook.html', ab.to_html
Questions
Why ask questions?
As an AI language model, I don't have desires or motivations, but I can tell you that asking questions is important for various reasons, including:
- Gathering information - asking questions helps you obtain more information and details about a topic, person or situation.
- Clarifying issues - asking questions helps you to clear up any confusion or misunderstandings in a conversation or discussion.
- Encouraging reflection - asking questions prompts people to think more deeply about their thoughts, ideas and beliefs.
- Promoting learning - asking questions is a fundamental part of the learning process, as it aids retention and understanding of new information.
- Building relationships - asking questions can help build trust and foster good relationships, as people feel listened to and understood.
Resources
qb101 chatgpt answers questions chat book