Commit Graph

18 Commits

Author SHA1 Message Date
Nicholas Albion
a6a1476066 "Expecting value" thrown in 2 scenarios:
- expecting more value (send me the rest)
- expecting valid value (`True` is not a value)
2023-10-06 14:01:20 +11:00
Nicholas Albion
5ef248ff5f #132 clean_json_response() fix case of booleans in JSON 2023-10-06 09:03:45 +11:00
Nicholas Albion
f446c0f028 fixed some unit tests 2023-10-03 19:04:17 +11:00
Nicholas Albion
b0fea79c7b fixed test for CI 2023-09-27 12:45:20 +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
Nicholas Albion
cf97a1be5e removed TODOs 2023-09-26 19:44:52 +10: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
b8965f527d notes and testing 2023-09-25 10:36:37 +10:00
Nicholas Albion
b317f58550 clean up 2023-09-23 16:27:02 +10:00
Nicholas Albion
f4789538a3 6 models returning JSON as per ARCHITECTURE function_calls schema 2023-09-23 14:52:57 +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
4d91f381c1 Tested Developer.install_technology before refactoring without function_calling 2023-09-22 19:11:50 +10:00
Nicholas Albion
d4879a04b7 ARCHITECTURE function_calls works on meta-llama/codellama-34b-instruct 2023-09-21 23:05:37 +10:00
Nicholas Albion
714658a0c8 tidy up tests 2023-09-21 00:25:25 +10:00
Nicholas Albion
2b4186a4f8 test_chat_completion_Architect passes 2023-09-20 23:15:37 +10:00
Nicholas Albion
82690b2a17 added test_end_to_end() and llm_connection test 2023-09-20 22:20:05 +10:00