[FEAT] Embedded AnythingLLM (#656)
* WIP embedded app
* WIP got response from backend in embedded app
* WIP streaming prints to embedded app
* implemented streaming and tailwind min for styling into embedded app
* WIP embedded app history functional
* load params from script tag into embedded app
* rough in modularization of embed chat
cleanup dev process for easier dev support
move all chat to components
todo: build process
todo: backend support
* remove eslint config
* Implement models and cleanup embed chat endpoints
Improve build process for embed
prod minification and bundle size awareness
WIP
* forgot files
* rename to embed folder
* introduce chat modal styles
* add middleware validations on embed chat
* auto open param and default greeting
* reset chat history
* Admin embed config page
* Admin Embed Chats mgmt page
* update embed
* nonpriv
* more style support
reopen if chat was last opened
* update comments
* remove unused imports
* allow change of workspace for embedconfig
* update failure to lookup message
* update reset script
* update instructions
* Add more styling options
Add sponsor text at bottom
Support dynamic container height
Loading animations
* publish new embed script
* Add back syntax highlighting and keep bundle small via dynamic script build
* add hint
* update readme
* update copy model for snippet with link to styles
---------
Co-authored-by:
timothycarambat <rambat1010@gmail.com>
Showing
- .vscode/settings.json 3 additions, 0 deletions.vscode/settings.json
- README.md 2 additions, 2 deletionsREADME.md
- embed/.gitignore 25 additions, 0 deletionsembed/.gitignore
- embed/.prettierignore 9 additions, 0 deletionsembed/.prettierignore
- embed/README.md 90 additions, 0 deletionsembed/README.md
- embed/index.html 13 additions, 0 deletionsembed/index.html
- embed/jsconfig.json 12 additions, 0 deletionsembed/jsconfig.json
- embed/package.json 43 additions, 0 deletionsembed/package.json
- embed/scripts/updateHljs.mjs 35 additions, 0 deletionsembed/scripts/updateHljs.mjs
- embed/src/App.jsx 52 additions, 0 deletionsembed/src/App.jsx
- embed/src/assets/anything-llm-dark.png 0 additions, 0 deletionsembed/src/assets/anything-llm-dark.png
- embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx 43 additions, 0 deletions...Container/ChatHistory/HistoricalMessage/Actions/index.jsx
- embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx 60 additions, 0 deletions...dow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx
- embed/src/components/ChatWindow/ChatContainer/ChatHistory/PromptReply/index.jsx 65 additions, 0 deletions...hatWindow/ChatContainer/ChatHistory/PromptReply/index.jsx
- embed/src/components/ChatWindow/ChatContainer/ChatHistory/index.jsx 123 additions, 0 deletions...components/ChatWindow/ChatContainer/ChatHistory/index.jsx
- embed/src/components/ChatWindow/ChatContainer/PromptInput/index.jsx 78 additions, 0 deletions...components/ChatWindow/ChatContainer/PromptInput/index.jsx
- embed/src/components/ChatWindow/ChatContainer/index.jsx 91 additions, 0 deletionsembed/src/components/ChatWindow/ChatContainer/index.jsx
- embed/src/components/ChatWindow/Header/index.jsx 92 additions, 0 deletionsembed/src/components/ChatWindow/Header/index.jsx
- embed/src/components/ChatWindow/index.jsx 89 additions, 0 deletionsembed/src/components/ChatWindow/index.jsx
- embed/src/components/Head.jsx 171 additions, 0 deletionsembed/src/components/Head.jsx
Loading
Please register or sign in to comment