Skip to content

Training with Flask, LLMs, Chats, LangChain, ChatGroq, VoiceControl

Notifications You must be signed in to change notification settings

grega913/flask_202409

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

20241004 - in "/gg.js" and "/gg.html" -> many issues with importing js functions

20241003 - adding new route for pdfs loading from a folder - "/gg" (glucose goddess). We have multiple pdfs in a folder.

relevant files:

  • ai/gg.py ->
  • routes.py -> new route defined: gg
  • templates/gg.html -> html template for displaying relevant data
  • static/gg.js -> js for gg.html template

20241003 - working route is "/chat"

  • working with sqlite, but needs some restrictions, as currently whole db is going into chat_history . . not ok, too large input

20240928 - finaly working transcription

20241002 - Should be working, but the fact that all the db gets called everytime a LLM request is made, quickly fills the context. Should be fixed.

20241002 - added tts to chat.js, so that messages are read. Had quite some problems with definig paths in route/chat, but made it work with fetch after all.

test_persistance.py --> added memory logic, with SQAlchemy and sqlite.

flask_202409

Training with Flask, LLMs, Chats, LangChain, ChatGroq, VoiceControl

How to run?

python main.py

About

Training with Flask, LLMs, Chats, LangChain, ChatGroq, VoiceControl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published