Coder Social home page Coder Social logo

spark-sidecar's Introduction

spark sidecar

星火大模型转ChatGPT style调用服务

服务提供将星火大模型的服务接口转为ChatGPT style的输入输出,方便调用。

场景:

  • ChatGPT开源项目适配:不调整开源项目源码,仅仅调整调用地址即可对接为spark星火大模型
  • 效果差异对比:对比ChatGPT和spark星火大模型的效果差异

效果

ChatGPT原生调用(非流式)

ChatGPT原生调用(流式)

spark调用(ChatGPT style非流式)

spark调用(ChatGPT style流式)

使用方法

git clone repo
cd repo
npm install
cp const/conf-example.js const/conf.js
vi const/conf.js //填入你的spark调用密钥
npm start

服务见:http://localhost:3000

spark-sidecar's People

Stargazers

 avatar

Watchers

 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.