mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-07-17 11:46:28 +08:00
Function calling will start hallucinating if you reshape results.
Previously we were morphing from:
`{ prompts: ["prompt 1", "prompt 2"] }`
to
`{ prompts: { prompt: "prompt 1", seed: 222}, { ... `
This meant that over a few call sequences function_call starts hallucinating an incorrect shape.
This change grounds us even on GPT-3.5
|
||
|---|---|---|
| .. | ||
| categories_command_spec.rb | ||
| command_spec.rb | ||
| db_schema_command_spec.rb | ||
| google_command_spec.rb | ||
| image_command_spec.rb | ||
| read_command_spec.rb | ||
| search_command_spec.rb | ||
| search_settings_command_spec.rb | ||
| setting_context_command.rb | ||
| summarize_command_spec.rb | ||
| tags_command_spec.rb | ||
| time_command_spec.rb | ||