Giter Club home page Giter Club logo

ai-search-engine's Introduction

CodeMoss AI搜索引擎

CodeMoss AI搜索引擎(基于ChatGPT和谷歌搜索)

项目初衷:我认为,未来的搜索,不应该在一堆信息里面找答案,应该让AI帮你汇总答案;这个项目就是做这个的,不过目前功能太少,得到的答案不完全对,还需要设计权重算法才行;

使用说明

# 第一步 复制 .env.template 文件,改成 .env

# 第二步:在 .env 文件中配置 OpenAI key 和 Serper KEY

# 第三步:安装依赖
pnpm install

# 第四步:启动
npm run dev

# 第五步:访问下面链接进行使用
http://localhost:3000/

悬赏问题

本项目还未完成,目前还需要解决的问题如下:

✅ 1.还不支持流式返回【已解决】

悬赏价格:500人民币 状态:已解决 pull链接

问题描述:在http://localhost:3000/ 发送消息之后,会等所有消息都返回之后,才渲染内容;

但是我代码写的是流式返回,应该是一段段返回内容,效果可以参考这个:https://search.lepton.run/

我的代码位置:/src/pages/api/query.ts

ai-search-engine's People

Contributors

zhukunpenglinyutong avatar yiminglucnjs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.