groq-ruby
Groq Cloud runs LLM models fast and cheap. This is a convenience client library for Ruby.
File Explorer
Download Latest Version (.zip)- main.yml
- console
- setup
- groq-speed-price-20240421.png
- food-customer.yml
- helloworld.yml
- pizzeria-sales.yml
- groq-two-agents-chatting.rb
- README.md
- streaming-to-json-objects.rb
- user-chat-streaming.rb
- user-chat.rb
- install_generator.rb
- client.rb
- configuration.rb
- helpers.rb
- model.rb
- version.rb
- groq-ruby.rb
- groq.rb
- groq.rbs
- get_models.yml
- hello_world.yml
- hello_world.yml
- hello_world.yml
- chat_json_mode.yml
- chat_json_mode_with_dry_schema.yml
- chat_max_tokens.yml
- chat_messages.yml
- chat_single_message.yml
- chat_streaming_chunks.yml
- hello_world.yml
- chat_tools_weather_report.yml
- hello_world.yml
- test_client.rb
- test_models.rb
- test_helper.rb
- .gitignore
- .tool-versions
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- Gemfile
- groq.gemspec
- LICENSE.txt
- Rakefile
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/drnic/groq-ruby
Downloads the entire project code from GitHub to your computer.
cd groq-ruby
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Ruby Ruby is required to use gem.
gem install groq
Installs the package published on RubyGems directly.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Ruby
EasyPrerequisites
bundle add groq
Type this command into your terminal and run it.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
