Installation Guide¶
System Setup¶
PowerShell Installation¶
Tip
Please run all command using the latest version of PowerShell (pwsh) to ensure cross-platform compatibility.
Container Setup (Podman)¶
To install Podman on Windows, follow these steps:
- Download the Podman installer from the official website: Podman Windows Installer.
- Run the installer and follow the on-screen instructions to complete the setup.
- After installation, run below command in your terminal:
Repository Setup¶
Clone the repository from GitHub:
Navigate to the project directory and get the latest release:
Profile Setup¶
-
Please set up your OpenAI API by visiting https://oai.azure.com/ and developer_guide
-
Create Your profiles.yml:
Use PowerShell to create or edit profiles.yml
:
Build the Docker Image¶
There are two methods to build and run the Docker image:
Run the installation script using PowerShell:
or if want deploy with a client site.Tip
The default parameter for the installer is:
you can modify it for difference images and base container.Build the development Docker image using Podman:
After building the image, run the container using the PowerShell script:
Verify Running Containers¶
Check the status of your containers to ensure everything is running correctly:
This command displays a list of all running and stopped containers.Access the Container (Optional)¶
If you use the simple Simple SH
deployment, the script will automatically SSH into the container.
The following steps will be optional.
To use Podman with the "Dev Containers" extension in Visual Studio Code:
- Open VSCode and navigate to Settings:
- Press
Ctrl + ,
orCmd + ,
(on macOS) to open settings. - Search for
Dev Containers: Docker Path
. -
Change the path from
docker
topodman
. -
Open the Command Palette (
Ctrl + Shift + P
orCmd + Shift + P
on macOS). - Type
Dev Containers: Attach to Running Container...
and select your running Podman container.
This configuration enables you to use Podman as the container runtime within VSCode's "Dev Containers" extension.
Run Tests¶
Now you can test your container setup:
Open your browser and navigate to, to authenticate, click Authorize
, and using Web Configuration credentials in profile.yaml.
Click on POST
, then select Try it Out
, and enter the following request for testing:
{
"thread_id": "sample",
"user_prompt": "Tell me about basketball?",
"user_id": "testuser123",
"user_name": "testuser",
"topic": "basketball, tennis, soccer",
"memory_record": true,
"conversation_flow": "classification_agent"
}
In one Terminal:
While your session from run_ingen_cli.py is still active, OPEN another Terminal and SSH into the container:
Follow how to use guide for your first conversation in Python.