mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-13 16:47:43 +03:00
1a4c6c8741
increased default value to 1000 # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
36 lines
759 B
TypeScript
36 lines
759 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: 1000,
|
|
prompt_id: undefined,
|
|
status: "private",
|
|
name: "",
|
|
description: "",
|
|
brain_type: "doc",
|
|
};
|
|
|
|
export const defaultBrainConfig: BrainConfig = {
|
|
model: "gpt-3.5-turbo",
|
|
temperature: 0,
|
|
maxTokens: 1000,
|
|
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",
|
|
};
|