OoriData / OgbujiPT

Client-side toolkit for using large language models, including where self-hosted
Apache License 2.0
101 stars 8 forks source link

Adding command line arguments for demo/chat_web_selects.py #56

Closed uogbuji closed 9 months ago

uogbuji commented 9 months ago

New options: --verbose (verbosity), --limit (max number of chunks to use as context), --chunk-size (characters per chunks) , --chunk-overlap (character overlap between chunks), --question (The user question, otherise given by prompt)

uogbuji commented 9 months ago

Saw this branch when I happened to review the list & it looks handy.

uogbuji commented 9 months ago

While looking at this I've found that demo/chat_web_selects.py & demo/chat_pdf_streamlit_ui.py (the ones using Qdrant) have been broken for the past few releases. Should make a new ticket & PR, but can't be arsed. Just fixing them here.

uogbuji commented 9 months ago

@choccccy just help me spot if anything problematic jumps out at you before I merge.