You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IAsyncEnumerable<StreamingChatMessageContent>result=fallbackCompletionService.GetStreamingChatMessageContentsAsync("Do I need an umbrella?",settings,kernel);
Copy file name to clipboardexpand all lines: dotnet/src/Functions/Functions.OpenApi/RestApiOperationRunner.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -427,13 +427,13 @@ private JsonObject BuildJsonObject(IList<RestApiPayloadProperty> properties, IDi
427
427
// Use property argument name to look up the property value
428
428
if(!string.IsNullOrEmpty(propertyMetadata.ArgumentName)&&arguments.TryGetValue(propertyMetadata.ArgumentName!,outobject?argument)&&argumentis not null)
@@ -52,10 +54,12 @@ string stringArgument when double.TryParse(stringArgument, out var doubleValue)
52
54
byte or sbyte or short or ushort or int or uint or long or ulong or float or double or decimal=>JsonValue.Create(argument),
53
55
_ =>null
54
56
},
55
-
_ =>thrownewNotSupportedException($"Unexpected type '{type}' of parameter '{name}' with argument '{argument}'."),
57
+
_ =>schemaisnull
58
+
?JsonSerializer.SerializeToNode(argument)
59
+
:ValidateSchemaAndConvert(name,schema,argument)
56
60
};
57
61
58
-
returnconverter??thrownewArgumentOutOfRangeException(name,argument,$"Argument type '{argument.GetType()}' is not convertible to parameter type '{type}'.");
62
+
returnnode??thrownewArgumentOutOfRangeException(name,argument,$"Argument type '{argument.GetType()}' is not convertible to parameter type '{type}'.");
59
63
}
60
64
catch(ArgumentExceptionex)
61
65
{
@@ -66,4 +70,25 @@ string stringArgument when double.TryParse(stringArgument, out var doubleValue)
Copy file name to clipboardexpand all lines: python/samples/concepts/agents/README.md
+9-6
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,10 @@ This project contains a step by step guide to get started with _Semantic Kernel
7
7
- For the use of Chat Completion agents, the minimum allowed Semantic Kernel pypi version is 1.3.0.
8
8
- For the use of OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.4.0.
9
9
- For the use of Agent Group Chat, the minimum allowed Semantic kernel pypi version is 1.6.0.
10
-
- For the use of Streaming OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.11.0
10
+
- For the use of Streaming OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.11.0.
11
+
- For the use of AzureAI and Bedrock agents, the minimum allowed Semantic Kernel pypi version is 1.21.0.
12
+
- For the use of Crew.AI as a plugin, the minimum allowed Semantic Kernel pypi version is 1.21.1.
13
+
11
14
12
15
## Source
13
16
@@ -20,12 +23,12 @@ The concept agents examples are grouped by prefix:
20
23
Prefix|Description
21
24
---|---
22
25
assistant|How to use agents based on the [Open AI Assistant API](https://platform.openai.com/docs/assistants).
23
-
chat_completion|How to use Semantic Kernel Chat Completion agents.
24
-
bedrock|How to use AWS Bedrock agents in Semantic Kernel.
26
+
autogen_conversable_agent| How to use [AutoGen 0.2 Conversable Agents](https://microsoft.github.io/autogen/0.2/docs/Getting-Started) within Semantic Kernel.
27
+
azure_ai_agent|How to use an [Azure AI Agent](https://learn.microsoft.com/en-us/azure/ai-services/agents/quickstart?pivots=programming-language-python-azure) within Semantic Kernel.
28
+
chat_completion_agent|How to use Semantic Kernel Chat Completion agents that leverage AI Connector Chat Completion APIs.
29
+
bedrock|How to use [AWS Bedrock agents](https://aws.amazon.com/bedrock/agents/) in Semantic Kernel.
25
30
mixed_chat|How to combine different agent types.
26
-
complex_chat|**Coming Soon**
27
-
28
-
_Note: As we strive for parity with .NET, more getting_started_with_agent samples will be added. The current steps and names may be revised to further align with our .NET counterpart._
31
+
openai_assistant|How to use [OpenAI Assistants](https://platform.openai.com/docs/assistants/overview) in Semantic Kernel.
0 commit comments