Project

rsnchat

0.0
No release in over a year
A package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, and Mixtral
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 5.0
 Project Readme

rsnchat

This package package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa Mixtral and etc... without restrictions or limits

Installation

Installation

gem install rsnchat

APIKEY

Discord : https://discord.gg/r5QWdKfQxr

Example CLI Command

rsnchat

Join discord server and create account with /new slash command and get your apikey with /key slash command for free!

Usage GPT3

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.gpt('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage GPT4

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.gpt4('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage OpenChat

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.openchat('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage Bard

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.bard('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage Gemini

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.gemini('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage LlaMa

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.llama('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage CodeLlama

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.codellama('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage Mixtral

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.mixtral('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage Claude (premium)

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.claude('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage Naomi (ai girlfriend) (premium)

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.naomi('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end

Usage ZeroTwo (ai girl) (premium)

require 'rsn_chat'

rsn_chat = RsnChat.new('rsnai_××××××××××××××××××××××')

begin
  response = rsn_chat.zerotwo('Hello what is your name?')
  puts "Response: #{response['message']}"
rescue RuntimeError => e
  puts "Error: #{e.message}"
end