- Check ruby_llm gem in version check script - Add ruby_llm_config.rb with Aliyun DashScope configuration
7 lines
184 B
Ruby
7 lines
184 B
Ruby
require 'ruby_llm'
|
|
|
|
RubyLLM.configure do |config|
|
|
config.openai_api_key = ENV['ALIYUN_AI_API_KEY']
|
|
config.openai_api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
end
|