├── LICENSE ├── README.md ├── backend ├── .DS_Store ├── Dockerfile ├── auth.py ├── cognitive_kernel │ ├── base_model_connection.py │ ├── call_web.py │ ├── code_executor.py │ ├── cognitive_kernel.py │ ├── file_loader.py │ └── memory_kernel │ │ ├── db_connection.py │ │ ├── knowledge_engine.py │ │ ├── knowledge_engine_config │ │ ├── default_configs.json │ │ └── global_configs.jsonl │ │ ├── knowledge_engine_connection.py │ │ ├── retriever.py │ │ └── text_embed_service.py ├── database.py ├── main.py ├── requirements.txt ├── resources │ └── default_avatar.png └── service_url_config.json ├── character_pool └── cognitiveKernel │ ├── avatar.png │ ├── functions │ ├── AskLLM │ │ ├── description.txt │ │ ├── examples.jsonl │ │ └── implementation.py │ ├── CallMemoryKernel │ │ ├── description.txt │ │ ├── examples.jsonl │ │ └── implementation.py │ └── CallWeb │ │ ├── description.txt │ │ ├── examples.jsonl │ │ └── implementation.py │ └── info.json ├── developer_users.txt ├── docker-compose.yaml ├── docs ├── index.html ├── resources │ └── CK_logo.png └── static │ ├── css │ ├── bulma-carousel.min.css │ ├── bulma-slider.min.css │ ├── bulma.css.map.txt │ ├── bulma.min.css │ ├── fontawesome.all.min.css │ └── index.css │ ├── images │ ├── Case1.mp4 │ ├── Case2.mp4 │ ├── experiment-main.jpg │ └── framework.jpg │ └── js │ ├── bulma-slider.min.js │ ├── fontawesome.all.min.js │ ├── index.js │ └── question_card.js ├── frontend ├── Dockerfile ├── index.html ├── mime.types ├── nginx.conf ├── package-lock.json ├── package.json ├── src │ ├── App.tsx │ ├── assets │ │ └── user.png │ ├── components │ │ ├── FileUploader.tsx │ │ ├── HistoryList.tsx │ │ ├── Messages.tsx │ │ ├── MyAnnotation.tsx │ │ ├── MyAnnotator.tsx │ │ ├── MyCodeBlock.tsx │ │ ├── MyLogin.tsx │ │ ├── MyMessageRender.tsx │ │ ├── MyModelSelector.tsx │ │ ├── MySingleMessageRender.tsx │ │ ├── MySingleMessageRenderWeb.tsx │ │ ├── NewMessage.tsx │ │ └── Sidebar.tsx │ ├── contexts │ │ ├── StatusContext.tsx │ │ └── WebSocketConnectionContext.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── init_db └── create_databases.sql └── web ├── Dockerfile ├── package.json └── server.js /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/README.md -------------------------------------------------------------------------------- /backend/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/.DS_Store -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/auth.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/base_model_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/base_model_connection.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/call_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/call_web.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/code_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/code_executor.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/cognitive_kernel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/cognitive_kernel.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/file_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/file_loader.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/db_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/db_connection.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/knowledge_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/knowledge_engine.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/knowledge_engine_config/default_configs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/knowledge_engine_config/default_configs.json -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/knowledge_engine_config/global_configs.jsonl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/knowledge_engine_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/knowledge_engine_connection.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/retriever.py -------------------------------------------------------------------------------- /backend/cognitive_kernel/memory_kernel/text_embed_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/cognitive_kernel/memory_kernel/text_embed_service.py -------------------------------------------------------------------------------- /backend/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/database.py -------------------------------------------------------------------------------- /backend/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/main.py -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/resources/default_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/resources/default_avatar.png -------------------------------------------------------------------------------- /backend/service_url_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/backend/service_url_config.json -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/avatar.png -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/AskLLM/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/functions/AskLLM/description.txt -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/AskLLM/examples.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/functions/AskLLM/examples.jsonl -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/AskLLM/implementation.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallMemoryKernel/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/functions/CallMemoryKernel/description.txt -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallMemoryKernel/examples.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/functions/CallMemoryKernel/examples.jsonl -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallMemoryKernel/implementation.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallWeb/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/functions/CallWeb/description.txt -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallWeb/examples.jsonl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/functions/CallWeb/implementation.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /character_pool/cognitiveKernel/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/character_pool/cognitiveKernel/info.json -------------------------------------------------------------------------------- /developer_users.txt: -------------------------------------------------------------------------------- 1 | ck -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/resources/CK_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/resources/CK_logo.png -------------------------------------------------------------------------------- /docs/static/css/bulma-carousel.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/bulma-carousel.min.css -------------------------------------------------------------------------------- /docs/static/css/bulma-slider.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/bulma-slider.min.css -------------------------------------------------------------------------------- /docs/static/css/bulma.css.map.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/bulma.css.map.txt -------------------------------------------------------------------------------- /docs/static/css/bulma.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/bulma.min.css -------------------------------------------------------------------------------- /docs/static/css/fontawesome.all.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/fontawesome.all.min.css -------------------------------------------------------------------------------- /docs/static/css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/css/index.css -------------------------------------------------------------------------------- /docs/static/images/Case1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/images/Case1.mp4 -------------------------------------------------------------------------------- /docs/static/images/Case2.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/images/Case2.mp4 -------------------------------------------------------------------------------- /docs/static/images/experiment-main.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/images/experiment-main.jpg -------------------------------------------------------------------------------- /docs/static/images/framework.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/images/framework.jpg -------------------------------------------------------------------------------- /docs/static/js/bulma-slider.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/js/bulma-slider.min.js -------------------------------------------------------------------------------- /docs/static/js/fontawesome.all.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/js/fontawesome.all.min.js -------------------------------------------------------------------------------- /docs/static/js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/js/index.js -------------------------------------------------------------------------------- /docs/static/js/question_card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/docs/static/js/question_card.js -------------------------------------------------------------------------------- /frontend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/Dockerfile -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/mime.types: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/mime.types -------------------------------------------------------------------------------- /frontend/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/nginx.conf -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/assets/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/assets/user.png -------------------------------------------------------------------------------- /frontend/src/components/FileUploader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/FileUploader.tsx -------------------------------------------------------------------------------- /frontend/src/components/HistoryList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/HistoryList.tsx -------------------------------------------------------------------------------- /frontend/src/components/Messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/Messages.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyAnnotation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyAnnotation.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyAnnotator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyAnnotator.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyCodeBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyCodeBlock.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyLogin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyLogin.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyMessageRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyMessageRender.tsx -------------------------------------------------------------------------------- /frontend/src/components/MyModelSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MyModelSelector.tsx -------------------------------------------------------------------------------- /frontend/src/components/MySingleMessageRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MySingleMessageRender.tsx -------------------------------------------------------------------------------- /frontend/src/components/MySingleMessageRenderWeb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/MySingleMessageRenderWeb.tsx -------------------------------------------------------------------------------- /frontend/src/components/NewMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/NewMessage.tsx -------------------------------------------------------------------------------- /frontend/src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/StatusContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/contexts/StatusContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/WebSocketConnectionContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/contexts/WebSocketConnectionContext.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/frontend/vite.config.ts -------------------------------------------------------------------------------- /init_db/create_databases.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/init_db/create_databases.sql -------------------------------------------------------------------------------- /web/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/web/Dockerfile -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/web/package.json -------------------------------------------------------------------------------- /web/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tencent/CogKernel/HEAD/web/server.js --------------------------------------------------------------------------------