mt7180 / quaigle

RAG-based LLM application: project to explore different llm-frameworks like llamaindex, marvin and langchain, other used frameworks: streamlit, fastapi
1 stars 1 forks source link

create RunnableMap with langchain to question a sqlite database #39

Closed mt7180 closed 1 year ago

mt7180 commented 1 year ago

wip: created script with functionality, have to refactor and implement to back/ frontend

mt7180 commented 1 year ago

I implemented the full functionality of database querying by natural language into front and backend, different chat engines are created for the different tasks (database/ text) by composition/ duck typing and are bound to the fastapi app. Additionally a custom token counter is created for the database mode instead of the text token counter and ingested.

Zaubeerer commented 1 year ago

I will look into this tomorrow.

Any other PR I should have a look at tomorrow?

mt7180 commented 1 year ago

wip: after merging in the other functionalities it doesn't fully work anymore, have to fix it