Skip to content
Snippets Groups Projects
  • Sean Hatfield's avatar
    1846a99b
    [FEAT] Embedded AnythingLLM (#656) · 1846a99b
    Sean Hatfield authored
    
    * 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: default avatartimothycarambat <rambat1010@gmail.com>
    [FEAT] Embedded AnythingLLM (#656)
    Sean Hatfield authored
    
    * 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: default avatartimothycarambat <rambat1010@gmail.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using npm. Learn more
package.json 1.75 KiB
{
  "name": "anything-llm",
  "version": "0.2.0",
  "description": "The best solution for turning private documents into a chat bot using off-the-shelf tools and commercially viable AI technologies.",
  "main": "index.js",
  "type": "module",
  "author": "Timothy Carambat (Mintplex Labs)",
  "license": "MIT",
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "lint": "cd server && yarn lint && cd ../frontend && yarn lint && cd ../embed && yarn lint && cd ../collector && yarn lint",
    "setup": "cd server && yarn && cd ../collector && yarn && cd ../frontend && yarn && cd .. && yarn setup:envs && yarn prisma:setup && echo \"Please run yarn dev:server, yarn dev:collector, and yarn dev:frontend in separate terminal tabs.\"",
    "setup:envs": "cp -n ./frontend/.env.example ./frontend/.env && cp -n ./server/.env.example ./server/.env.development && cp -n ./collector/.env.example ./collector/.env && cp -n ./docker/.env.example ./docker/.env && echo \"All ENV files copied!\n\"",
    "dev:server": "cd server && yarn dev",
    "dev:collector": "cd collector && yarn dev",
    "dev:frontend": "cd frontend && yarn dev",
    "prisma:generate": "cd server && npx prisma generate",
    "prisma:migrate": "cd server && npx prisma migrate dev --name init",
    "prisma:seed": "cd server && npx prisma db seed",
    "prisma:setup": "yarn prisma:generate && yarn prisma:migrate && yarn prisma:seed",
    "prisma:reset": "truncate -s 0 server/storage/anythingllm.db && yarn prisma:migrate",
    "prod:server": "cd server && yarn start",
    "prod:frontend": "cd frontend && yarn build",
    "generate:cloudformation": "node cloud-deployments/aws/cloudformation/generate.mjs",
    "generate::gcp_deployment": "node cloud-deployments/gcp/deployment/generate.mjs"
  },
  "private": false
}