mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-18 16:11:45 +03:00
d9f6ce4e68
Issue: https://github.com/StanGirard/quivr/issues/1832 Demo: https://github.com/StanGirard/quivr/assets/63923024/e9c0e9b8-04b1-4f12-a8ef-b27f0f489e48 <img width="1503" alt="Screenshot 2023-12-06 at 15 23 12" src="https://github.com/StanGirard/quivr/assets/63923024/11e6960b-c1c3-4abf-aeed-c226f034246f"> <img width="1503" alt="Screenshot 2023-12-06 at 15 23 23" src="https://github.com/StanGirard/quivr/assets/63923024/09681a9d-ce2e-42bb-8151-1986e27f7312">
32 lines
688 B
TypeScript
32 lines
688 B
TypeScript
import { CreateBrainInput } from "../api/brain/types";
|
|
import { Model } from "../types/brainConfig";
|
|
|
|
export const addBrainDefaultValues: CreateBrainInput = {
|
|
model: "gpt-3.5-turbo",
|
|
temperature: 0,
|
|
max_tokens: 1000,
|
|
prompt_id: undefined,
|
|
status: "private",
|
|
name: "",
|
|
description: "",
|
|
brain_type: "doc",
|
|
brain_definition: {
|
|
method: "GET",
|
|
url: "",
|
|
search_params: {
|
|
properties: [],
|
|
required: [],
|
|
},
|
|
params: {
|
|
properties: [],
|
|
required: [],
|
|
},
|
|
secrets: [],
|
|
},
|
|
connected_brains_ids: [],
|
|
};
|
|
|
|
export const defaultModel: Model = "gpt-3.5-turbo";
|
|
export const defaultMaxTokens = 1000;
|
|
export const defaultTemperature = 0;
|