b567e13f2a
functionManager: use json-schema-to-ts to derive arguments for OpenAIFunctions
2024-04-24 02:27:31 +02:00
0e5c8d22cc
functionManager: retrofit for tool calls api
2024-04-23 17:46:24 +02:00
74359067d0
functionManager: don't return empty function array for openai
...
openai doesn't accept empty function parameter,
it was discovered after I removed the testing buildin function
2023-12-13 21:08:09 +01:00
02a5b0f7b9
Remove getTime model function
...
it lead to higher usage of tokens.
2023-12-13 17:42:59 +01:00
23ceca5cd3
Update OpenAI dependency
2023-09-27 17:14:17 +02:00
7ff4abc3c0
Configuration: recactor how it is written and handled
2023-09-18 11:22:10 +02:00
7225739527
Update eslintrc.json to also make it consider typings
...
note that I've marked Promises awaiting as a warn,
because I don't want to be bothered with it for now.
I also edited all files to accomodate with the new rules.
I should also think find a way to type-safely import Commands directory,
another time
2023-07-30 22:28:13 +02:00
0e3962e110
Handle unregistered function calls
2023-07-30 01:51:40 +02:00
000641bcfc
Do not catch function execution error when catching errors of json parsing.
...
Errors from model function calling should propagate up instead of being catched there.
2023-07-30 01:43:41 +02:00
56869a2dc2
Make error of function json parsing more descriptive
2023-07-30 01:21:19 +02:00
0df05e2f06
Add function handling for OpenAI model
...
for now it's querying only time, but in the future there will be more commands
2023-07-23 05:50:16 +02:00