Open WebUI interfaces with AFS ModelSpace in public mode.

Classification: BLOG, Compute
Label: AFS, LLM, OpenWebUI

This tutorial explains how to install Open WebUI on TWCC VCS and connect it to the ModelSpace public pattern API of AFS (AI Foundry Service). This allows users to test the responses of multiple language models through a browser interface, making it suitable for developers and researchers who need to quickly experience AFS models.

Step 1. Set up a VCS Linux host

 

First, please set up a Linux host. The following example demonstrates how to set up a Linux host. TWS VCS Ubuntu 24.04 will be used as the operational example in this tutorial.

After the test is completed, it is recommended to stop or delete VCS to avoid continuous billing. Please refer to [link/reference needed] for the relationship between status and billing.Individual life cycle.

Step 2. Install Docker on VCS

 

Please follow Docker Official Tutorial Therefore, I installed the Docker environment on Ubuntu.

Step 3. Install Open WebUI (Docker version)

 

Execute the following command to start the Open WebUI:

sudo docker run -d -p 3000:8080 -e OPENAI_API_KEY=your_secret_key -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

image

Step 4. Configure VCS security group

 

Please VCS security group settings pageAdd a new rule to open TCP port 3000:

image

Step 5. Connect to Open WebUI

 

  • Open your browser and enter:http://VCS_Public_IP:3000
  • Click "Get Started" below.

image

Step 6. Create an administrator account

 

  • Upon first login, the system will ask you to create an administrator account. Please fill in the basic information and complete the registration.

image

To add other user or administrator accounts, click the user name in the upper right corner > Settings > Administrator Settings > User > + Create

image

image

image

Step 7. Introduce AFS (AFS ModelSpace API)

 

  1. Click on your username in the upper right corner > Settings > Connection > Add
  2. Fill in the following information:

image

After filling in the form, please click "Save".

Step 8. Test the dialogue function

 

  • Add a dialogue > Select one or more models to compare dialogues

image

  • After entering "prompt", you can view the differences in responses among the various models.

image

AFS ModelSpace Public Mode Billing Information

EDM Subscription

EDM Subscription

On-Demand AI Cloud Consulting

Sales Contact
Sales Contact Form