2023-11-15 14:42:19 +03:00
|
|
|
import { CreateBrainInput } from "../api/brain/types";
|
2023-09-12 19:04:35 +03:00
|
|
|
import { BrainConfig } from "../types/brainConfig";
|
|
|
|
|
2023-11-15 14:42:19 +03:00
|
|
|
export const addBrainDefaultValues: CreateBrainInput = {
|
|
|
|
model: "gpt-3.5-turbo",
|
|
|
|
temperature: 0,
|
2023-11-22 10:47:51 +03:00
|
|
|
max_tokens: 1000,
|
2023-11-15 14:42:19 +03:00
|
|
|
prompt_id: undefined,
|
|
|
|
status: "private",
|
|
|
|
name: "",
|
|
|
|
description: "",
|
|
|
|
brain_type: "doc",
|
|
|
|
};
|
|
|
|
|
2023-09-12 19:04:35 +03:00
|
|
|
export const defaultBrainConfig: BrainConfig = {
|
|
|
|
model: "gpt-3.5-turbo",
|
|
|
|
temperature: 0,
|
2023-11-22 10:47:51 +03:00
|
|
|
maxTokens: 1000,
|
2023-09-12 19:04:35 +03:00
|
|
|
keepLocal: true,
|
|
|
|
anthropicKey: undefined,
|
|
|
|
backendUrl: undefined,
|
|
|
|
openAiKey: undefined,
|
|
|
|
supabaseKey: undefined,
|
|
|
|
supabaseUrl: undefined,
|
|
|
|
prompt_id: undefined,
|
2023-09-20 10:35:09 +03:00
|
|
|
status: "private",
|
2023-09-26 11:35:52 +03:00
|
|
|
prompt: {
|
|
|
|
title: "",
|
|
|
|
content: "",
|
|
|
|
},
|
|
|
|
name: "",
|
|
|
|
description: "",
|
|
|
|
setDefault: false,
|
2023-11-16 13:02:58 +03:00
|
|
|
brain_type: "doc",
|
2023-09-12 19:04:35 +03:00
|
|
|
};
|