Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.43 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.43 KB

go-echarts-llm-bot

The localized QA Chatbot for go-echarts.

The go-echarts-llm-bot depends on the LangChain which help to develop LLM applications easily.
The Chatbot GUI is powered by Gradio.
The underlying OpenAI service is AzureOpenAI, see more details in Azure AI Service.


Any issue in go-echarts? Call 12345 (the localized Chatbot GUI server port) for help! 📞

go-echarts-bot-gif

Install

Python v3.11.8 is used, I recommend using the same version to avoid dependency issue.

Install dependencies

 pip install -r requirements.txt

Configuration

Rename the .env_sample file to .env and put your own Azure Open AI configs in it.

.env

AZURE_OPENAI_API_KEY=***your_api_key***
OPENAI_API_VERSION=2024-02-14
AZURE_OPENAI_ENDPOINT=https://my-openai.azure.com
OPENAI_API_TYPE=azure

Or change to other LLM providers and change the related api.

LICENSE

MIT @Koooooo-7