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 rsnchatAPIKEY
Discord : https://discord.gg/r5QWdKfQxr
Example CLI Command
rsnchatJoin 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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}"
endUsage 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