Skip to content
Snippets Groups Projects

Create initial Tanuki bot api endpoint

Merged Terri Chu requested to merge tchu-bot-create-new-api into master
All threads resolved!
Compare and Show latest version
2 files
+ 4
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
# frozen_string_literal: true
# frozen_string_literal: true
post 'tanuki_bot/ask' => 'llm/tanuki_bot#ask', as: :tanuki_bot_ask, constraints: { format: :json }
namespace :llm do
 
post 'tanuki_bot/ask' => 'tanuki_bot#ask', as: :tanuki_bot_ask, constraints: { format: :json }
 
end
Loading