mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-12 19:39:27 +03:00
1a5fa8ba0f
Issue: https://github.com/StanGirard/quivr/issues/1627 Demo: <img width="1512" alt="Screenshot 2023-11-15 at 13 09 59" src="https://github.com/StanGirard/quivr/assets/63923024/532c45ce-32d7-4af7-a71f-02eb6099538d">
37 lines
786 B
TypeScript
37 lines
786 B
TypeScript
import { CreateBrainInput } from "../api/brain/types";
|
|
import { BrainConfig } from "../types/brainConfig";
|
|
|
|
export const addBrainDefaultValues: CreateBrainInput = {
|
|
model: "gpt-3.5-turbo",
|
|
temperature: 0,
|
|
max_tokens: 500,
|
|
openai_api_key: undefined,
|
|
prompt_id: undefined,
|
|
status: "private",
|
|
name: "",
|
|
description: "",
|
|
brain_type: "doc",
|
|
};
|
|
|
|
export const defaultBrainConfig: BrainConfig = {
|
|
model: "gpt-3.5-turbo",
|
|
temperature: 0,
|
|
maxTokens: 500,
|
|
keepLocal: true,
|
|
anthropicKey: undefined,
|
|
backendUrl: undefined,
|
|
openAiKey: undefined,
|
|
supabaseKey: undefined,
|
|
supabaseUrl: undefined,
|
|
prompt_id: undefined,
|
|
status: "private",
|
|
prompt: {
|
|
title: "",
|
|
content: "",
|
|
},
|
|
name: "",
|
|
description: "",
|
|
setDefault: false,
|
|
brain_type: "doc",
|
|
};
|