# nodejs-ollama-express-chat **Repository Path**: bibi100/nodejs-ollama-express-chat ## Basic Information - **Project Name**: nodejs-ollama-express-chat - **Description**: nodejs使用ollama来进行流式输出到网页 - **Primary Language**: NodeJS - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-12-12 - **Last Updated**: 2024-12-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > 需要在本地部署好 ollama 确保 ``` ollama run qwen2.5:3b ``` 可正常运行 > 通过express的websocket与网页通讯,调用ollama的大模型 > 流式获取内容到网页,通过markdown进行展示。 1.加载依赖包 ```shell npm install ``` 2.启动服务 ```shell run.cmd ``` 3.启动浏览器访问 (http://127.0.0.1:3000)