gristlabs_grist-core/test/formula-dataset
Paul Fitzpatrick 0be858c19d
allow AI Assistance to run against any chat-completion-style endpoint (#630)
This adds an ASSISTANT_CHAT_COMPLETION_ENDPOINT which can be used
to enable AI Assistance instead of an OpenAI API key. The assistant
then works against compatible endpoints, in the mechanical sense.
Quality of course will depend on the model. I found some tweaks
to the prompt that work well both for Llama-2 and for OpenAI's models,
but I'm not including them here because they would conflict with some
prompt changes that are already in the works.

Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
2023-08-18 16:14:42 -04:00
..
data (core) Modify prompt so that model may say it cannot help with certain requests. 2023-06-27 15:57:56 +02:00
.gitignore (core) Improve parsing formula from completion 2023-06-16 13:38:20 +02:00
runCompletion_impl.ts allow AI Assistance to run against any chat-completion-style endpoint (#630) 2023-08-18 16:14:42 -04:00
runCompletion.js add support for conversational state to assistance endpoint (#506) 2023-05-08 14:15:22 -04:00