Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Plug and play embeddable AI chatbot widget and backend deployment framework

License

NotificationsYou must be signed in to change notification settings

ConvoStack/convostack

Repository files navigation

Screenshot 2023-06-02 at 2 47 17 AM

Key Features

ConvoStack is a plug-and-play embeddable AI chatbot widget and backend deployment framework for your website.It iscompletely free and open source and currently running on ourdocs website!

The core technologies are:

  • React (frontend)
  • Express.js (backend)
  • Redis (Production cache & pub/sub)
  • Langchain (AI agent framework integration)

To learn more about the project, compatible technologies, and how to get started, check outthedocs.

Try it out

To see a live demo of ConvoStack, check out our freeplayground!

Getting Started

Get your AI chatbot up and running in minutes with ourQuickstart repo and guide:

In the following example, we are connecting a Langchain OpenAILLM to the chatbot playground.

import*asdotenvfrom"dotenv";// Configures the OpenAI API keydotenv.config();import{playground}from"convostack/playground";import{IAgentContext,IAgentResponse}from"convostack/agent";import{OpenAI}from"langchain/llms/openai";playground({asyncreply(context:IAgentContext):Promise<IAgentResponse>{// `humanMessage` is the content of each message the user sends via the chatbot playground.lethumanMessage=context.getHumanMessage().content;// `agent` is the OpenAI agent we want to use to respond to each `humanMessage`constagent=newOpenAI({modelName:"gpt-3.5-turbo"});// `call` is a simple string-in, string-out method for interacting with the OpenAI agent.constresp=awaitmodel.call(humanMessage);// `resp` is the generated agent's response to the user's `humanMessage`return{content:resp,contentType:"markdown",};},});

See the code above in action:ConvoStack Quickstart Example 1

Follow ourquickstart guide for more Langchain + ConvoStack examples.

Installation

To add the ConvoStack framework to an existing project, run the following command:

npm install --save convostack

Architecture

Documentation

To see the full documentation check out our docs site atdocs.convostack.ai.

About

Plug and play embeddable AI chatbot widget and backend deployment framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp