Commit Graph

196 Commits

Author SHA1 Message Date
pancake 2094464385 Use the best indexer model, be verbose and honor MAXMATCHES 2023-11-28 11:42:56 +01:00
pancake 22ddf1e278 Support indexing subdirectories and malformed markdown files 2023-11-28 11:29:04 +01:00
pancake 0ea7ac905e Add hint support for llama models and fix the vectordb integration 2023-11-28 11:17:48 +01:00
pancake b1fc0c4ec2 Fix chat.trim usage bug 2023-11-28 11:07:50 +01:00
pancake 2a34bc145f Add support for VectorDB (-e data.vectordb=true) 2023-11-28 11:05:01 +01:00
pancake e24fdcaa30 Add buggy esil2c role 2023-11-27 19:00:21 +01:00
pancake feea04b612 Move system message file into the doc/role 2023-11-27 19:00:06 +01:00
pancake 8f44e5fa45 Debug mode doesnt imply llama logging 2023-11-25 13:03:24 +01:00
pancake 3a717766fa Fix index.py when imported outside the project 2023-11-25 13:03:21 +01:00
pancake 27edd5be4f Initial support for festival tts 2023-11-25 12:46:01 +01:00
pancake da44728690 Load openai key from home 2023-11-21 21:06:30 +01:00
pancake 7fee94af8c Helper to filter messages when prompt is too large 2023-11-21 21:03:21 +01:00
pancake c07f5a0a5c Introduce chat.reply and dont include llama when using openai 2023-11-21 20:54:54 +01:00
pancake ec936edb9b Improve code snippet with -c and -i 2023-11-21 20:52:43 +01:00
pancake 6872e3a6c0 Remove tokentrim dependency 2023-11-21 20:51:25 +01:00
pancake ead2bce9dd Add data.local boolean config var to obey data.path or not 2023-11-21 01:04:53 +01:00
pancake d880bd730a improve mistral support 2023-11-21 01:04:42 +01:00
pancake 75ac1f2ddf Avoid dupplicated entries in the indexer 2023-11-21 01:04:26 +01:00
pancake b63832cf0e -e cannot delete keys anymore 2023-11-21 01:00:47 +01:00
pancake caeafe42c8 Fix exception spotted when using the Mistral 2023-11-21 00:26:23 +01:00
pancake dca8543335 Release 0.4.0 2023-11-20 19:08:53 +01:00
pancake 8ce41517fd Fix startup when no r2pipe or r2lang installed 2023-11-20 18:27:16 +01:00
pancake 7ae32beb37 Add unidecode dependency 2023-11-20 18:03:38 +01:00
pancake dcc36345d0 Fix requirements 2023-11-20 17:55:20 +01:00
pancake 17f56dfef6 Honor voice.lang to support en,es,ca 2023-11-20 17:25:54 +01:00
pancake 7e3611a4ab Better queries with indexed data 2023-11-20 16:49:11 +01:00
pancake dce96b3c6e Add more debugging logs when -e debug=true 2023-11-20 16:10:29 +01:00
pancake 847d4fc5a5 Add hint type messages which speedup and improve mastodon requests 2023-11-20 15:58:45 +01:00
pancake becbf8bbd9 Move chat.bubble and chat.live into eval vars 2023-11-20 15:39:32 +01:00
pancake 40bd840ed7 Honor chat.bubble eval var 2023-11-20 15:28:45 +01:00
pancake 7d30f938d9 More indexer fixes 2023-11-20 15:25:14 +01:00
pancake df8a829fc5 Improve context data loading 2023-11-20 15:03:14 +01:00
pancake c72d1b2584 Fix hist loading 2023-11-20 14:46:06 +01:00
pancake dc7258087d Fix systag <<SYS>> glitch in some prompts 2023-11-20 14:39:33 +01:00
pancake e9c00df56f Improve mastodon search support 2023-11-20 14:39:15 +01:00
pancake 7e06c1b2b9 Load startup script from ~/.r2ai.rc 2023-11-20 14:38:54 +01:00
pancake ba7dc984ee Use more env vars and add const.py with comon file paths 2023-11-20 14:38:31 +01:00
pancake 0890fc370d Fix some unexpected ^C stacktraces 2023-11-20 13:23:10 +01:00
pancake a8b0859c38 Smart indexing r2ai chat history and markdown 2023-11-20 13:22:55 +01:00
pancake cfe528c9c7 Max matches is now configurable 2023-11-20 13:22:37 +01:00
pancake fef06baf6c Fix prompt glitch when doing r2.cmd() with newlines 2023-11-20 13:22:13 +01:00
pancake 44173d11d3 Use more env vars for more stuff 2023-11-20 11:16:28 +01:00
pancake 8ab385212d Fix backtraces when message storage is half broken 2023-11-20 11:16:09 +01:00
pancake 95948aeb47 Support templates for the tiefighter model 2023-11-20 11:15:46 +01:00
pancake eae60344d1 Portable ^C handler 2023-11-20 11:15:26 +01:00
pancake 8bc2c58117 Swap the : and ! command behaviour to match with r2 2023-11-20 11:15:07 +01:00
pancake d6d08b4a97 Improve the -e environment config usage 2023-11-20 11:12:48 +01:00
pancake 7f23b32758 -L lists the chat log (resetted with -R) 2023-11-20 11:11:29 +01:00
pancake 64aeba9e9b Improvements in the voice logic 2023-11-20 11:10:56 +01:00
pancake 669f0bfe45 Add more doc texts for r2 2023-11-20 10:28:35 +01:00