llama.cpp
SimpleChat: Simple histogram/repeatMatching driven garbageTrimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer), Save/Restore session, Auto Settings UI
#7548
Merged

SimpleChat: Simple histogram/repeatMatching driven garbageTrimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer), Save/Restore session, Auto Settings UI #7548

hanishkvc
github-actions github-actions added examples
github-actions github-actions added server
hanishkvc hanishkvc marked this pull request as draft 1 year ago
mofosyne mofosyne added Review Complexity : Medium
hanishkvc hanishkvc changed the title SimpleChat: Simple histogram/freq driven garbage trimming, Settings UI SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI 1 year ago
mofosyne
mofosyne approved these changes on 2024-05-28
hanishkvc hanishkvc changed the title SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode support 1 year ago
hanishkvc
mofosyne
hanishkvc
hanishkvc hanishkvc changed the title SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode support SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer) 1 year ago
hanishkvc
hanishkvc
hanishkvc hanishkvc changed the title SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer) SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer), Save/Restore session 1 year ago
hanishkvc
hanishkvc hanishkvc marked this pull request as ready for review 1 year ago
mofosyne
hanishkvc hanishkvc force pushed 1 year ago
hanishkvc
mofosyne
hanishkvc
mofosyne
hanishkvc hanishkvc changed the title SimpleChat: Simple histogram and repeat matching driven garbage trimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer), Save/Restore session SimpleChat: Simple histogram/repeatMatching driven garbageTrimming, Settings UI, Streaming mode, OpenAi Compat (Model, Authorization Bearer), Save/Restore session, Auto Settings UI 1 year ago
hanishkvc
mofosyne
mofosyne
hanishkvc SimpleChat:DU:BringIn local helper js modules using importmap
c83c19ad
hanishkvc SimpleChat:DU: Add trim garbage at end in loop helper
54802dc1
hanishkvc SimpleChat:DU:TrimGarbage if unable try skip char and retry
6390f348
hanishkvc SimpleChat:DU: Try trim using histogram based info
f33aa281
hanishkvc SimpleChat:DU: Switch trim garbage hist based to maxUniq simple
d1e73d87
hanishkvc SimpleChat:DU: Bring in maxType to the mix along with maxUniq
ae9f6106
hanishkvc SimpleChat:DU: Cleanup debug log messages
15152af9
hanishkvc SimpleChat:UI: Move html ui base helpers into its own module
a41f7011
hanishkvc SimpleChat:DU:Avoid setting frequence/Presence penalty
ed345aba
hanishkvc SimpleChat:UI: Add and use a para-create-append helper
ae7e66d2
hanishkvc SimpleChat:UI: Helper to create bool button and use it wrt settings
e42249d8
hanishkvc SimpleChat:UI: Add Select helper and use it wrt ChatHistoryInCtxt
1e47a48b
hanishkvc SimpleChat:UI:Select: dict-name-value, value wrt default, change
94bc0b08
hanishkvc SimpleChat:UI: Add Div wrapped label+element helpers
e17f5e02
hanishkvc SimpleChat:UI:Add settings button and bring in settings ui
0dae12ba
hanishkvc SimpleChat:UI:Settings make boolean button text show meaning
452813f2
hanishkvc SimpleChat: Update a bit wrt readme and notes in du
1db965d0
hanishkvc SimpleChat: GarbageTrim enable/disable, show trimmed part ifany
42b4fe55
hanishkvc SimpleChat: highlight trim, garbage trimming bitmore aggressive
f9fc5431
hanishkvc SimpleChat: Cleanup a bit wrt Api end point related flow
b2c10b96
hanishkvc SimpleChat:Move extracting assistant response to SimpleChat class
269cf3f5
hanishkvc SimpleChat:DU: Bring in both trim garbage logics to try trim
f5f9a2b3
hanishkvc SimpleChat: Cleanup readme a bit, add one more chathistory length
060925cd
hanishkvc SimpleChat:Stream:Initial handshake skeleton
9d0e65d1
hanishkvc SimpleChat: Move handling oneshot mode server response
8f97c238
hanishkvc SimpleChat: Move multi part server response handling in
aecf0e23
hanishkvc SimpleChat: Add MultiPart Response handling, common trimming
08b117b4
hanishkvc SimpleChat: show streamed generative text as it becomes available
4d354556
hanishkvc SimpleChat:DU: Add NewLines helper class
b7a5424c
hanishkvc SimpleChat:DU: Make NewLines shift more robust and flexible
7251714b
hanishkvc SimpleChat:HandleResponseMultiPart using NewLines helper
07923745
hanishkvc SimpleChat: Disable console debug by default by making it dummy
fcd385c3
hanishkvc SimpleChat:MultiPart/Stream flow cleanup
ace37042
hanishkvc SimpleChat: Move baseUrl to Me and inturn gMe
104848b0
hanishkvc SimpleChat:UI: Add input element helper
ebf978d2
hanishkvc SimpleChat: Add support for changing the base url
f54e0000
hanishkvc SimpleChat: Move request headers into Me and gMe
dce4e6a6
hanishkvc SimpleChat: Rather need to use append to insert headers
c9559d2b
hanishkvc SimpleChat: Allow Authorization header to be set by end user
af342b3b
hanishkvc SimpleChat:UI+: Return div and element wrt creatediv helpers
7a0399e5
hanishkvc SimpleChat: readme wrt authorization, maybe minimal openai testing
85fd2d0d
hanishkvc SimpleChat: model request field for openai/equivalent compat
0e7880a6
hanishkvc SimpleChat: readme stream-utf-8 trim-english deps, exception2error
48f02e0b
hanishkvc Readme: Add a entry for simplechat in the http server section
009563d1
hanishkvc SimpleChat:WIP:Collate internally, Stream mode Trap exceptions
b75b3db7
hanishkvc SimpleChat:theResp-origMsg: Undo a prev change to fix non trim
cdb4f6d2
hanishkvc SimpleChat: Save message internally in handle_response itself
872ee2c7
hanishkvc SimpleChat:Cleanup: Add spacing wrt shown req-options
ec79b8d3
hanishkvc SimpleChat:UI: CreateDiv Divs map to GridX2 class
803ee72b
hanishkvc SimpleChat: Show Non SettingsUI config field by default
3d925cbd
hanishkvc SimpleChat: Allow for multiline system prompt
1d7739b7
hanishkvc SimpleChat: Add basic skeleton for saving and loading chat
e2efcb4f
hanishkvc SimpleChat:ODS: Add a prefix to chatid wrt ondiskstorage key
a15d4dc6
hanishkvc SimpleChat:ODS:WIP:TMP: Add UI to load previously saved chat
5d408660
hanishkvc SimpleChat:ODS:Move restore/load saved chat btn setup to Me
4abcfde4
hanishkvc SimpleChat:Readme updated wrt save and restore chat session info
6ef57cc1
hanishkvc SimpleChat:Show chat session restore button, only if saved session
bc688036
hanishkvc SimpleChat: AutoCreate ChatRequestOptions settings to an extent
bb0f0c8a
hanishkvc SimpleChat: Update main README wrt usage with server
c4141a59
hanishkvc hanishkvc force pushed to c4141a59 1 year ago
mofosyne mofosyne merged 2ac95c9d into master 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone