2023-11-15 14:42:19 +03:00
|
|
|
import { CreateBrainInput } from "../api/brain/types";
|
2023-11-22 13:15:14 +03:00
|
|
|
import { Model } from "../types/brainConfig";
|
2023-09-12 19:04:35 +03:00
|
|
|
|
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-12-06 12:12:03 +03:00
|
|
|
brain_definition: {
|
|
|
|
method: "GET",
|
|
|
|
url: "",
|
|
|
|
search_params: {
|
|
|
|
properties: [],
|
|
|
|
required: [],
|
|
|
|
},
|
|
|
|
params: {
|
|
|
|
properties: [],
|
|
|
|
required: [],
|
|
|
|
},
|
|
|
|
secrets: [],
|
|
|
|
},
|
2023-12-06 17:59:59 +03:00
|
|
|
connected_brains_ids: [],
|
2023-11-15 14:42:19 +03:00
|
|
|
};
|
|
|
|
|
2023-11-22 13:15:14 +03:00
|
|
|
export const defaultModel: Model = "gpt-3.5-turbo";
|
|
|
|
export const defaultMaxTokens = 1000;
|
|
|
|
export const defaultTemperature = 0;
|