580 B
580 B
Chatbot UI
HuggingChat UI is A chat interface using open source models, eg OpenAssistant..
git clone https://github.com/huggingface/chat-ui
npm i
npm run dev
Add clientConfig.js file in src/lib folder
import { base } from "$app/paths";
export const BASE_URL = `http://localhost:5500${base}`;
- Copy
.envas.env.local
Add BotSharp host in the API endpoint
import { BASE_URL } from '$lib/clientConfig'
# Change all ${base} to ${BASE_URL}
${base}/conversation -> ${BASE_URL}/conversation