Skip to content

Commit 59514dd

Browse files
Add post_install_message
1 parent c7d1a64 commit 59514dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/langchainrb_rails/generators/langchainrb_rails/assistant_generator.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ def copy_stylesheets
8484
# def add_to_gemfile
8585
# end
8686

87+
def post_install_message
88+
say "1. Set an environment variable ENV['#{llm.upcase}_API_KEY'] for your #{llm_class}."
89+
say "2. Run `rails db:migrate` to apply the database migrations to create the assistants and messages tables."
90+
say "3. Start your Rails server and navigate to `/assistants` to create your first assistant!"
91+
end
92+
8793
private
8894

8995
# @return [String] LLM provider to use

0 commit comments

Comments
 (0)