mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-12 11:26:07 +03:00
b09878f332
# 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):
35 lines
755 B
TypeScript
35 lines
755 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: [],
|
|
raw: false,
|
|
jq_instructions: "",
|
|
},
|
|
connected_brains_ids: [],
|
|
integration: undefined,
|
|
};
|
|
|
|
export const defaultModel: Model = "gpt-3.5-turbo";
|
|
export const defaultMaxTokens = 1000;
|
|
export const defaultTemperature = 0;
|