Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "@typespec/versioning";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

@doc("The possible values for roles attributed to messages in a thread.")
union MessageRole {
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/files/models.tsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "@typespec/versioning";

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/files/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ClientGenerator.Core;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Gets a list of previously uploaded files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "../tools/models.tsp";

import "@typespec/versioning";

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using TypeSpec.Versioning;

using Azure.Core;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Creates a new message on a specified thread.
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../main.tsp";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

@doc("Represents an agent that can call the model and use tools.")
model Agent {
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Creates a new agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "@typespec/versioning";

import "../tools/models.tsp";

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Gets a single run step from a thread run.
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/runs/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "../common/models.tsp";
import "../threads/models.tsp";
import "../tools/models.tsp";

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;
using Azure.ClientGenerator.Core;
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/runs/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Creates and starts a new run of the specified thread using the specified agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "@typespec/versioning";

using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

@doc("""
Each event in a server-sent events stream has an `event` and `data` property:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../messages/models.tsp";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

@doc("Information about a single thread associated with an agent.")
model AgentThread {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Creates a new thread. Threads contain messages and can be run by agents.
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/agents/tools/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "@typespec/versioning";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

//
// Tool inputs -- definitions used before model evaluation to configure agents, threads, and messages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../vector_stores/common/main.tsp";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

//
// Response objects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "@typespec/versioning";
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/** Options to configure a vector store static chunking strategy. */
model VectorStoreStaticChunkingStrategyOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Create a vector store file batch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Returns a list of vector store files.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

using TypeSpec.Versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;

namespace Azure.AI.Unified.Agents;
namespace Azure.AI.Projects.Agents;

/**
* Returns a list of vector stores.
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/common/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using TypeSpec.Versioning;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("The possible values for roles attributed to messages in a thread.")
union MessageRole {
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/connections/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("Response from the listSecrets operation")
@resource("connections")
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/connections/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

alias ConnectionServiceTraits = SupportsClientRequestId &
SupportsRepeatableRequests &
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/credentials/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("The different Credential types")
union CredentialType {
Expand Down
4 changes: 2 additions & 2 deletions specification/ai/Azure.AI.Projects/datasets/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("Enum to determine the type of data.")
union DatasetType {
Expand All @@ -36,7 +36,7 @@ model DatasetVersion {
@doc("Data type")
datasetType: DatasetType;

...AssetBase
...AssetBase;
}

@doc("PagedDataVersionBase Definition")
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/datasets/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

interface Datasets {
#suppress "@azure-tools/typespec-azure-core/operation-missing-api-version"
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/deployments/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("Model Deployment Definition")
@resource("deployments")
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/deployments/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

alias DeploymentServiceTraits = SupportsClientRequestId &
SupportsRepeatableRequests &
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/evaluations/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("Evaluator Configuration")
model EvaluatorConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/evaluations/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

interface Evaluations {
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Waiting for bug fix: https://github.com/Azure/typespec-azure-pr/issues/3739."
Expand Down
4 changes: 2 additions & 2 deletions specification/ai/Azure.AI.Projects/indexes/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ using TypeSpec.Versioning;
using Azure.Core;
using Azure.Core.Traits;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

@doc("Index resource Definition")
@discriminator("indexType")
model Index {
@doc("Type of index")
indexType: IndexType;

...AssetBase
...AssetBase;
}

@doc("Paged collection of Index items.")
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/indexes/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace Azure.AI.Unified;
namespace Azure.AI.Projects;

interface Indexes {
#suppress "@azure-tools/typespec-azure-core/operation-missing-api-version"
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Azure.AI {
}
)
@versioned(Versions)
namespace Azure.AI.Unified {
namespace Azure.AI.Projects {
@doc("Azure AI API versions")
enum Versions {
@doc("Azure AI API version 2025-05-01-preview.")
Expand Down
Loading
Loading