-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a websocket for streaming from the chat UI #679
Commits on Mar 11, 2024
-
Initial pass at backend changes to support agents
- Add a db model for Agents, attaching them to conversations - When an agent is added to a conversation, override the system prompt to tweak the instructions - Agents can be configured with prompt modification, model specification, a profile picture, and other things - Admin-configured models will not be editable by individual users - Add unit tests to verify agent behavior. Unit tests demonstrate imperfect adherence to prompt specifications
Configuration menu - View commit details
-
Copy full SHA for 9b88976 - Browse repository at this point
Copy the full SHA 9b88976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 352168d - Browse repository at this point
Copy the full SHA 352168dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab6493 - Browse repository at this point
Copy the full SHA 6ab6493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e1445b - Browse repository at this point
Copy the full SHA 8e1445bView commit details
Commits on Mar 13, 2024
-
- Add a page to view all agents - Add slugs to manage agents - Add a view to view single agent - Display active agent when in chat window - Fix post-login redirect issue
Configuration menu - View commit details
-
Copy full SHA for 290712c - Browse repository at this point
Copy the full SHA 290712cView commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c45030a - Browse repository at this point
Copy the full SHA c45030aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3caf0a7 - Browse repository at this point
Copy the full SHA 3caf0a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 345afec - Browse repository at this point
Copy the full SHA 345afecView commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d734be6 - Browse repository at this point
Copy the full SHA d734be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b3fc68 - Browse repository at this point
Copy the full SHA 1b3fc68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 416feb1 - Browse repository at this point
Copy the full SHA 416feb1View commit details -
Merge branch 'master' of github.com:khoj-ai/khoj into features/custom…
…ize-chat-with-agents
Configuration menu - View commit details
-
Copy full SHA for 7fc484b - Browse repository at this point
Copy the full SHA 7fc484bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 724557f - Browse repository at this point
Copy the full SHA 724557fView commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 36af977 - Browse repository at this point
Copy the full SHA 36af977View commit details -
Add support for chatting via the web socket connection
- Convert to a model of calling the search API directly with a function call (rather than using the API method) - Gracefully handle websocket connection disconnects - Ensure that the rest of the response is still saved, as it is currently, if the user disconects from the client - Setup unchangeable context at the beginning of the session when the connection is established (like location, username, etc)
Configuration menu - View commit details
-
Copy full SHA for a346f79 - Browse repository at this point
Copy the full SHA a346f79View commit details -
Update the web UI for the chat interface to establish a connection vi…
…a a socket to the server - Move some common methods into separate functions to make the UI components more efficient - The normal HTTP-based chat connection will still work and serves as a fallback if the websocket is unavailable
Configuration menu - View commit details
-
Copy full SHA for d4e83b0 - Browse repository at this point
Copy the full SHA d4e83b0View commit details -
Use a common method for sending a generic message to the client from …
…the server in the ws connection
Configuration menu - View commit details
-
Copy full SHA for 70ad789 - Browse repository at this point
Copy the full SHA 70ad789View commit details -
Scroll down when a message is added in the chat interface's handle st…
…ream response method
Configuration menu - View commit details
-
Copy full SHA for d84188b - Browse repository at this point
Copy the full SHA d84188bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 255b69d - Browse repository at this point
Copy the full SHA 255b69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba0d8e - Browse repository at this point
Copy the full SHA 6ba0d8eView commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d38089a - Browse repository at this point
Copy the full SHA d38089aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2399d91 - Browse repository at this point
Copy the full SHA 2399d91View commit details
Commits on Mar 23, 2024
-
Merge branch 'features/customize-chat-with-agents' of github.com:khoj…
…-ai/khoj into features/add-agents-ui
Configuration menu - View commit details
-
Copy full SHA for 2061761 - Browse repository at this point
Copy the full SHA 2061761View commit details -
Merge branch 'features/add-agents-ui' of github.com:khoj-ai/khoj into…
… features/chat-socket-streaming
Configuration menu - View commit details
-
Copy full SHA for 6b4c4f1 - Browse repository at this point
Copy the full SHA 6b4c4f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8edbd70 - Browse repository at this point
Copy the full SHA 8edbd70View commit details -
Merge branch 'features/add-agents-ui' of github.com:khoj-ai/khoj into…
… features/chat-socket-streaming
Configuration menu - View commit details
-
Copy full SHA for 4deb849 - Browse repository at this point
Copy the full SHA 4deb849View commit details
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 47fc7e1 - Browse repository at this point
Copy the full SHA 47fc7e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 228ad68 - Browse repository at this point
Copy the full SHA 228ad68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 867e100 - Browse repository at this point
Copy the full SHA 867e100View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf1187f - Browse repository at this point
Copy the full SHA bf1187fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f484266 - Browse repository at this point
Copy the full SHA f484266View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f71e0 - Browse repository at this point
Copy the full SHA b4f71e0View commit details