move app to app/ subdir
This commit is contained in:
12
app/src/modelProviders/modelProviders.ts
Normal file
12
app/src/modelProviders/modelProviders.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import openaiChatCompletion from "./openai-ChatCompletion";
|
||||
import replicateLlama2 from "./replicate-llama2";
|
||||
import anthropicCompletion from "./anthropic-completion";
|
||||
import { type SupportedProvider, type ModelProvider } from "./types";
|
||||
|
||||
const modelProviders: Record<SupportedProvider, ModelProvider<any, any, any>> = {
|
||||
"openai/ChatCompletion": openaiChatCompletion,
|
||||
"replicate/llama2": replicateLlama2,
|
||||
"anthropic/completion": anthropicCompletion,
|
||||
};
|
||||
|
||||
export default modelProviders;
|
||||
Reference in New Issue
Block a user