แชร์ผ่าน


การอ้างอิงคําสั่ง Agent 365 CLI config

สําคัญ

คุณจําเป็นต้องเป็นส่วนหนึ่งของโปรแกรมการแสดงตัวอย่าง Frontier เพื่อเข้าถึง Microsoft Agent 365 ก่อน Frontier เชื่อมต่อคุณโดยตรงกับนวัตกรรม AI ล่าสุดของ Microsoft การแสดงตัวอย่างในส่วนหน้าจะต้องอยู่ภายใต้ข้อกําหนดการแสดงตัวอย่างที่มีอยู่ของข้อตกลงของลูกค้าของคุณ เนื่องจากคุณลักษณะเหล่านี้ยังคงอยู่ในการพัฒนา ความพร้อมใช้งานและความสามารถของพวกเขาอาจเปลี่ยนแปลงเมื่อเวลาผ่านไป

จัดการการกําหนดค่า Agent 365 CLI คําสั่ง config มีตัวเลือกในการจัดการการตั้งค่าการกําหนดค่า Agent 365 CLI คุณสามารถเริ่มต้นการกําหนดค่าใหม่แบบโต้ตอบหรือแสดงการตั้งค่าการกําหนดค่าปัจจุบันได้

จําเป็นต้องมีบทบาทขั้นต่ํา: ไม่มี (การกําหนดค่าภายในเครื่อง)

วากยสัมพันธ์

a365 config [command] [options]

ตัวเลือก

ตัวเลือก คำอธิบาย
-?, , -h--help แสดงข้อมูลความช่วยเหลือและการใช้งาน

config init

กําหนดค่า Agent 365 CLI แบบโต้ตอบหรือนําเข้าจากไฟล์

a365 config init [options]

คําสั่งนี้ช่วยให้คุณสามารถตั้งค่าการกําหนดค่า Agent 365 CLI ของคุณผ่านกระบวนการโต้ตอบหรือโดยการนําเข้าการตั้งค่าจากไฟล์การกําหนดค่าที่มีอยู่

config display

แสดงการกําหนดค่าตัวแทนปัจจุบัน 365 CLI

a365 config display [options]

คําสั่งนี้แสดงการตั้งค่าการกําหนดค่าปัจจุบันสําหรับ Agent 365 CLI ซึ่งช่วยให้คุณสามารถตรวจสอบการตั้งค่าปัจจุบันของคุณได้

โครงสร้างไฟล์การกําหนดค่า

CLI ใช้ไฟล์การกําหนดค่า JSON (a365.config.json) ที่มีคุณสมบัติหลักต่อไปนี้:

{
  "$schema": "./a365.config.schema.json",
  "tenantId": "your-tenant-id",
  "subscriptionId": "your-subscription-id",
  "resourceGroup": "rg-Agent 365-example",
  "location": "westus",
  "appServicePlanName": "asp-Agent 365-example",
  "appServicePlanSku": "B1",
  "webAppName": "webapp-Agent 365-example",
  "agentBlueprintDisplayName": "My Agent 365 Blueprint",
  "agentIdentityDisplayName": "My Agent 365 Agent",
  "agentUserPrincipalName": "agent@contoso.onmicrosoft.com",
  "agentUserDisplayName": "My Agent 365 User",
  "managerEmail": "manager@contoso.onmicrosoft.com",
  "agentUserUsageLocation": "US",
  "agentIdentityScopes": [
    "User.Read",
    "Mail.Send",
    "Calendars.ReadWrite",
    "Files.ReadWrite"
  ],
  "agentApplicationScopes": [
    "Mail.ReadWrite",
    "Chat.ReadWrite",
    "Sites.Read.All"
  ],
  "deploymentProjectPath": ".",
  "deploymentProjectFile": "YourProject.csproj",
  "botName": "my-Agent 365-bot",
  "botDescription": "My AI-powered agent for Microsoft 365 tasks"
}