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! 📞
Python v3.11.8 is used, I recommend using the same version to avoid dependency issue.
Install dependencies
pip install -r requirements.txtRename 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.
MIT @Koooooo-7

