Commit Graph

60 Commits

Author SHA1 Message Date
kennethreitz 8a5a29f864 Refactor EnhancedContextPlugin to handle command line arguments for LLM provider selection 2024-11-06 10:34:26 -05:00
kennethreitz 30d8412bbf Refactor LLM provider and model in enhanced_context.py 2024-11-06 09:57:27 -05:00
kennethreitz 4a852e6220 Refactor LLM provider and model in enhanced_context.py 2024-11-06 09:15:54 -05:00
kennethreitz 7f5ba667bd Refactor EnhancedContextPlugin to store datetime in SQLite format, handle datetime strings properly, and extract/store entities for context 2024-11-06 09:13:59 -05:00
kennethreitz 4b87a8b91c Refactor EnhancedContextPlugin to store datetime in SQLite format, handle datetime strings properly, and extract/store entities for context 2024-11-06 09:03:38 -05:00
kennethreitz 4c1d1fa873 Refactor EnhancedContextPlugin to store datetime in SQLite format and handle datetime strings properly 2024-11-06 08:46:21 -05:00
kennethreitz 0087a7e8f2 Refactor enhanced_context.py and update requirements.txt 2024-11-06 08:42:43 -05:00
kennethreitz 07715ed8df Refactor enhanced_context.py and update requirements.txt 2024-11-06 08:30:29 -05:00
kennethreitz 03f91c5153 Refactor enhanced_context.py and update requirements.txt 2024-11-06 08:18:27 -05:00
kennethreitz aa601648c6 Refactor EnhancedContextPlugin to extract and store entities for context 2024-11-06 08:09:15 -05:00
kennethreitz a26c51014b Refactor enhanced_context.py and update requirements.txt 2024-11-06 08:08:43 -05:00
kennethreitz b3946f1ff9 Refactor mood_detector_plugin.py by removing unused import 2024-11-06 08:00:25 -05:00
kennethreitz 7a84ade5a4 Add MoodDetectorPlugin to examples/mood_detector_plugin.py and update requirements.txt 2024-11-06 08:00:09 -05:00
kennethreitz 3e1d1f98ad Refactor InspirationPlugin in examples/inspiration_plugin.py 2024-11-06 07:54:42 -05:00
kennethreitz 48e6ef2a43 Add InspirationPlugin to examples/inspiration_plugin.py and allow extra fields in BasePlugin's Config 2024-11-06 07:54:11 -05:00
kennethreitz f09052c18e rename 2024-11-04 11:22:10 -05:00
Siddhesh Agarwal 678a8a8b32 Merge branch 'kennethreitz:main' into main 2024-11-04 10:20:44 +05:30
kennethreitz 549d74e146 Refactor recipe printing for better formatting and styling 2024-11-03 07:24:16 -05:00
kennethreitz cb73621e39 rename file 2024-11-03 07:03:51 -05:00
kennethreitz 4721dd8cc0 Add Bible Explorer web app with endpoints for retrieving Bible verses and chapter counts 2024-11-03 07:03:09 -05:00
kennethreitz 718f5a66c0 Refactor AI model sessions and user input handling 2024-11-03 06:53:26 -05:00
Siddhesh Agarwal df02547dec Create multi-LLM-discussion.py 2024-11-03 08:51:37 +05:30
kennethreitz 15ee5d1cf9 Add four-way conversation example 2024-11-02 17:27:09 -04:00
kennethreitz c21f68aad6 Add streaming support to Gemini provider and update example script 2024-11-02 16:54:49 -04:00
kennethreitz 028e89b080 Refactor generate_stream_text.py to use the "gemini" provider for streaming text generation 2024-11-02 16:48:54 -04:00
kennethreitz d6afbd1fd0 Add streaming support to XAI provider and update example usage 2024-11-02 16:42:28 -04:00
kennethreitz b6b1a4f9f3 Add streaming support to generate_text method and refactor related functions 2024-11-02 16:32:30 -04:00
Barış Özmen 36d6ca4a11 example of stream text generation on openai added 2024-11-02 22:15:23 +03:00
kennethreitz 92819112bb Refactor medication data example to use Rich formatting for improved readability 2024-11-02 12:27:51 -04:00
kennethreitz 275ab39d67 Add medication data example to the repository 2024-11-02 12:24:41 -04:00
kennethreitz 74db69c6e9 Refactor llm_provider and add AI perspective in bible_verses.py example 2024-11-02 12:09:17 -04:00
kennethreitz 7b633ce880 Refactor imports and update llm_provider in bible_verses.py example 2024-11-02 12:02:06 -04:00
kennethreitz a651afb8a6 Refactor imports in _context.py and add bible_verses.py example 2024-11-02 11:46:51 -04:00
kennethreitz 34e8a9d190 Update sentiment_analysis.py 2024-11-02 11:04:12 -04:00
kennethreitz c496712a9a Merge pull request #32 from lucianosrp/fix-sys-prompt
fix: `prepend_system_message` use system role by default
2024-11-02 10:54:47 -04:00
Luciano Scarpulla 3d8e169a08 make prepend_system_message use system reole by default 2024-11-02 22:46:54 +08:00
kennethreitz b74af7c8d8 Update discussion.py 2024-11-02 10:45:00 -04:00
kennethreitz fa3ee731df Refactor discussion.py to add MultiAIConversation class for orchestrating conversations between multiple AI models 2024-11-02 09:59:02 -04:00
Barış Özmen c6c7f2ac09 add print result as comments 2024-11-01 18:42:54 +03:00
Barış Özmen cc6611647a Recipe example from readme added to examples, with a new pretty string formatting 2024-11-01 18:41:40 +03:00
Barış Özmen 8f9036fa32 fix bug. send_hook changed to pre_send_hook 2024-11-01 18:40:08 +03:00
Siddhesh Agarwal c4674fc98f recommended changes 2024-10-31 20:39:24 +05:30
Siddhesh Agarwal 33e4046ac3 ran isort on all files 2024-10-31 16:58:47 +05:30
Siddhesh Agarwal 42fc0e6bc5 coderabbit suggestions fix 2024-10-31 12:58:00 +05:30
kennethreitz 1405c3bbb0 two llms talking 2024-10-30 10:21:02 -04:00
kennethreitz 4d38ac02cc Refactor conversation plugin hooks and add plugin interface 2024-10-30 09:07:18 -04:00
kennethreitz 5bf4fc81e7 Refactor generate_data.py to use correct conversation setup and formatting 2024-10-29 14:29:50 -04:00
kennethreitz ca0246a3bb proper manners 2024-10-29 12:37:26 -04:00
kennethreitz 30885beda7 Refactor generate_data.py to use correct conversation setup and formatting 2024-10-29 12:36:13 -04:00
kennethreitz 641de59138 Refactor translate_to_french function to use the correct conversation setup 2024-10-29 12:19:29 -04:00