Skip to content

Commit

Permalink
updated to latest gpt-4o snapshot, changed file uploads to get proces…
Browse files Browse the repository at this point in the history
…sed by file_search rather than code_interpreter.
  • Loading branch information
bruffridge committed Aug 13, 2024
1 parent 502f7b4 commit cd0d5ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/assistant/bidara.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const TEST_NAME = "BIDARA-TEST";

export const NAME = PROD_NAME;

export const VERSION = "2.00";
export const VERSION = "2.01";

export const LOGO = "bidara.png";
export const LOGO_DESC = "girl with dark hair";
Expand All @@ -17,7 +17,7 @@ export const DESCRIPTION = "I'm an OpenAI [GPT-4o](https://openai.com/index/hell
export const ADVISORY = "**Do not share any sensitive information** in your conversations including but not limited to, personal information, sensitive or non-public government/company data, ITAR, CUI, export controlled, or trade secrets. \n‣ While OpenAI has safeguards in place, BIDARA may occasionally generate incorrect or misleading information and produce offensive or biased content.";
export const GREETING = "How can I assist you today?";

export const MODEL = "gpt-4o-2024-05-13";
export const MODEL = "gpt-4o-2024-08-06";

const now = new Date();
const formattedDate = now.toLocaleDateString();
Expand Down
2 changes: 1 addition & 1 deletion src/components/AssistantDeepChat.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
new_assistant: asstConfig,
thread_id: threadId,
load_thread_history: false,
files_tool_type: 'code_interpreter',
files_tool_type: 'file_search',
function_handler: handleFuncCalling
} : null
}
Expand Down

0 comments on commit cd0d5ef

Please sign in to comment.