khoj/src
Debanjum Singh Solanky acdc3f9470 Unwrap any json in md code block, when parsing chat actor responses
This is a more robust way to extract json output requested from
gemma-2 (2B, 9B) models which tend to return json in md codeblocks.

Other models should remain unaffected by this change.

Also removed request to not wrap json in codeblocks from prompts. As
code is doing the unwrapping automatically now, when present
2024-08-16 14:16:29 -05:00
..
interface Break long links in train of thought to stay within chat page width 2024-08-16 14:16:29 -05:00
khoj Unwrap any json in md code block, when parsing chat actor responses 2024-08-16 14:16:29 -05:00
telemetry Add isort to the pre-commit configuration and apply it to the whole project (#595) 2023-12-28 18:04:02 +05:30