13 Commits

Author SHA1 Message Date
Nicholas Albion
5fdc853768 GPT4 responded with a JSON object != schema.
Retry the request, advising what the issue was
2023-10-02 18:59:38 +11:00
Nicholas Albion
8cfc7500b6 Merge branch 'debugging_ipc' into feature/99-remove-function-calling 2023-09-27 11:50:10 +10:00
Nicholas Albion
6dd5a032fa Improved JSON prompting for GPT-4 and recover incomplete JSON responses from Code Llama 2023-09-27 10:53:44 +10:00
LeonOstrez
459f9380a7 update code to support python <3.10, update requirements, fix readme issues 2023-09-26 17:13:15 +01:00
Nicholas Albion
e5e0f56d2e JSON validation working 2023-09-26 19:38:24 +10:00
Nicholas Albion
8a024c2ff2 rejecting responses that are not JSON.
Need to fix prompts for GPT-4
2023-09-26 17:27:54 +10:00
Nicholas Albion
dd10b4ad24 removed local_llm_function_calling 2023-09-23 20:20:58 +10:00
Nicholas Albion
623908d093 fixed tests 2023-09-23 17:08:22 +10:00
Nicholas Albion
b317f58550 clean up 2023-09-23 16:27:02 +10:00
Nicholas Albion
18aec507e8 anthropic/claude-2 returns JSON
gpt-3_5 returns technologies such as "Backend: Node.js with Mongo database (Mongoose)"
codellama throws an error due to missing `choices`
2023-09-23 14:34:36 +10:00
Nicholas Albion
156b361263 function_call-style JSON response from gpt-4, gpt-3_5, codellama, palm-2-chat-bison 2023-09-23 00:45:23 +10:00
Nicholas Albion
575c25902e Refactored AgentConvo.postprecess_response() into function_calling.process_json_response() 2023-09-22 22:41:38 +10:00
Nicholas Albion
d4879a04b7 ARCHITECTURE function_calls works on meta-llama/codellama-34b-instruct 2023-09-21 23:05:37 +10:00