Skip to main content

47 posts tagged with "Microsoft Foundry"

Microsoft Foundry for Building AI Apps, Models, and Agents

View All Tags

Fixed: MEAI001 'Microsoft.Agents.AI.AgentResponse.ContinuationToken' is for evaluation purposes only

· 15 min read
Jagdish Kumawat
Founder @ Dewiride

I turned on background responses for a Microsoft Agent Framework agent and polled with its continuation token, and the build failed with four errors like error MEAI001: 'Microsoft.Agents.AI.AgentResponse.ContinuationToken' is for evaluation purposes only and is subject to change or removal in future updates. Both continuation token properties are experimental in Agent Framework 1.28.0. Suppressing MEAI001 around the code that uses them fixed the build.

Fixed: "Service request failed. Status: 404 (Not Found)" Generating Embeddings from a Microsoft Foundry Project

· 10 min read
Jagdish Kumawat
Founder @ Dewiride

My RAG app asked its Microsoft Foundry project's OpenAI client, the one it uses for its chat model, for an embedding client, and crashed at startup: System.ClientModel.ClientResultException: Service request failed. Status: 404 (Not Found). The project endpoint doesn't route embedding requests. An EmbeddingClient on the resource's /openai/v1/ endpoint, the way Microsoft's embeddings documentation shows, fixed it.

How to Keep Microsoft Foundry from Storing an Agent's Conversations in C#

· 11 min read
Jagdish Kumawat
Founder @ Dewiride

An agent you make with AsAIAgent on a Microsoft Foundry project talks to the Responses API, and Foundry keeps every response it gives. Build the agent on the project's Chat Completions client instead, and Foundry answers without keeping a thing: here both agents got the same question, and only the first answer could be fetched back afterwards.

Fixed: OPENAI001 'OpenAI.Embeddings.EmbeddingClient.EmbeddingClient(string, System.ClientModel.Primitives.AuthenticationPolicy, OpenAI.OpenAIClientOptions)' is for evaluation purposes only

· 10 min read
Jagdish Kumawat
Founder @ Dewiride

I created an OpenAI EmbeddingClient that signs in with my Azure CLI account, the way Microsoft's embeddings documentation shows, and the build failed: error OPENAI001: 'OpenAI.Embeddings.EmbeddingClient.EmbeddingClient(string, System.ClientModel.Primitives.AuthenticationPolicy, OpenAI.OpenAIClientOptions)' is for evaluation purposes only and is subject to change or removal in future updates. That constructor is experimental in the OpenAI .NET library. Microsoft's sample has a line that disables OPENAI001, and it was the line I had left out.