Intel(R) SuperBuilder

AssistantServiceDownloadFiles Method

Downloads a certain list of models, or just all required models if not specified, and streams the download progress.

Definition

Namespace: SuperBuilderWinService.Services
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
C#
public override Task DownloadFiles(
	DownloadFilesRequest request,
	IServerStreamWriter<DownloadFilesResponse> responseStream,
	ServerCallContext context
)

Parameters

request  DownloadFilesRequest
Example: { "FileUrl": "https://huggingface.co/OpenVINO/Qwen2-7B-Instruct-int4-ov", "localPath": "C:\\ProgramData\\IntelAIA\\local_models\\Qwen2-7B-Instruct-int4-ov", "tokenId": "acbd" }
responseStream  IServerStreamWriterDownloadFilesResponse
The stream to send download progress updates.
context  ServerCallContext
The gRPC call context.

Return Value

Task
Streams responses to the client. Example: { "progress": 50, "FileDownloaded": "Download progress: 50%" }

See Also