Skip to content

Commit

Permalink
APICHAINaddPostPut (#194)
Browse files Browse the repository at this point in the history
**APIChain adding Post and Put Methods:**   
We have added the request POST and PUT methods based on
[site-packages\langchain\chains\api]
so that Bisheng APIChain can use not only the GET method but also the
POST and PUT Methods.
  • Loading branch information
yaojin3616 committed Dec 15, 2023
2 parents 1e7acfc + 5ab8cc8 commit 9a6831b
Show file tree
Hide file tree
Showing 39 changed files with 1,641 additions and 73 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<img src="https://www.dataelem.com/nstatic/bisheng.png" alt="Bisheng banner">

<p align="center">
<a href="./README.md">简体中文</a> |
<a href="./README_ENG.md">English</a>
</p>
<p align="center">
<a href="https://dataelem.feishu.cn/wiki/ZxW6wZyAJicX4WkG0NqcWsbynde"><img src="https://img.shields.io/badge/docs-Wiki-brightgreen"></a>
<img src="https://img.shields.io/github/license/dataelement/bisheng" alt="license"/>
Expand Down
144 changes: 144 additions & 0 deletions README_ENG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<img src="https://www.dataelem.com/nstatic/bisheng.png" alt="Bisheng banner">

<p align="center">
<a href="./README.md">简体中文</a> |
<a href="./README_ENG.md">English</a> |
</p>


<div class="column" align="middle">
<!-- <a href="https://bisheng.slack.com/join/shared_invite/"> -->
<!-- <img src="https://img.shields.io/badge/Join-Slack-orange" alt="join-slack"/> -->
</a>
<!-- <img src="https://img.shields.io/github/license/bisheng-io/bisheng" alt="license"/> -->
<!-- <img src="https://img.shields.io/docker/pulls/bisheng-io/bisheng" alt="docker-pull-count" /> -->
</div>

# Welcome to Bisheng

## What is Bisheng

Bisheng is a leading open-source platform for developing LLM applications. It empowers and accelerates the development of LLM applications and helps users to enter the next generation of application development mode with the best experience.

"Bisheng" is the inventor of movable type printing, which played a huge role in the dissemination of human knowledge. We hope that "Bisheng" can also provide strong support for the widespread landing of intelligent applications. Welcome to participate together.

Bisheng was released under the Apache 2.0 License at the end of August 2023.


## Key Features

- Convenience: Even business person can quickly build intelligent applications centered around LLM through simple and intuitive form filling based on our pre-configured application templates.
- Flexibility: For person familiar with LLM technologies, we provide hundreds of development components following the latest trends in the LLM technology ecosystem. With visual and flexible process orchestration capabilities, any type of LLM application can be developed, not just simple prompting projects.
- Reliability and Enterprise-level: Many similar open-source projects are only suitable for experimental testing scenarios and lack enterprise-level features for real production use, including high availability under high concurrency, continuous iteration and optimization of application operations and effects, and practical functions that fit real business scenarios. These are the differentiated capabilities of the ByteDance platform. In addition, data quality within enterprises is uneven. To truly utilize all data, comprehensive unstructured data governance capabilities are needed, which is the core capability our team has accumulated over the past few years. In Bisheng's demo environment, you can directly access these capabilities through related components, and these capabilities are free and unlimited.


## Product Applications

With the Bisheng platform, we can build a variety of LLM applications:

Analysis Report Generation:

- 📃 Contract Review Report Generation
- 🏦 Credit Investigation Report Generation
- 📈 IPO Analysis Report Generation
- 💼 Intelligent Investment Advisory Report Generation
- 👀 Document Summary Generation


Knowledge Base Q&A:

- 👩‍💻 User Manual Q&A
- 👩‍🔬 Research Report Knowledge Base Q&A
- 🗄 Regulations and Rules Q&A
- 💊 "Chinese Pharmacopoeia" Knowledge Q&A
- 📊 Stock Price Database Q&A


Dialogues:

- 🎭 Role-play as an interviewer
- 📍 Xiaohongshu (Red Book) Copywriting Assistant
- 👩‍🎤 Role-play as a foreign language teacher
- 👨‍🏫 Resume Optimization Assistant


Element Extraction:

- 📄 Key Elements Extraction from Contracts
- 🏗️ Engineering Report Elements Extraction
- 🗂️ General Metadata Extraction
- 🎫 Key Elements Extraction from Cards and Bills


For methods to build various applications, see[Application Cases](https://m7a7tqsztt.feishu.cn/wiki/ZfkmwLPfeiAhQSkK2WvcX87unxc).

We believe that in real enterprise scenarios, "dialogue" is just one of many interaction forms.
In the future, we will also add support for more application forms such as process automation and search.


## Quick Start

### Start With Bisheng

- [Install Bisheng](https://m7a7tqsztt.feishu.cn/wiki/BSCcwKd4Yiot3IkOEC8cxGW7nPc)


### Compile Bisheng From Src

Todo: update later

Get More Contents,Please Read [Dev Documents](https://m7a7tqsztt.feishu.cn/wiki/ITmJwMXVliBnzpkW3nkcqPVrnse)


## Contributing

Contributions to Bisheng are welcome from everyone. See [Guidelines for Contributing]((https://github.com/dataelement/bisheng/blob/main/CONTRIBUTING.md))
for details on submitting patches and the contribution workflow.
Refer [community repository](https://github.com/dataelement/community) to learn about our governance and access more community resources.

<!-- ### All contributors -->

<!-- Do not remove end of hero-bot -->
<br>

## Bisheng Document

For more guides on installation, development, deployment, and management, please see [Bisheng Documentation](https://m7a7tqsztt.feishu.cn/wiki/ZxW6wZyAJicX4WkG0NqcWsbynde).


## Community

- You're welcome to join our [Slack](https://www.dataelem.com/) channel to share your suggestions and issues.
- You can also visit the [FAQ](https://m7a7tqsztt.feishu.cn/wiki/XdGCwkDJviC0Z8klbdbcF790n9b) page to see frequently asked questions and their answers.
- You can also join the [Discussion Group](https://github.com/dataelement/bisheng/discussions) to raise questions and discussions.


<!-- 订阅 Bisheng 邮件:
- [Technical Steering Committee](https://www.dataelem.com/)
- [Technical Discussions](https://www.dataelem.com/)
- [Announcement](https://www.dataelem.com/) -->

Follow Bisheng on social media:

<!-- - [知乎](https://www.zhihu.com/org/bisheng-io)
- [CSDN](http://bishengio.blog.csdn.net/)
- [Bilibili](http://space.bilibili.com/xxxxx) -->
- Bisheng Technical Exchange WeChat Group

<img src="https://www.dataelem.com/nstatic/qrcode.png" alt="Wechat QR Code">

## Join Us

DataElem Inc. is the company behind the Bisheng project. We are [hiring](https://www.dataelem.com/contact/team) algorithm developers, developers, and full-stack engineers.
Join us as we work together to build the next generation of intelligent application development platform


## Acknowledgments

Bisheng adopts dependencies from the following:

- Thanks to the open-source model inference framework [Triton](https://github.com/triton-inference-server).
- Thanks to the open-source LLM application development library [langchain](https://github.com/langchain-ai/langchain).
- Thanks to the open-source unstructured data parsing engine [unstructured](https://github.com/Unstructured-IO/unstructured).
- Thanks to the open-source langchain visualization tool [langflow](https://github.com/logspace-ai/langflow).
31 changes: 22 additions & 9 deletions docker/bisheng/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ autogen_roles:
documentation: ""
AutoGenCustomRole:
documentation: ""

agents:
agents:
ZeroShotAgent:
documentation: "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent"
JsonAgent:
Expand All @@ -45,6 +44,10 @@ agents:
SQLAgent:
documentation: ""
chains:
RuleBasedRouter:
documentation: ""
MultiRuleChain:
documentation: ""
TransformChain:
documentation: ""
MultiPromptChain:
Expand All @@ -57,8 +60,6 @@ chains:
documentation: ""
TransformChain:
documentation: ""
MultiRetrievalQA:
documentation: ""
SimpleSequentialChain:
documentation: ""
SequentialChain:
Expand Down Expand Up @@ -87,7 +88,15 @@ chains:
documentation: "https://python.langchain.com/docs/modules/chains/popular/chat_vector_db"
CombineDocsChain:
documentation: ""
# SummarizeDocsChain:
# documentation: ""
LoaderOutputChain:
documentation: ""
documentloaders:
CustomKVLoader:
documentation: ""
UniversalKVLoader:
documentation: ""
ElemUnstructuredLoaderV0:
documentation: ""
AirbyteJSONLoader:
Expand Down Expand Up @@ -141,6 +150,8 @@ documentloaders:
PDFWithSemanticLoader:
documentation: "https://python.langchain.com/docs/modules/data_connection/document_loaders/integrations/git"
embeddings:
OpenAIProxyEmbedding:
documentation: ""
OpenAIEmbeddings:
documentation: "https://python.langchain.com/docs/modules/data_connection/text_embedding/integrations/openai"
HuggingFaceEmbeddings:
Expand Down Expand Up @@ -365,13 +376,15 @@ output_parsers:
documentation: "https://python.langchain.com/docs/modules/model_io/output_parsers/structured"
ResponseSchema:
documentation: "https://python.langchain.com/docs/modules/model_io/output_parsers/structured"

RouterOutputParser:
documentation: ""

input_output:
Input:
VariableNode:
documentation: ""
InputNode:
documentation: ""
Output:
documentation: ""
InputFile:
InputFileNode:
documentation: ""


8 changes: 8 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ services:
- ${DOCKER_VOLUME_DIRECTORY:-.}/mysql/conf/my.cnf:/etc/mysql/my.cnf
- ${DOCKER_VOLUME_DIRECTORY:-.}/mysql/data:/var/lib/mysql

office:
image: onlyoffice/documentserver:7.1.1
ports:
- "8701:80"
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/office/bisheng:/var/www/onlyoffice/documentserver/sdkjs-plugins/bisheng

backend:
image: dataelement/bisheng-backend:latest
healthcheck:
Expand All @@ -42,6 +49,7 @@ services:
restart: on-failure
depends_on:
- "mysql"
- "office"
- "redis"

nginx:
Expand Down
Loading

0 comments on commit 9a6831b

Please sign in to comment.