llama.cpp
SimpleChat: a simple and dumb web front end for testing /chat/completions and /completions end points and try chat
#7350
Merged

Commits
  • SimpleChat: Add a skeletal html page
    hanishkvc committed 1 year ago
  • SimpleChat: A js skeleton with SimpleChat class
    hanishkvc committed 1 year ago
  • SimpleChat: request_json, globals, startme
    hanishkvc committed 1 year ago
  • SimpleChatJS: Roles Class, submitClick
    hanishkvc committed 1 year ago
  • SimpleChat:HTML: Bring in the js file
    hanishkvc committed 1 year ago
  • SimpleChat: Rather value wrt input text element
    hanishkvc committed 1 year ago
  • SimpleChat: Also add completions related prompt
    hanishkvc committed 1 year ago
  • SimpleChat: Use common helper logic wrt json data
    hanishkvc committed 1 year ago
  • SimpleChat: Move handling of submit request into its own func
    hanishkvc committed 1 year ago
  • SimpleChat: Try handshake with llm over its web service endpoint
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Extract model response and show to user
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Messages/Prompt, indicate working to end user
    hanishkvc committed 1 year ago
  • SimpleChat: Try keep input element in view
    hanishkvc committed 1 year ago
  • SimpleChat: Diff user/assistant msgs, Make input wider
    hanishkvc committed 1 year ago
  • SimpleChat: Move into its own sub directory to avoid confusion
    hanishkvc committed 1 year ago
  • SimpleChat:sh: Add simple shell script to run python3 http.server
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Try trap enter key press wrt input text field
    hanishkvc committed 1 year ago
  • SimpleChat: Allow user to select chat or completion mode
    hanishkvc committed 1 year ago
  • SimpleChat: Dont submit if already submitted and waiting
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Handle difference in response
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Force completion mode be single message by default
    hanishkvc committed 1 year ago
  • SimpleChat: Add a simple readme file
    hanishkvc committed 1 year ago
  • SimpleChat:HTML: Cleanup/structure UI a bit, Add input for system
    hanishkvc committed 1 year ago
  • SimpleChat:Allow system prompt to be set, if provided before user
    hanishkvc committed 1 year ago
  • SimpleChat: Ignore empty user input, without trimming
    hanishkvc committed 1 year ago
  • SimpleChat:Alert user if they provide sysprompt late or change it
    hanishkvc committed 1 year ago
  • SimpleChat: Move handling systemprompt into its own func
    hanishkvc committed 1 year ago
  • SimpleChat:HTML: Add a style for system role message
    hanishkvc committed 1 year ago
  • SimpleChat: Update the readme file
    hanishkvc committed 1 year ago
  • SimpleChat:CSS: Move style info into its own css file
    hanishkvc committed 1 year ago
  • SimpleChat:CSS: Allow for chat div to be scrollable
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Try ensure the last entry in chat is visible
    hanishkvc committed 1 year ago
  • SimpleChat:JS: bottom of element visible, Set focus to user input
    hanishkvc committed 1 year ago
  • SimpleChat: Update notes a bit. Try keep browser happy
    hanishkvc committed 1 year ago
  • SimpleChat:HTML:Group user input+btn together; Note about multichat
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Allow for changing system prompt anytime for future
    hanishkvc committed 1 year ago
  • SimpleChat:Readme: Note about handle_systemprompt begin/anytime
    hanishkvc committed 1 year ago
  • SimpleChat:HTML: Add viewport meta for better mobile friendliness
    hanishkvc committed 1 year ago
  • SimpleChat:HtmlCss: Cleanup UI flow
    hanishkvc committed 1 year ago
  • SimpleChat: textarea for multiline user chat, inturn shift+enter 4 enter
    hanishkvc committed 1 year ago
  • SimpleChat: Make vertical layout better responsive (flex based)
    hanishkvc committed 1 year ago
  • SimpleChat: Rename simplechat.html to index.html, update readme
    hanishkvc committed 1 year ago
  • SimpleChat: Screen fixed view and scrolling, Printing full
    hanishkvc committed 1 year ago
  • SimpleChat:JS:CI: Avoid space at end of jsdoc param line
    hanishkvc committed 1 year ago
  • SimpleChat:JS: MultiChat initial skeleton
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Move system prompt begin/anytime into SimpleChat
    hanishkvc committed 1 year ago
  • SimpleChat:JS:Keep MultiChatUI simple for now
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Move handle submit into MultiChat, build on same
    hanishkvc committed 1 year ago
  • SimpleChat:JS: Move to dictionary of SimpleChat, instead of array
    hanishkvc committed 1 year ago
  • SimpleChat: Move ui elements into MultiChatUI, Update el IDs
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI:Show available chat sessions, try switch btw them
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: Store and use current chat session id
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: Delay enabling user-input to avoid race
    hanishkvc committed 1 year ago
  • SimpleChat: Take care of system prompt
    hanishkvc committed 1 year ago
  • SimpleChat:GetSystemLatest, fix a oversight.
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: Allow selected chat-session btn to be highlighted
    hanishkvc committed 1 year ago
  • SimpleChat:Cleanup corners
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: Ensure req-resp failure doesnt lock up things
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: Support for new chat sessions
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: CreateSessionBtn helper, use wrt NewChat
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI: NewChat btn first before existing chat sessions
    hanishkvc committed 1 year ago
  • SimpleChat:MCUI:CornerCases:Skip new chat, show only if current
    hanishkvc committed 1 year ago
  • SimpleChat: Update readme, title, show usage if no chat to show
    hanishkvc committed 1 year ago
  • SimpleChat: Cleanup the log/dialog messages a bit
    hanishkvc committed 1 year ago
Loading