Awesome ChatGPT Actors
This gem is a collection of actors made with Awesome Chatgpt Prompts in ruby.
So for prompts information, please refer to that repository.
The prompts was edited and translated to brazillian portuguese, so it can be used in english and portuguese.
The actors is currently been tested, and it's default values will be changed in the future.
Requirements
Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add awesome_chatgpt_actors
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install awesome_chatgpt_actors
Add to your rakefile:
require 'awesome_chatgpt_actors'
AwesomeChatgptActors.load_tasks
Run in the command line:
$ rake chatgpt_actors:install
Usage
require 'awesome_chatgpt_actors'
actor = AwesomeChatgptActors::Actor.new
actor = AwesomeChatgptActors::Actor.new(
role: 'Virtual Assistant',
language: 'en',
)
actor = AwesomeChatgptActors::Actor.new(
language: 'pt',
)
actor = AwesomeChatgptActors::Actor.new(
role: 'Virtual Assistant',
language: 'pt',
)
actor = AwesomeChatgptActors::Actor.new(
role: 'Virtual Assistant',
language: 'en',
prompt: 'I want you to act as a virtual assistant. I will give you tasks and you will reply with the results of the tasks. I want you to only reply with the results of the tasks, and nothing else. Do not write explanations. My first task is ""I want you to write a short story about a cat"""',
accertivity: 1,
default_frequency: 0,
default_presence: 0,
has_placeholder: false,
)
actor = AwesomeChatgptActors::Actor.new(
random: true,
)
actor = AwesomeChatgptActors::Actor.new(
random: true,
language: 'pt',
)
actor.act_as('Virtual Assistant')
AwesomeChatgptActors::CastControl.add_actor(actor: 'Virtual Assistant', prompt: 'I want you to act as a virtual assistant. I will give you tasks and you will reply with the results of the tasks. I want you to only reply with the results of the tasks, and nothing else. Do not write explanations. My first task is ""I want you to write a short story about a cat"""', has_placeholder: false, accertivity: 1, default_frequency: 0, default_presence: 0, language: 'en')
AwesomeChatgptActors::CastControl.remove_actor(actor: 'Virtual Assistant', language: 'en')
AwesomeChatgptActors::CastControl.actors
AwesomeChatgptActors::CastControl.actors_pt
AwesomeChatgptActors::CastControl.actor_exists?(actor: 'Virtual Assistant')
AwesomeChatgptActors::CastControl.actor_exists_in_pt?(actor: 'Virtual Assistant')
AwesomeChatgptActors::CastControl.csv_path
AwesomeChatgptActors::CastControl.pt_csv_path
AwesomeChatgptActors::CastControl.temp_path
Testing
Create a .env_test file with the same variables as the .env file, but with the test values.
This gem was tested with Rspec. To run the tests, execute:
$ bundle exec rspec

Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/JesusGautamah/awesome-chatgpt-actors. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the AwesomeChatgptActors project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.