2023-11-15 14:42:19 +03:00
|
|
|
import { CreateBrainInput } from "../api/brain/types";
|
2024-01-23 04:37:45 +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: [],
|
2024-01-26 02:56:46 +03:00
|
|
|
raw: false,
|
|
|
|
jq_instructions: "",
|
2023-12-06 12:12:03 +03:00
|
|
|
},
|
2023-12-06 17:59:59 +03:00
|
|
|
connected_brains_ids: [],
|
2024-02-21 02:11:03 +03:00
|
|
|
integration: undefined,
|
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;
|