Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 3.29 KB

File metadata and controls

72 lines (55 loc) · 3.29 KB

Intel® AI Super Builder Service - Client Examples

This folder contains sample code for a terminal-based client for Intel® AI Super Builder. We believe this will assist developers in quickly prototyping new features and integrations with Intel® AI Super Builder Service.


Prerequisites

1. Protoc
  • Protoc is essential for the C#, Python, Go Client Examples. Intel® AI Super Builder utilizes Protoc to generate pb/pb2 files for Golang and Python.
  • Installation Steps:
    1. Download protoc-27.2-win64.zip file and extract it to the desired location on your computer.
    2. Set an environment variable named PROTOC with the value \path\to\protoc-27.2-win64\bin\protoc.exe on your Windows system.
    3. Open PowerShell and run $env:PROTOC to ensure the path is correctly set. Protoc
2. Python 3.12.9
  • Python is essential for Python Client Example.
  • Installation Steps:
    1. Download Python 3.12.9 and run the installer on your computer.
    2. Proceed through the installation by following the prompts provided by the installer.
    3. Once the installation is complete, open Command Prompt and run python --version to confirm the installation.
3. Visual Studio 2022 Community
  • Visual Studio 2022 Community is essential for CSharp Client Example.
  • Installation Steps:
    1. Download Visual Studio 2022 Community installer.
    2. Run the installer and select the components for Desktop Development with C++ and .NET Desktop Development.
4. Golang
  • Golang is essential for Golang Client Example.
  • Installation Steps:
    1. Download Golang installer. Note: Go 1.24.1 has been tested for compatibility.
    2. Run the installer and follow the prompts to complete the installation.

GRPC Dependency

Intel® AI Super Builder uses GRPC for communication with its services.

ℹ️ Service information:

  • Intel® AI Super Builder Service runs on localhost:5006.
  • Intel® AI Super Builder Service is named IntelAiaService.exe.
  • Intel® AI Super Builder Service is registered as a Microsoft Windows service.
  • All available services are defined in proto\superbuilder_middleware.proto.
  • Use the Powershell script recompile-client-proto.ps1 to regenerate the pb/pb2 files for Golang and Python.
  • C# automatically regenerates its pb/pb2 files each time the code is built.

Smoke Test

Use the file example\run-smoke-test.ps1 to verify your computer's configuration. By default, this script will run all client tests.