Skip to content

go-echarts/go-echarts-llm-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

:electron: The localized QA Chatbot for go-echarts.

Resources

License

Stars

Watchers

Forks

Languages