discourse-ai/lib/inference
Sam 3c9901d43a
FEATURE: implement GPT-4 turbo support (#345)
Keep in mind:

- GPT-4 is only going to be fully released next year - so this hardcodes preview model for now
- Fixes streaming bugs which became a big problem with GPT-4 turbo
- Adds Azure endpoing for turbo as well

Co-authored-by: Martin Brennan <martin@discourse.org>
2023-12-11 14:59:57 +11:00
..
amazon_bedrock_inference.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
anthropic_completions.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
cloudflare_workers_ai.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discourse_classifier.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discourse_reranker.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
function.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
function_list.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
hugging_face_text_embeddings.rb FIX: Handle truncation in HyDE search (#342) 2023-12-07 10:36:56 -03:00
hugging_face_text_generation.rb FIX: Don't echo prompt back on HF/TGI (#338) 2023-12-06 16:06:26 -03:00
open_ai_completions.rb FEATURE: implement GPT-4 turbo support (#345) 2023-12-11 14:59:57 +11:00
open_ai_embeddings.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
open_ai_image_generator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
stability_generator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00