diff --git a/Directory.Build.props b/Directory.Build.props index 78254fb1d1..215a70fbe8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,7 +17,7 @@ 17.4.0 13.0.3 - 4.6.0 + 4.8.0-3.final 7.0.0 6.0.0 7.0.1 diff --git a/Directory.Build.targets b/Directory.Build.targets index 86b558978e..079d218f11 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -34,8 +34,8 @@ FSharp.Compiler.Service: https://dev.azure.com/dnceng/internal/_release?view=mine&_a=releases&definitionId=98 --> - - + + diff --git a/dotnet-interactive.sln b/dotnet-interactive.sln index e9933e763c..45ffd7a8fd 100644 --- a/dotnet-interactive.sln +++ b/dotnet-interactive.sln @@ -123,6 +123,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Interactiv EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Interactive.AIUtilities.Tests", "src\Microsoft.DotNet.Interactive.AIUtilities.Tests\Microsoft.DotNet.Interactive.AIUtilities.Tests.csproj", "{B711649D-0397-4B2F-A367-8101823DE481}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Interactive.NamedPipeConnector", "src\Microsoft.DotNet.Interactive.NamedPipeConnector\Microsoft.DotNet.Interactive.NamedPipeConnector.csproj", "{BF68D266-500C-49AB-80EB-1B673E37E13A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Interactive.NamedPipeConnector.Tests", "src\Microsoft.DotNet.Interactive.NamedPipeConnector.Tests\Microsoft.DotNet.Interactive.NamedPipeConnector.Tests.csproj", "{B12834B8-373E-4932-852B-90E332A4BCED}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -709,6 +713,30 @@ Global {B711649D-0397-4B2F-A367-8101823DE481}.Release|x64.Build.0 = Release|Any CPU {B711649D-0397-4B2F-A367-8101823DE481}.Release|x86.ActiveCfg = Release|Any CPU {B711649D-0397-4B2F-A367-8101823DE481}.Release|x86.Build.0 = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|x64.ActiveCfg = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|x64.Build.0 = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|x86.ActiveCfg = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Debug|x86.Build.0 = Debug|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|Any CPU.Build.0 = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|x64.ActiveCfg = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|x64.Build.0 = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|x86.ActiveCfg = Release|Any CPU + {BF68D266-500C-49AB-80EB-1B673E37E13A}.Release|x86.Build.0 = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|x64.ActiveCfg = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|x64.Build.0 = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|x86.ActiveCfg = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Debug|x86.Build.0 = Debug|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|Any CPU.Build.0 = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|x64.ActiveCfg = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|x64.Build.0 = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|x86.ActiveCfg = Release|Any CPU + {B12834B8-373E-4932-852B-90E332A4BCED}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -762,6 +790,8 @@ Global {DA0B3BFC-ED19-4754-A9A0-0F831DBCC9C4} = {B95A8485-8C53-4F56-B0CE-19C0726B5805} {C874F96E-AC54-4AEF-A2E7-F6679378662A} = {B95A8485-8C53-4F56-B0CE-19C0726B5805} {B711649D-0397-4B2F-A367-8101823DE481} = {11BA3480-4584-435C-BA9A-8C554DB60E9F} + {BF68D266-500C-49AB-80EB-1B673E37E13A} = {B95A8485-8C53-4F56-B0CE-19C0726B5805} + {B12834B8-373E-4932-852B-90E332A4BCED} = {11BA3480-4584-435C-BA9A-8C554DB60E9F} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {6D05A9AF-CFFB-4187-8599-574387B76727} diff --git a/eng/publish/PublishVSCodeExtension.ps1 b/eng/publish/PublishVSCodeExtension.ps1 index bdd692f46b..e54d71eaf2 100644 --- a/eng/publish/PublishVSCodeExtension.ps1 +++ b/eng/publish/PublishVSCodeExtension.ps1 @@ -47,6 +47,7 @@ try { "Microsoft.DotNet.Interactive.Journey", "Microsoft.DotNet.Interactive.Kql", "Microsoft.DotNet.Interactive.Mermaid", + "Microsoft.DotNet.Interactive.NamedPipeConnector", "Microsoft.DotNet.Interactive.PackageManagement", "Microsoft.DotNet.Interactive.PowerShell", "Microsoft.DotNet.Interactive.SQLite", diff --git a/samples/notebooks/ai/AI prompt playground.ipynb b/samples/notebooks/ai/AI prompt playground.ipynb index c8747118d2..639c9c29a3 100644 --- a/samples/notebooks/ai/AI prompt playground.ipynb +++ b/samples/notebooks/ai/AI prompt playground.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "107377b0", "metadata": { "dotnet_interactive": { @@ -12,74 +12,30 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.5
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\duckdb.interactiveextension\\1.0.108\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
Query DuckDB databases.\r\n", - "

This extension adds support for connecting to DuckDB databases using the #!connect duckdb magic command. ADO.NET support via DuckDB.NET project

\r\n", - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23468.5\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" + "outputs": [], + "source": [ + "#r \"nuget: Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23562.1\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" }, - { - "data": { - "text/markdown": [ - "Added magic commands\r\n", - " - `#!connect azure-openai`\r\n", - " - `#!connect openai`\r\n", - " - `#!connect huggingface`" - ] - }, - "metadata": {}, - "output_type": "display_data" + "polyglot_notebook": { + "kernelName": "csharp" } - ], + }, + "outputs": [], "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" + "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -96,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -122,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -131,43 +87,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" ] }, { "cell_type": "code", - "execution_count": 5, - "id": "68b78a72", + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -176,33 +103,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" + "#!connect azure-openai --model-type ImageGenerator --kernel-name image --api-key @value:key --endpoint @value:endpoint --deployment DALL-E" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -211,24 +119,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!image" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#!connect azure-openai --model-type ImageGenerator --kernel-name image --api-key @value:key --endpoint @value:endpoint --deployment DALL-E" + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" ] }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -237,37 +135,9 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!chat(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat(text)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gtp-35-turbo --use-knowledge knowledge" + "System.Diagnostics.Debugger.Launch();" ] }, { @@ -290,7 +160,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "image" @@ -299,17 +169,7 @@ "kernelName": "image" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "A cat flying a red biplane, in the style of Hiyao Miyazaki." ] @@ -349,53 +209,29 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Description:\r\n", - " Indicates that the cell contents should be used to define a semantic function.\r\n", - "\r\n", - "Usage:\r\n", - " #!function [options]\r\n", - "\r\n", - "Arguments:\r\n", - " The name of the function to be defined.\r\n", - "\r\n", - "Options:\r\n", - " --skill The name of the skill to which the function should be added.\r\n", - " --description The description of the function.\r\n", - " --max-tokens The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens can't exceed the model's context length. Most models have a context length of 2048 tokens (except davinci-codex, which supports 4096).\r\n", - " -?, -h, --help Show help and usage information\r\n", - "\r\n", - "\r\n", - "\r\n" - ] - } - ], + "outputs": [], "source": [ "#!function -h" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -409,13 +245,13 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -430,80 +266,16 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Powerful tool, the .NET Interactive engine,\\nRouting messages, formatting data, sharing between languages and processes seen.\\nInitiated via a host, Polyglot Notebooks,\\nA variety of ways to use it, we seek.\\nIdeas on how to best leverage this engine for developers,\\nWe are looking for, yes.
Result
\n",
-       "Powerful tool, the .NET Interactive engine,\n",
-       "Routing messages, formatting data, sharing between languages and processes seen.\n",
-       "Initiated via a host, Polyglot Notebooks,\n",
-       "A variety of ways to use it, we seek.\n",
-       "Ideas on how to best leverage this engine for developers,\n",
-       "We are looking for, yes.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "Powerful tool, the .NET Interactive engine,\n",
-       "Routing messages, formatting data, sharing between languages and processes seen.\n",
-       "Initiated via a host, Polyglot Notebooks,\n",
-       "A variety of ways to use it, we seek.\n",
-       "Ideas on how to best leverage this engine for developers,\n",
-       "We are looking for, yes.
person
"yoda"
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "Powerful tool, the .NET Interactive engine,\n", - "Routing messages, formatting data, sharing between languages and processes seen.\n", - "Initiated via a host, Polyglot Notebooks,\n", - "A variety of ways to use it, we seek.\n", - "Ideas on how to best leverage this engine for developers,\n", - "We are looking for, yes." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!set --name person --value @input:\"Whose style would you like to summarize this in?\"\n", "#!use-skills function.writer.summarize function.writer.stylist\n", @@ -536,13 +308,13 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -554,13 +326,13 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -572,13 +344,13 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -590,68 +362,16 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
DALL-E, create an image of a small white cat flying a bright red biplane through a beautiful orange sky at sunset. The cat should have its tail held high in the air, its whiskers twitching, and its paws gripping the controls. In the background, a flock of birds should be flying in formation. The pla...
Result
\n",
-       "\n",
-       "DALL-E, create an image of a small white cat flying a bright red biplane through a beautiful orange sky at sunset. The cat should have its tail held high in the air, its whiskers twitching, and its paws gripping the controls. In the background, a flock of birds should be flying in formation. The plane should be glimmering in the light of the setting sun, and the cat should have a look of excitement and delight on its face.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "DALL-E, create an image of a small white cat flying a bright red biplane through a beautiful orange sky at sunset. The cat should have its tail held high in the air, its whiskers twitching, and its paws gripping the controls. In the background, a flock of birds should be flying in formation. The plane should be glimmering in the light of the setting sun, and the cat should have a look of excitement and delight on its face.
linecount
"10"
person
"yoda"
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "DALL-E, create an image of a small white cat flying a bright red biplane through a beautiful orange sky at sunset. The cat should have its tail held high in the air, its whiskers twitching, and its paws gripping the controls. In the background, a flock of birds should be flying in formation. The plane should be glimmering in the light of the setting sun, and the cat should have a look of excitement and delight on its face." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!set --name linecount --value 10\n", "#!use-skills function.image.make_image_prompt function.image.safe function.image.improve \n", @@ -661,7 +381,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "fb3f1135", "metadata": { "dotnet_interactive": { @@ -682,7 +402,7 @@ "Kernel.Root.KernelEvents.Subscribe(e =>\n", "{\n", " if (e is ReturnValueProduced rvp &&\n", - " e.Command.TargetKernelName.Contains(\"textCompletion\") &&\n", + " e.Command.TargetKernelName.Contains(\"chat(text)\") &&\n", " rvp.FormattedValues.SingleOrDefault(v => v.MimeType == \"text/plain\") is { } plainTextValue)\n", " {\n", " prompts.Add(plainTextValue.Value);\n", @@ -692,7 +412,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "52b8de58", "metadata": { "dotnet_interactive": { @@ -702,26 +422,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/markdown": [ - "Sending this prompt to DALL-E: *DALL-E, create an image of a small white cat flying a bright red biplane through a beautiful orange sky at sunset. The cat should have its tail held high in the air, its whiskers twitching, and its paws gripping the controls. In the background, a flock of birds should be flying in formation. The plane should be glimmering in the light of the setting sun, and the cat should have a look of excitement and delight on its face.*" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "using Microsoft.DotNet.Interactive;\n", "using Microsoft.DotNet.Interactive.AI;\n", @@ -743,32 +444,6 @@ "# 4. Bonus round" ] }, - { - "cell_type": "code", - "execution_count": 20, - "metadata": { - "dotnet_interactive": { - "language": "chat" - }, - "polyglot_notebook": { - "kernelName": "chat" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Yes, as an AI language model, I can talk about code. What would you like to discuss?" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "Can we talk about code?" - ] - }, { "attachments": {}, "cell_type": "markdown", @@ -780,7 +455,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "408bd3bb", "metadata": { "dotnet_interactive": { @@ -800,6 +475,22 @@ "\n", "var explainMagicCommand = new Command(\"#!explain\");\n", "\n", + "Kernel.Root.AddDirective(explainMagicCommand);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ "explainMagicCommand.SetHandler(async _ =>\n", "{\n", " var context = KernelInvocationContext.Current;\n", @@ -810,19 +501,17 @@ " Explain what the code above does, using dad jokes.\n", " \"\"\";\n", " \n", - " await Kernel.Root.FindKernels(k => k is ChatCompletionKernel).Single(k => k.Name == \"chat\")\n", + " await Kernel.Root.FindKernelByName(\"chat(text)\")\n", " .SendAsync(new SubmitCode(prompt));\n", "\n", " context.Complete(submitCode);\n", " }\n", - "});\n", - "\n", - "Kernel.Root.AddDirective(explainMagicCommand);" + "});\n" ] }, { "cell_type": "code", - "execution_count": 22, + "execution_count": null, "id": "eef481d1", "metadata": { "dotnet_interactive": { @@ -832,25 +521,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Sure, I'll give it a try!\n", - "\n", - "Why did the programmer go to the beach? To write some \"foreach\" loops! \n", - "\n", - "So, this code is using a \"foreach\" loop to iterate over a range of numbers from 1 to 10. But it's not just any range of numbers - it's an \"Enumerable\" range! \n", - "\n", - "Now, the loop is checking each number to see if it's divisible by 2 (using the modulo operator). If it is, then it's an even number! And what do we do with even numbers? We \"Console.WriteLine\" them, of course! \n", - "\n", - "So, in summary: this code is finding all the even numbers between 1 and 10 and printing them out to the console. It's a simple but effective way to practice using \"foreach\" loops and conditionals." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!explain\n", "foreach (var i in Enumerable.Range(1, 10))\n", @@ -864,7 +535,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "id": "9f130b91", "metadata": { "dotnet_interactive": { @@ -884,6 +555,22 @@ "\n", "var rewriteMagicCommand = new Command(\"#!rewrite\");\n", "\n", + "Kernel.Root.AddDirective(rewriteMagicCommand);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ "rewriteMagicCommand.SetHandler(async _ =>\n", "{\n", " var context = KernelInvocationContext.Current;\n", @@ -894,19 +581,17 @@ " Rewrite the code above in python. just output the code, no markdown.\n", " \"\"\";\n", " \n", - " await Kernel.Root.FindKernels(k => k is ChatCompletionKernel).Single(k => k.Name == \"chat\")\n", + " await Kernel.Root.FindKernelByName(\"chat(text)\")\n", " .SendAsync(new SubmitCode(prompt));\n", "\n", " context.Complete(submitCode);\n", " }\n", - "});\n", - "\n", - "Kernel.Root.AddDirective(rewriteMagicCommand);" + "});\n" ] }, { "cell_type": "code", - "execution_count": 24, + "execution_count": null, "id": "eb312acb", "metadata": { "dotnet_interactive": { @@ -916,21 +601,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "```python\n", - "for i in range(1, 11):\n", - " if i % 2 == 0:\n", - " print(i)\n", - "```" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!rewrite\n", "foreach (var i in Enumerable.Range(1, 10))\n", @@ -944,7 +615,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": null, "id": "26fa1f36", "metadata": { "dotnet_interactive": { @@ -964,6 +635,22 @@ "\n", "var unwindMagicCommand = new Command(\"#!unwind\");\n", "\n", + "Kernel.Root.AddDirective(unwindMagicCommand);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ "unwindMagicCommand.SetHandler(async _ =>\n", "{\n", " var context = KernelInvocationContext.Current;\n", @@ -974,19 +661,17 @@ " Rewrite the code above without recursion. Use iterations instead of recursion. just output the code, no markdown.\n", " \"\"\";\n", " \n", - " await Kernel.Root.FindKernels(k => k is ChatCompletionKernel).Single(k => k.Name == \"chat\")\n", + " await Kernel.Root.FindKernelByName(\"chat(text)\")\n", " .SendAsync(new SubmitCode(prompt));\n", "\n", " context.Complete(submitCode);\n", " } \n", - "});\n", - "\n", - "Kernel.Root.AddDirective(unwindMagicCommand);" + "});" ] }, { "cell_type": "code", - "execution_count": 26, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -995,30 +680,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "```csharp\n", - "int fibonacci(int x){\n", - " int a = 1, b = 1, c = 0;\n", - " if (x == 0 || x == 1) {\n", - " return 1;\n", - " }\n", - " for (int i = 2; i <= x; i++) {\n", - " c = a + b;\n", - " a = b;\n", - " b = c;\n", - " }\n", - " return c;\n", - "}\n", - "```" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!unwind\n", "int fibonacci(int x){\n", @@ -1034,171 +696,6 @@ "}" ] }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "916d9225", - "metadata": {}, - "source": [ - "## Comparing models" - ] - }, - { - "cell_type": "code", - "execution_count": 28, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
You will not need reservations for Maximo Bistro Tencui, Masala y Maiz, Limosneros, and El Hidalguense.
Result
\n",
-       "\n",
-       "You will not need reservations for Maximo Bistro Tencui, Masala y Maiz, Limosneros, and El Hidalguense.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "You will not need reservations for Maximo Bistro Tencui, Masala y Maiz, Limosneros, and El Hidalguense.
linecount
"10"
person
"yoda"
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "You will not need reservations for Maximo Bistro Tencui, Masala y Maiz, Limosneros, and El Hidalguense." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "Here are some resturants I would like to eat at in Mexico City between April 27 and May 3. \n", - "\n", - "* Maximo Bistro Tencui\n", - "* Mi Compa Chava Mariscos Contramar\n", - "* Paramo\n", - "* Masala y Maiz\n", - "* Limosneros\n", - "* Nicos\n", - "* El Hidalguense\n", - "\n", - "Which ones will I not need reservations for?" - ] - }, - { - "cell_type": "code", - "execution_count": 29, - "metadata": { - "dotnet_interactive": { - "language": "chat(text)" - }, - "polyglot_notebook": { - "kernelName": "chat(text)" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
It's difficult to say for certain whether you will need reservations for any of these restaurants during your desired dates, as it depends on factors such as the popularity of the restaurant, the time of day you plan to visit, and whether there are any special events or holidays happening during you...
Result
It's difficult to say for certain whether you will need reservations for any of these restaurants during your desired dates, as it depends on factors such as the popularity of the restaurant, the time of day you plan to visit, and whether there are any special events or holidays happening during your stay. However, in general, it's always a good idea to make reservations in advance to ensure that you can secure a table at your desired restaurant. \n",
-       "\n",
-       "That being said, some of the restaurants on your list may be less busy than others and may be more likely to have availability without a reservation. For example, El Hidalguense is a casual restaurant that specializes in traditional Hidalgo-style cuisine, and it may be easier to get a table there without a reservation. However, for the other restaurants on your list, it's recommended to make a reservation in advance to avoid disappointment.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
It's difficult to say for certain whether you will need reservations for any of these restaurants during your desired dates, as it depends on factors such as the popularity of the restaurant, the time of day you plan to visit, and whether there are any special events or holidays happening during your stay. However, in general, it's always a good idea to make reservations in advance to ensure that you can secure a table at your desired restaurant. \n",
-       "\n",
-       "That being said, some of the restaurants on your list may be less busy than others and may be more likely to have availability without a reservation. For example, El Hidalguense is a casual restaurant that specializes in traditional Hidalgo-style cuisine, and it may be easier to get a table there without a reservation. However, for the other restaurants on your list, it's recommended to make a reservation in advance to avoid disappointment.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "It's difficult to say for certain whether you will need reservations for any of these restaurants during your desired dates, as it depends on factors such as the popularity of the restaurant, the time of day you plan to visit, and whether there are any special events or holidays happening during your stay. However, in general, it's always a good idea to make reservations in advance to ensure that you can secure a table at your desired restaurant. \n", - "\n", - "That being said, some of the restaurants on your list may be less busy than others and may be more likely to have availability without a reservation. For example, El Hidalguense is a casual restaurant that specializes in traditional Hidalgo-style cuisine, and it may be easier to get a table there without a reservation. However, for the other restaurants on your list, it's recommended to make a reservation in advance to avoid disappointment." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "Here are some resturants I would like to eat at in Mexico City between April 27 and May 3. \n", - "\n", - "* Maximo Bistro Tencui\n", - "* Mi Compa Chava Mariscos Contramar\n", - "* Paramo\n", - "* Masala y Maiz\n", - "* Limosneros\n", - "* Nicos\n", - "* El Hidalguense\n", - "\n", - "Which ones will I not need reservations for?" - ] - }, { "attachments": {}, "cell_type": "markdown", @@ -1213,10 +710,10 @@ "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, "outputs": [], @@ -1237,13 +734,13 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(text)" } }, "outputs": [], @@ -1256,13 +753,13 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -1294,62 +791,16 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Help
Result
 Help
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
 Help
linecount
"10"
person
"yoda"
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - " Help" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!use-skills function._GLOBAL_FUNCTIONS_.detect_intent\n", "\n", @@ -1358,65 +809,16 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
.NET Interactive is a tool that lets you use different languages in one notebook. You don't need to install different tools, just use the best language for the job. To get the best experience, install the Polyglot Notebooks extension for Visual Studio Code. It has a picker for each cell, better lang...
Result
\n",
-       ".NET Interactive is a tool that lets you use different languages in one notebook. You don't need to install different tools, just use the best language for the job. To get the best experience, install the Polyglot Notebooks extension for Visual Studio Code. It has a picker for each cell, better language services, and a viewer for different kernels.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       ".NET Interactive is a tool that lets you use different languages in one notebook. You don't need to install different tools, just use the best language for the job. To get the best experience, install the Polyglot Notebooks extension for Visual Studio Code. It has a picker for each cell, better language services, and a viewer for different kernels.
linecount
"10"
person
"yoda"
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3440
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method346(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140720475800976
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method346(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - ".NET Interactive is a tool that lets you use different languages in one notebook. You don't need to install different tools, just use the best language for the job. To get the best experience, install the Polyglot Notebooks extension for Visual Studio Code. It has a picker for each cell, better language services, and a viewer for different kernels." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!use-skills function.writer.explainer\n", "\n", diff --git a/samples/notebooks/ai/Ai skills experiments.ipynb b/samples/notebooks/ai/Ai skills experiments.ipynb deleted file mode 100644 index d76145e5c4..0000000000 --- a/samples/notebooks/ai/Ai skills experiments.ipynb +++ /dev/null @@ -1,353 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 2, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Restore sources
  • https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23319.1
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23319.1\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Added magic command `#!connect openai`." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name key\n", - "YOUR AZURE OPEN AI KEY" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name endpoint\n", - "https://your-enpoint.openai.azure.com/" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "using System;\n", - "using System.Globalization;\n", - "using System.Threading.Tasks;\n", - "using Microsoft.SemanticKernel.Orchestration;\n", - "using Microsoft.SemanticKernel.SkillDefinition;\n", - "\n", - "public class MathSkill\n", - "{\n", - " /// \n", - " /// Returns the Addition result of initial and amount values provided.\n", - " /// \n", - " /// Initial value as string to add the specified amount\n", - " /// Contains the context to get the numbers from\n", - " /// The resulting sum as a string.\n", - " [SKFunction(),]\n", - " [SKName(\"Add\")]\n", - " [SKParameter(\"Amount\",\"Amount to add\")]\n", - " public Task AddAsync(string input, SKContext context)\n", - " {\n", - " if (!int.TryParse(input.Replace(\"\\\"\", string.Empty), NumberStyles.Any, CultureInfo.InvariantCulture, out var initialValue))\n", - " {\n", - " return Task.FromException(new ArgumentOutOfRangeException(\n", - " nameof(input), input, \"Initial value provided is not in numeric format\"));\n", - " }\n", - "\n", - " string contextAmount = context[\"Amount\"].Replace(\"\\\"\", string.Empty);\n", - " if (!int.TryParse(contextAmount, NumberStyles.Any, CultureInfo.InvariantCulture, out var amount))\n", - " {\n", - " return Task.FromException(new ArgumentOutOfRangeException(\n", - " nameof(context), contextAmount, \"Context amount provided is not in numeric format\"));\n", - " }\n", - "\n", - " var result = initialValue + amount;\n", - "\n", - " return Task.FromResult(result.ToString(CultureInfo.InvariantCulture));\n", - " } \n", - "}" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "var mathSkill = new MathSkill();" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion(skill)" - }, - "polyglot_notebook": { - "kernelName": "textCompletion(skill)" - } - }, - "outputs": [], - "source": [ - "#!set --value @csharp:mathSkill --name mathSkill --byref" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion(skill)" - }, - "polyglot_notebook": { - "kernelName": "textCompletion(skill)" - } - }, - "outputs": [], - "source": [ - "#!function doMath\n", - "{{mathSkill.Add $input}}\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [], - "source": [ - "#!set --name Amount --value 5\n", - "#!use-skills function._GLOBAL_FUNCTIONS_.doMath\n", - "37" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": ".NET (C#)", - "language": "C#", - "name": ".net-csharp" - }, - "language_info": { - "name": "polyglot-notebook" - }, - "orig_nbformat": 4, - "polyglot_notebook": { - "kernelInfo": { - "defaultKernelName": "csharp", - "items": [ - { - "aliases": [], - "name": "csharp" - }, - { - "aliases": [], - "languageName": "text", - "name": "knowledge" - }, - { - "aliases": [], - "languageName": "SQL", - "name": "knowledge(duckDbVectorRAW)" - }, - { - "aliases": [], - "languageName": "text", - "name": "openai-old(image)" - }, - { - "aliases": [], - "languageName": "text", - "name": "openai(image)" - }, - { - "aliases": [], - "languageName": "semantic-kernel.skprompt", - "name": "openaicode(skill)" - }, - { - "aliases": [], - "languageName": "text", - "name": "openaicode(text)" - }, - { - "aliases": [], - "languageName": "text", - "name": "textCompletion" - }, - { - "aliases": [], - "languageName": "semantic-kernel.skprompt", - "name": "textCompletion(skill)" - } - ] - } - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/samples/notebooks/ai/Audio processing.ipynb b/samples/notebooks/ai/Audio processing.ipynb new file mode 100644 index 0000000000..a4358312fd --- /dev/null +++ b/samples/notebooks/ai/Audio processing.ipynb @@ -0,0 +1,425 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Extracting knowledge from video files\n", + "\n", + "This notebooks uses FFMPEG and Whisper to work. Make sure to have `ffmpeg.exe` in teh same folder as this notebook" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Load the AI workbench" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "#i \"nuget:https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "#r \"nuget:Microsoft.DotNet.Interactive.AI, *-*\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### only for local builds" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Lading Whisper.net" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "#r \"nuget: Whisper.net, 1.4.6\"\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "#r \"nuget: Whisper.net.Runtime, 1.4.6\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### nasty workaround to get runtimes in the right place. Works only on windows :)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "using System;\n", + "using System.IO;\n", + "using System.Threading.Tasks;\n", + "using Whisper.net;\n", + "\n", + "var whisperLocation = Path.GetDirectoryName(typeof(WhisperFactory).Assembly.Location);\n", + "var runtimeDirectoty = Directory.CreateDirectory(Path.Combine(whisperLocation, \"runtimes\", \"win-x64\"));\n", + "var srcRuntimeDicrectory = Path.Combine( new DirectoryInfo( Path.Combine( whisperLocation.Replace(\"whisper.net\", \"whisper.net.runtime\"), \"..\", \"..\")).FullName,\"build\",\"win-x64\");\n", + "var srcFilePath = Path.Combine(srcRuntimeDicrectory, \"whisper.dll\");\n", + "// var dstFilePath = Path.Combine(runtimeDirectoty.FullName, \"whisper.dll\");\n", + "// if(!File.Exists(dstFilePath))\n", + "// {\n", + "// File.Copy(srcFilePath, dstFilePath, true);\n", + "// }" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Process video file and extract audio" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "#r \"nuget: FFMpegCore, 5.1.0\"\n", + "#r \"nuget: NAudio, 2.1.0\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Get audio from video" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "using FFMpegCore;\n", + "\n", + "var videoFile = new FileInfo(@\"C:\\Users\\dicolomb\\OneDrive - Microsoft\\Pictures\\A Deep Dive into Artificial Intelligence_ Microsoft x Our Little Uni_Trim.mp4\");\n", + "var audioFile = new FileInfo(videoFile.FullName.Replace(videoFile.Extension, \".mp3\"));\n", + "var wavFile = Path.ChangeExtension(audioFile.FullName, \".wav\");" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "FFMpeg.ExtractAudio(videoFile.FullName, audioFile.FullName);" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Convert mp3 to wav file and save to disk" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "using NAudio.Wave.SampleProviders;\n", + "using NAudio.Wave;\n", + "\n", + "var fileStream = File.OpenRead(audioFile.FullName);\n", + "var wavStream = new MemoryStream();\n", + "\n", + "var reader = new Mp3FileReader(fileStream);\n", + "var resampler = new WdlResamplingSampleProvider(reader.ToSampleProvider(), 16000);\n", + "WaveFileWriter.WriteWavFileToStream(wavStream, resampler.ToWaveProvider16());\n", + "wavStream.Seek(0, SeekOrigin.Begin);\n", + "File.OpenWrite(wavFile).Write(wavStream.ToArray());" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## now we have a wav filed on disk, lets use whisper to extract data" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### load model" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "using Whisper.net;\n", + "using Whisper.net.Ggml;\n", + "\n", + "var modelName = \"ggml-base.bin\";\n", + "if (!File.Exists(modelName))\n", + "{\n", + " using var modelStream = await WhisperGgmlDownloader.GetGgmlModelAsync(GgmlType.Base);\n", + " using var fileWriter = File.OpenWrite(modelName);\n", + " await modelStream.CopyToAsync(fileWriter);\n", + "}" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### start processing" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "var whisperFactory = WhisperFactory.FromPath(\"ggml-base.bin\", libraryPath: srcFilePath);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "var processor = whisperFactory.CreateBuilder()\n", + " .WithLanguage(\"auto\")\n", + " .Build();\n", + "\n", + "var wavFileStream = File.OpenRead(wavFile);\n", + "\n", + "var results = new List();\n", + "\n", + "await foreach(var result in processor.ProcessAsync(wavFileStream))\n", + "{\n", + " results.Add(result);\n", + " Console.WriteLine($\"{result.Start}->{result.End}: {result.Text}\");\n", + "}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "var filtered = results.Where(r => !r.Text.Contains(\"[BLANK_AUDIO]\")).ToList();" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "filtered.DisplayTable();" + ] + } + ], + "metadata": { + "language_info": { + "name": "csharp" + }, + "orig_nbformat": 4 + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/samples/notebooks/ai/Chat Agent.ipynb b/samples/notebooks/ai/Chat Agent.ipynb index cc67679768..a431728969 100644 --- a/samples/notebooks/ai/Chat Agent.ipynb +++ b/samples/notebooks/ai/Chat Agent.ipynb @@ -14,7 +14,7 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" + "#r \"nuget: Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23562.1\"" ] }, { @@ -30,12 +30,12 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23557.4\"" +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" ] }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -69,7 +69,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "68b78a72", "metadata": { "dotnet_interactive": { @@ -79,42 +79,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -123,37 +95,25 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!chat(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat(text)" - ] - }, - "metadata": {}, - "output_type": "display_data" + "outputs": [], + "source": [ + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat" - ] - }, - "metadata": {}, - "output_type": "display_data" + "polyglot_notebook": { + "kernelName": "csharp" } - ], + }, + "outputs": [], "source": [ - "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gtp-35-turbo --use-knowledge knowledge" + "System.Diagnostics.Debugger.Launch();" ] }, { @@ -166,7 +126,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -175,24 +135,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Restore sources
  • https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
Installed Packages
  • Microsoft.ML, 3.0.0-preview.23511.1
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#r \"nuget: Microsoft.ML, 3.0.0-preview.23511.1\"" ] }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -220,7 +170,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -234,22 +184,17 @@ "using Microsoft.DotNet.Interactive;\n", "using Microsoft.DotNet.Interactive.Commands;\n", "using Microsoft.DotNet.Interactive.AI;\n", - "using Microsoft.SemanticKernel;\n", - "using Microsoft.SemanticKernel.AI.ChatCompletion;\n", - "using Microsoft.SemanticKernel.Connectors.AI.OpenAI.Tokenizers;\n", - "using Microsoft.SemanticKernel.Skills.Core;\n", - "using Microsoft.SemanticKernel.AI.Embeddings;\n", - "using Microsoft.SemanticKernel.AI.Embeddings.VectorOperations;\n", + "using Microsoft.DotNet.Interactive.AIUtilities;\n", "\n", "var chatCompletionKernel = Microsoft.DotNet.Interactive.Kernel.Root.FindKernelByName(\"chat\") as ChatCompletionKernel;\n", "var knowledgeKernel = Microsoft.DotNet.Interactive.Kernel.Root.FindKernelByName(\"knowledge\") as KnowledgeKernel;\n", "\n", + "var comparer = new CosineSimilarityComparer(f => f);\n", + "\n", "chatCompletionKernel.SetUserTurnFilter(async (turn, userPrompt, token) =>{\n", " var userEmbeddings = await knowledgeKernel.GenerateEmbeddingsAsync(userPrompt, token);\n", - " var questionRelevance = userEmbeddings\n", - " .CosineSimilarity(turn.QuestionTexEmbedding);\n", - " var answerRelevance = userEmbeddings\n", - " .CosineSimilarity(turn.AnswerTexEmbedding);\n", + " var questionRelevance = comparer.Score(userEmbeddings, turn.QuestionTexEmbedding);\n", + " var answerRelevance = comparer.Score(userEmbeddings, turn.AnswerTexEmbedding);\n", " var relevanceThreshold = 0.8;\n", " if (questionRelevance >= relevanceThreshold || answerRelevance >= relevanceThreshold)\n", " {\n", @@ -274,7 +219,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -295,7 +240,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -350,7 +295,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -359,24 +304,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Sure, I'll do my best to answer your questions about coding in C#. What would you like to know?" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "I would like to ask you questions about coding in C#" ] }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -385,32 +320,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "As an AI language model, I don't eat or cook food, but here are some general steps to cook a fish:\n", - "\n", - "1. Clean the fish thoroughly, removing scales, guts, and other unwanted parts.\n", - "2. Season the fish with salt, pepper, and any other desired spices or herbs.\n", - "3. Heat a pan or grill to medium-high heat.\n", - "4. Add oil or butter to the pan or grill.\n", - "5. Place the fish on the pan or grill, skin-side down if applicable.\n", - "6. Cook the fish for 3-5 minutes on each side, or until the flesh is opaque and flakes easily with a fork.\n", - "7. Serve the fish with your desired sides and garnishes." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "How do I cook a fish?" ] }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -419,28 +336,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "In C#, a class is a blueprint or a template for creating objects that share common properties, methods, and events. It defines the structure and behavior of an object, including its data members (fields) and member functions (methods). \n", - "\n", - "A class can be thought of as a user-defined data type that encapsulates data and behavior. It provides a way to organize and modularize code, making it easier to maintain and reuse. \n", - "\n", - "For example, if you were creating a program to manage a library, you might define a class called \"Book\" that contains properties such as \"Title\", \"Author\", and \"ISBN\", as well as methods for checking out and returning books. You could then create multiple instances of the \"Book\" class to represent different books in the library." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "What is a c# class?" ] }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -449,24 +352,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "The most common modal scale in heavy metal music is the Phrygian mode." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "What is the most common modal scale in heavy metal music?" ] }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -475,38 +368,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "To set up your amplifier to play heavy metal guitar riffs, follow these steps:\n", - "\n", - "1. Start by selecting a high-gain channel on your amplifier. This will give you the distortion and overdrive necessary for heavy metal riffs.\n", - "\n", - "2. Adjust the gain knob to your desired level. For heavy metal, you'll want a high gain setting to get that crunchy, distorted sound.\n", - "\n", - "3. Adjust the bass, mid, and treble knobs to your liking. For heavy metal, you'll typically want to boost the bass and treble while cutting the mids to get a more aggressive sound.\n", - "\n", - "4. If your amplifier has a presence knob, adjust it to add more clarity and definition to your sound.\n", - "\n", - "5. Experiment with the volume and master volume knobs to find the right balance between volume and distortion.\n", - "\n", - "6. Finally, consider adding some effects like delay, reverb, or chorus to enhance your sound and add depth to your riffs.\n", - "\n", - "Remember, the settings that work best for heavy metal guitar riffs will depend on your personal preferences and the specific equipment you're using. Don't be afraid to experiment and try different settings until you find the sound that works best for you." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "How do I setup my amplifier to play heavy metal guitar riffs?" ] }, { "cell_type": "code", - "execution_count": 29, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -515,28 +384,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "There are several ways to model embeddings in a relational database, but one common approach is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n", - "\n", - "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n", - "\n", - "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "What is the mest way to model embeddings in a relational database?" ] }, { "cell_type": "code", - "execution_count": 30, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -545,24 +400,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "A motorbike, also known as a motorcycle or bike, is a two-wheeled vehicle powered by an engine. It typically has a seat for the rider, handlebars for steering, and footrests for the rider's feet. Motorbikes come in various sizes and styles, including sport bikes, cruisers, touring bikes, and dirt bikes. They are commonly used for transportation, recreation, and racing." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "What is a motorbike?" ] }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -571,200 +416,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "If you are making a motorbike racing game in .NET, the best way to represent a motorbike in C# using classes and interfaces would be to create a base class for the motorbike and then create derived classes for each specific type of motorbike. Here's an example:\n", - "\n", - "```\n", - "public abstract class Motorbike\n", - "{\n", - " // Fields\n", - " protected string make;\n", - " protected string model;\n", - " protected int year;\n", - " protected float engineSize;\n", - " protected bool isRunning;\n", - " protected float speed;\n", - " protected float acceleration;\n", - " protected float braking;\n", - "\n", - " // Constructor\n", - " public Motorbike(string make, string model, int year, float engineSize, float acceleration, float braking)\n", - " {\n", - " this.make = make;\n", - " this.model = model;\n", - " this.year = year;\n", - " this.engineSize = engineSize;\n", - " this.isRunning = false;\n", - " this.speed = 0f;\n", - " this.acceleration = acceleration;\n", - " this.braking = braking;\n", - " }\n", - "\n", - " // Properties\n", - " public string Make\n", - " {\n", - " get { return make; }\n", - " set { make = value; }\n", - " }\n", - "\n", - " public string Model\n", - " {\n", - " get { return model; }\n", - " set { model = value; }\n", - " }\n", - "\n", - " public int Year\n", - " {\n", - " get { return year; }\n", - " set { year = value; }\n", - " }\n", - "\n", - " public float EngineSize\n", - " {\n", - " get { return engineSize; }\n", - " set { engineSize = value; }\n", - " }\n", - "\n", - " public bool IsRunning\n", - " {\n", - " get { return isRunning; }\n", - " }\n", - "\n", - " public float Speed\n", - " {\n", - " get { return speed; }\n", - " }\n", - "\n", - " public float Acceleration\n", - " {\n", - " get { return acceleration; }\n", - " set { acceleration = value; }\n", - " }\n", - "\n", - " public float Braking\n", - " {\n", - " get { return braking; }\n", - " set { braking = value; }\n", - " }\n", - "\n", - " // Methods\n", - " public virtual void Start()\n", - " {\n", - " isRunning = true;\n", - " Console.WriteLine(\"The {0} {1} has started.\", make, model);\n", - " }\n", - "\n", - " public virtual void Stop()\n", - " {\n", - " isRunning = false;\n", - " Console.WriteLine(\"The {0} {1} has stopped.\", make, model);\n", - " }\n", - "\n", - " public abstract void Accelerate();\n", - "\n", - " public abstract void Brake();\n", - "}\n", - "\n", - "public class SportBike : Motorbike\n", - "{\n", - " // Constructor\n", - " public SportBike(string make, string model, int year, float engineSize, float acceleration, float braking) : base(make, model, year, engineSize, acceleration, braking)\n", - " {\n", - " }\n", - "\n", - " // Methods\n", - " public override void Accelerate()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed += acceleration;\n", - " Console.WriteLine(\"The {0} {1} is accelerating quickly. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "\n", - " public override void Brake()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed -= braking;\n", - " Console.WriteLine(\"The {0} {1} is braking quickly. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "}\n", - "\n", - "public class Cruiser : Motorbike\n", - "{\n", - " // Constructor\n", - " public Cruiser(string make, string model, int year, float engineSize, float acceleration, float braking) : base(make, model, year, engineSize, acceleration, braking)\n", - " {\n", - " }\n", - "\n", - " // Methods\n", - " public override void Accelerate()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed += acceleration;\n", - " Console.WriteLine(\"The {0} {1} is accelerating smoothly. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "\n", - " public override void Brake()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed -= braking;\n", - " Console.WriteLine(\"The {0} {1} is braking smoothly. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "}\n", - "\n", - "public interface IMotorbike\n", - "{\n", - " void Start();\n", - " void Stop();\n", - " void Accelerate();\n", - " void Brake();\n", - "}\n", - "```\n", - "\n", - "In this example, the `Motorbike` class is an abstract base class that defines the common fields and methods for all types of motorbikes. The `SportBike` and `Cruiser` classes are derived classes that inherit from the `Motorbike` class and implement the `Accelerate` and `Brake` methods in their own specific ways. \n", - "\n", - "Additionally, the `Motorbike` class has fields for speed, acceleration, and braking, which are used to simulate the movement and physics of the motorbike in the racing game. \n", - "\n", - "Using this approach, you can easily add new types of motorbikes by creating new derived classes that inherit from the `Motorbike` class and implement their own unique behavior. Additionally, you can use interfaces to define common behavior for all motorbikes, such as `IMotorbike` interface that defines methods for starting, stopping, accelerating, and braking." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "Then, what is the best way to represent a motorbike in C# using classes and interfaces? I am thinking of making a motorbike racing game in .NET." ] }, { "cell_type": "code", - "execution_count": 35, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "chat" @@ -773,144 +432,14 @@ "kernelName": "chat" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Sure, here's an example of a class that represents a motorbike using C#:\n", - "\n", - "```\n", - "public class Motorbike\n", - "{\n", - " // Fields\n", - " private string make;\n", - " private string model;\n", - " private int year;\n", - " private float engineSize;\n", - " private bool isRunning;\n", - " private float speed;\n", - " private float acceleration;\n", - " private float braking;\n", - "\n", - " // Constructor\n", - " public Motorbike(string make, string model, int year, float engineSize, float acceleration, float braking)\n", - " {\n", - " this.make = make;\n", - " this.model = model;\n", - " this.year = year;\n", - " this.engineSize = engineSize;\n", - " this.isRunning = false;\n", - " this.speed = 0f;\n", - " this.acceleration = acceleration;\n", - " this.braking = braking;\n", - " }\n", - "\n", - " // Properties\n", - " public string Make\n", - " {\n", - " get { return make; }\n", - " set { make = value; }\n", - " }\n", - "\n", - " public string Model\n", - " {\n", - " get { return model; }\n", - " set { model = value; }\n", - " }\n", - "\n", - " public int Year\n", - " {\n", - " get { return year; }\n", - " set { year = value; }\n", - " }\n", - "\n", - " public float EngineSize\n", - " {\n", - " get { return engineSize; }\n", - " set { engineSize = value; }\n", - " }\n", - "\n", - " public bool IsRunning\n", - " {\n", - " get { return isRunning; }\n", - " }\n", - "\n", - " public float Speed\n", - " {\n", - " get { return speed; }\n", - " }\n", - "\n", - " public float Acceleration\n", - " {\n", - " get { return acceleration; }\n", - " set { acceleration = value; }\n", - " }\n", - "\n", - " public float Braking\n", - " {\n", - " get { return braking; }\n", - " set { braking = value; }\n", - " }\n", - "\n", - " // Methods\n", - " public void Start()\n", - " {\n", - " isRunning = true;\n", - " Console.WriteLine(\"The {0} {1} has started.\", make, model);\n", - " }\n", - "\n", - " public void Stop()\n", - " {\n", - " isRunning = false;\n", - " Console.WriteLine(\"The {0} {1} has stopped.\", make, model);\n", - " }\n", - "\n", - " public void Accelerate()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed += acceleration;\n", - " Console.WriteLine(\"The {0} {1} is accelerating. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "\n", - " public void Brake()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " speed -= braking;\n", - " Console.WriteLine(\"The {0} {1} is braking. Current speed: {2} mph\", make, model, speed);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine(\"The {0} {1} is not running.\", make, model);\n", - " }\n", - " }\n", - "}\n", - "```\n", - "\n", - "In this example, the `Motorbike` class has fields for make, model, year, engine size, acceleration, and braking, which are used to simulate the movement and physics of the motorbike in the game. \n", - "\n", - "The class also has methods for starting, stopping, accelerating, and braking the motorbike, which are essential for simulating the motorbike's movement in the game. \n", - "\n", - "Using this class as a base, you can create derived classes for specific types of motorbikes, such as sport bikes, cruisers, and dirt bikes, and implement their own unique behavior and physics." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "Show me an example of a class that represents a motorbike using C#, not sure what methods I would need for the game simulation of the bike." ] }, { "cell_type": "code", - "execution_count": 36, + "execution_count": null, "id": "01eec561", "metadata": { "dotnet_interactive": { @@ -920,318 +449,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
4 columns, 32 rows
Schema
[ Text: String, Embedding: Vector<Single, 1536>, PredictedLabel: Key<UInt32, 0-4> {ScoreColumnKind, ScoreValueKind, ScoreColumnSetId}, Score: Vector<Single, 5> {ScoreColumnKind, ScoreColumnSetId, ScoreValueKind} ]
Count
4
(values)
indexvalue
0
Text: String
Name
Text
Index
0
IsHidden
False
Type
String
Annotations
Schema
[ ]
Count
0
(values)(empty)
1
Embedding: Vector<Single, 1536>
Name
Embedding
Index
1
IsHidden
False
Type
Vector<Single, 1536>
Dimensions
[ 1536 ]
IsKnownSize
True
ItemType
Single
Size
1536
RawTypeMicrosoft.ML.Data.VBuffer<System.Single>
Annotations
Schema
[ ]
Count
0
(values)(empty)
2
PredictedLabel: Key<UInt32, 0-4> {ScoreColumnKind, ScoreValueKind, ScoreColumnSetId}
Name
PredictedLabel
Index
2
IsHidden
False
Type
Key<UInt32, 0-4>
Count
5
RawTypeSystem.UInt32
Annotations
ScoreColumnKind, ScoreValueKind, ScoreColumnSetId
Schema
[ ScoreColumnKind: String, ScoreValueKind: String, ScoreColumnSetId: Key<UInt32, 0-2147483646> ]
Count
3
(values)
indexvalue
0
ScoreColumnKind: String
NameScoreColumnKind
Index0
IsHiddenFalse
TypeString
Annotations
1
ScoreValueKind: String
NameScoreValueKind
Index1
IsHiddenFalse
TypeString
Annotations
2
ScoreColumnSetId: Key<UInt32, 0-2147483646>
NameScoreColumnSetId
Index2
IsHiddenFalse
TypeKey
Annotations
3
Score: Vector<Single, 5> {ScoreColumnKind, ScoreColumnSetId, ScoreValueKind}
Name
Score
Index
3
IsHidden
False
Type
Vector<Single, 5>
Dimensions
[ 5 ]
IsKnownSize
True
ItemType
Single
Size
5
RawTypeMicrosoft.ML.Data.VBuffer<System.Single>
Annotations
ScoreColumnKind, ScoreColumnSetId, ScoreValueKind
Schema
[ ScoreColumnKind: String, ScoreColumnSetId: Key<UInt32, 0-2147483646>, ScoreValueKind: String ]
Count
3
(values)
indexvalue
0
ScoreColumnKind: String
NameScoreColumnKind
Index0
IsHiddenFalse
TypeString
Annotations
1
ScoreColumnSetId: Key<UInt32, 0-2147483646>
NameScoreColumnSetId
Index1
IsHiddenFalse
TypeKey
Annotations
2
ScoreValueKind: String
NameScoreValueKind
Index2
IsHiddenFalse
TypeString
Annotations
ColumnView
indexvalue
0
Text: String
Column
Text: String
Name
Text
Index
0
IsHidden
False
Type
String
Annotations
Schema
[ ]
Count0
(values)(empty)
Values
indexvalue
0I would like to ask you questions about coding in C#
1Sure, I'll do my best to answer your questions about coding in C#. What would you like to know?
2How do I cook a fish?
3As an AI language model, I don't eat or cook food, but here are some general steps to cook a fish:\n", - "\n", - "1. Clean the fish thoroughly, removing scales, guts, and other unwanted parts.\n", - "2. Season the fish with salt, pepper, and any other desired spices or herbs.\n", - "3. Heat a pan or grill to medium-high heat.\n", - "4. Add oil or butter to the pan or grill.\n", - "5. Place the fish on the pan or grill, skin-side down if applicable.\n", - "6. Cook the fish for 3-5 minutes on each side, or until the flesh is opaque and flakes easily with a fork.\n", - "7. Serve the fish with your desired sides and garnishes.
4What is a c# class?
5In C#, a class is a blueprint or a template for creating objects that share common properties, methods, and events. It defines the structure and behavior of an object, including its data members (fields) and member functions (methods). \n", - "\n", - "A class can be thought of as a user-defined data type that encapsulates data and behavior. It provides a way to organize and modularize code, making it easier to maintain and reuse. \n", - "\n", - "For example, if you were creating a program to manage a library, you might define a class called "Book" that contains properties such as "Title", "Author", and "ISBN", as well as methods for checking out and returning books. You could then create multiple instances of the "Book" class to represent different books in the library.
6What is the most common modal scale in heavy metal music?
7The most common modal scale in heavy metal music is the Phrygian mode.
8How do I setup my amplifier to play heavy metal guitar riffs?
9To set up your amplifier to play heavy metal guitar riffs, follow these steps:\n", - "\n", - "1. Start by selecting a high-gain channel on your amplifier. This will give you the distortion and overdrive necessary for heavy metal riffs.\n", - "\n", - "2. Adjust the gain knob to your desired level. For heavy metal, you'll want a high gain setting to get that crunchy, distorted sound.\n", - "\n", - "3. Adjust the bass, mid, and treble knobs to your liking. For heavy metal, you'll typically want to boost the bass and treble while cutting the mids to get a more aggressive sound.\n", - "\n", - "4. If your amplifier has a presence knob, adjust it to add more clarity and definition to your sound.\n", - "\n", - "5. Experiment with the volume and master volume knobs to find the right balance between volume and distortion.\n", - "\n", - "6. Finally, consider adding some effects like delay, reverb, or chorus to enhance your sound and add depth to your riffs.\n", - "\n", - "Remember, the settings that work best for heavy metal guitar riffs will depend on your personal preferences and the specific equipment you're using. Don't be afraid to experiment and try different settings until you find the sound that works best for you.
10What is the mest way to model embeddings in a relational database?
11There are several ways to model embeddings in a relational database, but one of the most common approaches is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n", - "\n", - "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n", - "\n", - "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set.
12What is a motorbike?
13A motorbike, also known as a motorcycle or bike, is a two-wheeled vehicle powered by an engine. It typically has a seat for the rider, handlebars for steering, and footrests for the rider's feet. Motorbikes come in various sizes and styles, including sport bikes, cruisers, touring bikes, and dirt bikes. They are commonly used for transportation, recreation, and racing.
14What is the best way to model a motorbike in C#?
15Modeling a motorbike in C# would require the use of a 3D graphics library or game engine that supports C#. Here are the general steps to model a motorbike in C#:\n", - "\n", - "1. Choose a 3D graphics library or game engine that supports C#, such as Unity, Unreal Engine, or OpenTK.\n", - "2. Create a 3D model of the motorbike using a 3D modeling software, such as Blender or Maya.\n", - "3. Import the 3D model into the chosen graphics library or game engine.\n", - "4. Apply textures and materials to the 3D model to give it a realistic appearance.\n", - "5. Add physics and collision detection to the motorbike model to simulate its movement and interaction with the environment.\n", - "6. Implement user input controls to allow the player to control the motorbike's movement.\n", - "7. Test and refine the motorbike model to ensure it functions correctly and provides an enjoyable user experience.\n", - "\n", - "Overall, modeling a motorbike in C# requires a combination of 3D modeling skills, programming knowledge, and game development experience.
16Show me an example of a class that represents a motorbike using C#
17Sure, here's an example of a class that represents a motorbike using C#:\n", - "\n", - "```\n", - "public class Motorbike\n", - "{\n", - " // Fields\n", - " private string make;\n", - " private string model;\n", - " private int year;\n", - " private float engineSize;\n", - " private bool isRunning;\n", - "\n", - " // Constructor\n", - " public Motorbike(string make, string model, int year, float engineSize)\n", - " {\n", - " this.make = make;\n", - " this.model = model;\n", - " this.year = year;\n", - " this.engineSize = engineSize;\n", - " this.isRunning = false;\n", - " }\n", - "\n", - " // Properties\n", - " public string Make\n", - " {\n", - " get { return make; }\n", - " set { make = value; }\n", - " }\n", - "\n", - " public string Model\n", - " {\n", - " get { return model; }\n", - " set { model = value; }\n", - " }\n", - "\n", - " public int Year\n", - " {\n", - " get { return year; }\n", - " set { year = value; }\n", - " }\n", - "\n", - " public float EngineSize\n", - " {\n", - " get { return engineSize; }\n", - " set { engineSize = value; }\n", - " }\n", - "\n", - " public bool IsRunning\n", - " {\n", - " get { return isRunning; }\n", - " }\n", - "\n", - " // Methods\n", - " public void Start()\n", - " {\n", - " isRunning = true;\n", - " Console.WriteLine("The {0} {1} has started.", make, model);\n", - " }\n", - "\n", - " public void Stop()\n", - " {\n", - " isRunning = false;\n", - " Console.WriteLine("The {0} {1} has stopped.", make, model);\n", - " }\n", - "\n", - " public void Accelerate()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " Console.WriteLine("The {0} {1} is accelerating.", make, model);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine("The {0} {1} is not running.", make, model);\n", - " }\n", - " }\n", - "\n", - " public void Brake()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " Console.WriteLine("The {0} {1} is braking.", make, model);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine("The {0} {1} is not running.", make, model);\n", - " }\n", - " }\n", - "}\n", - "```\n", - "\n", - "This class represents a motorbike with fields for the make, model, year, engine size, and running status. It has a constructor to initialize these fields, properties to get and set the fields, and methods to start, stop, accelerate, and brake the motorbike.
18What is the mest way to model embeddings in a relational database?
19There are several ways to model embeddings in a relational database, but one common approach is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n", - "\n", - "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n", - "\n", - "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set.
(12 more)
1
Embedding: Vector<Single, 1536>
Column
Embedding: Vector<Single, 1536>
Name
Embedding
Index
1
IsHidden
False
Type
Vector<Single, 1536>
Dimensions
[ 1536 ]
IsKnownSize
True
ItemType
Single
RawTypeSystem.Single
Size
1536
RawTypeMicrosoft.ML.Data.VBuffer<System.Single>
Annotations
Schema
[ ]
Count0
(values)(empty)
Values
indexvalue
0
Dense vector of size 1536
IsDense
True
Length
1536
1
Dense vector of size 1536
IsDense
True
Length
1536
2
Dense vector of size 1536
IsDense
True
Length
1536
3
Dense vector of size 1536
IsDense
True
Length
1536
4
Dense vector of size 1536
IsDense
True
Length
1536
5
Dense vector of size 1536
IsDense
True
Length
1536
6
Dense vector of size 1536
IsDense
True
Length
1536
7
Dense vector of size 1536
IsDense
True
Length
1536
8
Dense vector of size 1536
IsDense
True
Length
1536
9
Dense vector of size 1536
IsDense
True
Length
1536
10
Dense vector of size 1536
IsDense
True
Length
1536
11
Dense vector of size 1536
IsDense
True
Length
1536
12
Dense vector of size 1536
IsDense
True
Length
1536
13
Dense vector of size 1536
IsDense
True
Length
1536
14
Dense vector of size 1536
IsDense
True
Length
1536
15
Dense vector of size 1536
IsDense
True
Length
1536
16
Dense vector of size 1536
IsDense
True
Length
1536
17
Dense vector of size 1536
IsDense
True
Length
1536
18
Dense vector of size 1536
IsDense
True
Length
1536
19
Dense vector of size 1536
IsDense
True
Length
1536
(12 more)
2
PredictedLabel: Key<UInt32, 0-4>
Column
PredictedLabel: Key<UInt32, 0-4> {ScoreColumnKind, ScoreValueKind, ScoreColumnSetId}
Name
PredictedLabel
Index
2
IsHidden
False
Type
Key<UInt32, 0-4>
Count
5
RawTypeSystem.UInt32
Annotations
ScoreColumnKind, ScoreValueKind, ScoreColumnSetId
Schema
[ ScoreColumnKind: String, ScoreValueKind: String, ScoreColumnSetId: Key<UInt32, 0-2147483646> ]
Count3
(values)
indexvalue
0ScoreColumnKind: String
1ScoreValueKind: String
2ScoreColumnSetId: Key
Values
indexvalue
0
1
1
1
2
4
3
4
4
1
5
1
6
3
7
3
8
5
9
5
10
2
11
2
12
1
13
1
14
1
15
1
16
1
17
1
18
2
19
2
(12 more)
3
Score: Vector<Single, 5>
Column
Score: Vector<Single, 5> {ScoreColumnKind, ScoreColumnSetId, ScoreValueKind}
Name
Score
Index
3
IsHidden
False
Type
Vector<Single, 5>
Dimensions
[ 5 ]
IsKnownSize
True
ItemType
Single
RawTypeSystem.Single
Size
5
RawTypeMicrosoft.ML.Data.VBuffer<System.Single>
Annotations
ScoreColumnKind, ScoreColumnSetId, ScoreValueKind
Schema
[ ScoreColumnKind: String, ScoreColumnSetId: Key<UInt32, 0-2147483646>, ScoreValueKind: String ]
Count3
(values)
indexvalue
0ScoreColumnKind: String
1ScoreColumnSetId: Key
2ScoreValueKind: String
Values
indexvalue
0
Dense vector of size 5
IsDense
True
Length
5
1
Dense vector of size 5
IsDense
True
Length
5
2
Dense vector of size 5
IsDense
True
Length
5
3
Dense vector of size 5
IsDense
True
Length
5
4
Dense vector of size 5
IsDense
True
Length
5
5
Dense vector of size 5
IsDense
True
Length
5
6
Dense vector of size 5
IsDense
True
Length
5
7
Dense vector of size 5
IsDense
True
Length
5
8
Dense vector of size 5
IsDense
True
Length
5
9
Dense vector of size 5
IsDense
True
Length
5
10
Dense vector of size 5
IsDense
True
Length
5
11
Dense vector of size 5
IsDense
True
Length
5
12
Dense vector of size 5
IsDense
True
Length
5
13
Dense vector of size 5
IsDense
True
Length
5
14
Dense vector of size 5
IsDense
True
Length
5
15
Dense vector of size 5
IsDense
True
Length
5
16
Dense vector of size 5
IsDense
True
Length
5
17
Dense vector of size 5
IsDense
True
Length
5
18
Dense vector of size 5
IsDense
True
Length
5
19
Dense vector of size 5
IsDense
True
Length
5
(12 more)
RowView
indexvalue
0
4 columns
Values
indexvalue
0
[Text, I would like to ask you questions about coding in C#]
Key
Text
ValueI would like to ask you questions about coding in C#
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
1
4 columns
Values
indexvalue
0
[Text, Sure, I'll do my best to answer your questions about coding in C#. What would you like to know?]
Key
Text
ValueSure, I'll do my best to answer your questions about coding in C#. What would you like to know?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
2
4 columns
Values
indexvalue
0
[Text, How do I cook a fish?]
Key
Text
ValueHow do I cook a fish?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 4]
Key
PredictedLabel
Value
4
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
3
4 columns
Values
indexvalue
0
[Text, As an AI language model, I don't eat or cook food, but here are some general steps to cook a fish:\\n\\n1. Clean the fish thoroughly, removing scales, guts, and other unwanted parts.\\n2. Season the fish with salt, pepper, and any other desired spices or herbs.\\n3. Heat a pan or grill to medium-...
Key
Text
ValueAs an AI language model, I don't eat or cook food, but here are some general steps to cook a fish:\n", - "\n", - "1. Clean the fish thoroughly, removing scales, guts, and other unwanted parts.\n", - "2. Season the fish with salt, pepper, and any other desired spices or herbs.\n", - "3. Heat a pan or grill to medium-high heat.\n", - "4. Add oil or butter to the pan or grill.\n", - "5. Place the fish on the pan or grill, skin-side down if applicable.\n", - "6. Cook the fish for 3-5 minutes on each side, or until the flesh is opaque and flakes easily with a fork.\n", - "7. Serve the fish with your desired sides and garnishes.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 4]
Key
PredictedLabel
Value
4
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
4
4 columns
Values
indexvalue
0
[Text, What is a c# class?]
Key
Text
ValueWhat is a c# class?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
5
4 columns
Values
indexvalue
0
[Text, In C#, a class is a blueprint or a template for creating objects that share common properties, methods, and events. It defines the structure and behavior of an object, including its data members (fields) and member functions (methods). \\n\\nA class can be thought of as a user-defined data type...
Key
Text
ValueIn C#, a class is a blueprint or a template for creating objects that share common properties, methods, and events. It defines the structure and behavior of an object, including its data members (fields) and member functions (methods). \n", - "\n", - "A class can be thought of as a user-defined data type that encapsulates data and behavior. It provides a way to organize and modularize code, making it easier to maintain and reuse. \n", - "\n", - "For example, if you were creating a program to manage a library, you might define a class called "Book" that contains properties such as "Title", "Author", and "ISBN", as well as methods for checking out and returning books. You could then create multiple instances of the "Book" class to represent different books in the library.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
6
4 columns
Values
indexvalue
0
[Text, What is the most common modal scale in heavy metal music?]
Key
Text
ValueWhat is the most common modal scale in heavy metal music?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 3]
Key
PredictedLabel
Value
3
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
7
4 columns
Values
indexvalue
0
[Text, The most common modal scale in heavy metal music is the Phrygian mode.]
Key
Text
ValueThe most common modal scale in heavy metal music is the Phrygian mode.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 3]
Key
PredictedLabel
Value
3
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
8
4 columns
Values
indexvalue
0
[Text, How do I setup my amplifier to play heavy metal guitar riffs?]
Key
Text
ValueHow do I setup my amplifier to play heavy metal guitar riffs?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 5]
Key
PredictedLabel
Value
5
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
9
4 columns
Values
indexvalue
0
[Text, To set up your amplifier to play heavy metal guitar riffs, follow these steps:\\n\\n1. Start by selecting a high-gain channel on your amplifier. This will give you the distortion and overdrive necessary for heavy metal riffs.\\n\\n2. Adjust the gain knob to your desired level. For heavy metal, yo...
Key
Text
ValueTo set up your amplifier to play heavy metal guitar riffs, follow these steps:\n", - "\n", - "1. Start by selecting a high-gain channel on your amplifier. This will give you the distortion and overdrive necessary for heavy metal riffs.\n", - "\n", - "2. Adjust the gain knob to your desired level. For heavy metal, you'll want a high gain setting to get that crunchy, distorted sound.\n", - "\n", - "3. Adjust the bass, mid, and treble knobs to your liking. For heavy metal, you'll typically want to boost the bass and treble while cutting the mids to get a more aggressive sound.\n", - "\n", - "4. If your amplifier has a presence knob, adjust it to add more clarity and definition to your sound.\n", - "\n", - "5. Experiment with the volume and master volume knobs to find the right balance between volume and distortion.\n", - "\n", - "6. Finally, consider adding some effects like delay, reverb, or chorus to enhance your sound and add depth to your riffs.\n", - "\n", - "Remember, the settings that work best for heavy metal guitar riffs will depend on your personal preferences and the specific equipment you're using. Don't be afraid to experiment and try different settings until you find the sound that works best for you.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 5]
Key
PredictedLabel
Value
5
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
10
4 columns
Values
indexvalue
0
[Text, What is the mest way to model embeddings in a relational database?]
Key
Text
ValueWhat is the mest way to model embeddings in a relational database?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 2]
Key
PredictedLabel
Value
2
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
11
4 columns
Values
indexvalue
0
[Text, There are several ways to model embeddings in a relational database, but one of the most common approaches is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would repres...
Key
Text
ValueThere are several ways to model embeddings in a relational database, but one of the most common approaches is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n", - "\n", - "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n", - "\n", - "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 2]
Key
PredictedLabel
Value
2
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
12
4 columns
Values
indexvalue
0
[Text, What is a motorbike?]
Key
Text
ValueWhat is a motorbike?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
13
4 columns
Values
indexvalue
0
[Text, A motorbike, also known as a motorcycle or bike, is a two-wheeled vehicle powered by an engine. It typically has a seat for the rider, handlebars for steering, and footrests for the rider's feet. Motorbikes come in various sizes and styles, including sport bikes, cruisers, touring bikes, and ...
Key
Text
ValueA motorbike, also known as a motorcycle or bike, is a two-wheeled vehicle powered by an engine. It typically has a seat for the rider, handlebars for steering, and footrests for the rider's feet. Motorbikes come in various sizes and styles, including sport bikes, cruisers, touring bikes, and dirt bikes. They are commonly used for transportation, recreation, and racing.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
14
4 columns
Values
indexvalue
0
[Text, What is the best way to model a motorbike in C#?]
Key
Text
ValueWhat is the best way to model a motorbike in C#?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
15
4 columns
Values
indexvalue
0
[Text, Modeling a motorbike in C# would require the use of a 3D graphics library or game engine that supports C#. Here are the general steps to model a motorbike in C#:\\n\\n1. Choose a 3D graphics library or game engine that supports C#, such as Unity, Unreal Engine, or OpenTK.\\n2. Create a 3D model ...
Key
Text
ValueModeling a motorbike in C# would require the use of a 3D graphics library or game engine that supports C#. Here are the general steps to model a motorbike in C#:\n", - "\n", - "1. Choose a 3D graphics library or game engine that supports C#, such as Unity, Unreal Engine, or OpenTK.\n", - "2. Create a 3D model of the motorbike using a 3D modeling software, such as Blender or Maya.\n", - "3. Import the 3D model into the chosen graphics library or game engine.\n", - "4. Apply textures and materials to the 3D model to give it a realistic appearance.\n", - "5. Add physics and collision detection to the motorbike model to simulate its movement and interaction with the environment.\n", - "6. Implement user input controls to allow the player to control the motorbike's movement.\n", - "7. Test and refine the motorbike model to ensure it functions correctly and provides an enjoyable user experience.\n", - "\n", - "Overall, modeling a motorbike in C# requires a combination of 3D modeling skills, programming knowledge, and game development experience.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
16
4 columns
Values
indexvalue
0
[Text, Show me an example of a class that represents a motorbike using C#]
Key
Text
ValueShow me an example of a class that represents a motorbike using C#
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
17
4 columns
Values
indexvalue
0
[Text, Sure, here's an example of a class that represents a motorbike using C#:\\n\\n```\\npublic class Motorbike\\n{\\n // Fields\\n private string make;\\n private string model;\\n private int year;\\n private float engineSize;\\n private bool isRunning;\\n\\n // Constructor\\n public M...
Key
Text
ValueSure, here's an example of a class that represents a motorbike using C#:\n", - "\n", - "```\n", - "public class Motorbike\n", - "{\n", - " // Fields\n", - " private string make;\n", - " private string model;\n", - " private int year;\n", - " private float engineSize;\n", - " private bool isRunning;\n", - "\n", - " // Constructor\n", - " public Motorbike(string make, string model, int year, float engineSize)\n", - " {\n", - " this.make = make;\n", - " this.model = model;\n", - " this.year = year;\n", - " this.engineSize = engineSize;\n", - " this.isRunning = false;\n", - " }\n", - "\n", - " // Properties\n", - " public string Make\n", - " {\n", - " get { return make; }\n", - " set { make = value; }\n", - " }\n", - "\n", - " public string Model\n", - " {\n", - " get { return model; }\n", - " set { model = value; }\n", - " }\n", - "\n", - " public int Year\n", - " {\n", - " get { return year; }\n", - " set { year = value; }\n", - " }\n", - "\n", - " public float EngineSize\n", - " {\n", - " get { return engineSize; }\n", - " set { engineSize = value; }\n", - " }\n", - "\n", - " public bool IsRunning\n", - " {\n", - " get { return isRunning; }\n", - " }\n", - "\n", - " // Methods\n", - " public void Start()\n", - " {\n", - " isRunning = true;\n", - " Console.WriteLine("The {0} {1} has started.", make, model);\n", - " }\n", - "\n", - " public void Stop()\n", - " {\n", - " isRunning = false;\n", - " Console.WriteLine("The {0} {1} has stopped.", make, model);\n", - " }\n", - "\n", - " public void Accelerate()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " Console.WriteLine("The {0} {1} is accelerating.", make, model);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine("The {0} {1} is not running.", make, model);\n", - " }\n", - " }\n", - "\n", - " public void Brake()\n", - " {\n", - " if (isRunning)\n", - " {\n", - " Console.WriteLine("The {0} {1} is braking.", make, model);\n", - " }\n", - " else\n", - " {\n", - " Console.WriteLine("The {0} {1} is not running.", make, model);\n", - " }\n", - " }\n", - "}\n", - "```\n", - "\n", - "This class represents a motorbike with fields for the make, model, year, engine size, and running status. It has a constructor to initialize these fields, properties to get and set the fields, and methods to start, stop, accelerate, and brake the motorbike.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 1]
Key
PredictedLabel
Value
1
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
18
4 columns
Values
indexvalue
0
[Text, What is the mest way to model embeddings in a relational database?]
Key
Text
ValueWhat is the mest way to model embeddings in a relational database?
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 2]
Key
PredictedLabel
Value
2
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
19
4 columns
Values
indexvalue
0
[Text, There are several ways to model embeddings in a relational database, but one common approach is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity ...
Key
Text
ValueThere are several ways to model embeddings in a relational database, but one common approach is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n", - "\n", - "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n", - "\n", - "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set.
1
[Embedding, Dense vector of size 1536]
Key
Embedding
Value
Dense vector of size 1536
IsDenseTrue
Length1536
2
[PredictedLabel, 2]
Key
PredictedLabel
Value
2
3
[Score, Dense vector of size 5]
Key
Score
Value
Dense vector of size 5
IsDenseTrue
Length5
(12 more)
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "clusteredData.Preview().Display();" ] @@ -1247,7 +465,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1263,7 +481,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1303,7 +521,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1347,7 +565,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1356,455 +574,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
indexvalue
0
{ CenstroidEmbedding = System.Single[], Text = System.String[] }
CenstroidEmbedding
[ -0.0045551048, 0.006455068, -0.004881875, -0.02412982, -0.018067542, 0.0007876146, -0.004960471, -0.0052060722, -0.010661278, -0.043034513, 0.0052415035, 0.021151206, -0.003764674, -0.002854415, -0.0026767273, 0.01568986, 0.025198301, -0.0018648285, 0.012310172, -0.001751964 ... (1516 more) ]
Text
[ Then, what is the best way to represent a motorbike in C# using classes and interfaces? I am thinking of making a motorbike racing game in .NET., Then, what is the best way to represent a motorbike in C# using classes and interfaces? I am thinking of making a motorbike racing game in .NET., Then, what is the best way to represent a motorbike in C# using classes and interfaces?, The best way to represent a motorbike in C# using classes and interfaces would be to create a base class for the motorbike and then create derived classes for each specific type of motorbike. Here's an example:\n",
-       "\n",
-       "```\n",
-       "public abstract class Motorbike\n",
-       "{\n",
-       "    // Fields\n",
-       "    protected string make;\n",
-       "    protected string model;\n",
-       "    protected int year;\n",
-       "    protected float engineSize;\n",
-       "    protected bool isRunning;\n",
-       "\n",
-       "    // Constructor\n",
-       "    public Motorbike(string make, string model, int year, float engineSize)\n",
-       "    {\n",
-       "        this.make = make;\n",
-       "        this.model = model;\n",
-       "        this.year = year;\n",
-       "        this.engineSize = engineSize;\n",
-       "        this.isRunning = false;\n",
-       "    }\n",
-       "\n",
-       "    // Properties\n",
-       "    public string Make\n",
-       "    {\n",
-       "        get { return make; }\n",
-       "        set { make = value; }\n",
-       "    }\n",
-       "\n",
-       "    public string Model\n",
-       "    {\n",
-       "        get { return model; }\n",
-       "        set { model = value; }\n",
-       "    }\n",
-       "\n",
-       "    public int Year\n",
-       "    {\n",
-       "        get { return year; }\n",
-       "        set { year = value; }\n",
-       "    }\n",
-       "\n",
-       "    public float EngineSize\n",
-       "    {\n",
-       "        get { return engineSize; }\n",
-       "        set { engineSize = value; }\n",
-       "    }\n",
-       "\n",
-       "    public bool IsRunning\n",
-       "    {\n",
-       "        get { return isRunning; }\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public virtual void Start()\n",
-       "    {\n",
-       "        isRunning = true;\n",
-       "        Console.WriteLine("The {0} {1} has started.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public virtual void Stop()\n",
-       "    {\n",
-       "        isRunning = false;\n",
-       "        Console.WriteLine("The {0} {1} has stopped.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public abstract void Accelerate();\n",
-       "\n",
-       "    public abstract void Brake();\n",
-       "}\n",
-       "\n",
-       "public class SportBike : Motorbike\n",
-       "{\n",
-       "    // Constructor\n",
-       "    public SportBike(string make, string model, int year, float engineSize) : base(make, model, year, engineSize)\n",
-       "    {\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public override void Accelerate()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is accelerating quickly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "\n",
-       "    public override void Brake()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is braking quickly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "}\n",
-       "\n",
-       "public class Cruiser : Motorbike\n",
-       "{\n",
-       "    // Constructor\n",
-       "    public Cruiser(string make, string model, int year, float engineSize) : base(make, model, year, engineSize)\n",
-       "    {\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public override void Accelerate()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is accelerating smoothly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "\n",
-       "    public override void Brake()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is braking smoothly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "}\n",
-       "```\n",
-       "\n",
-       "In this example, the `Motorbike` class is an abstract base class that defines the common fields and methods for all types of motorbikes. The `SportBike` and `Cruiser` classes are derived classes that inherit from the `Motorbike` class and implement the `Accelerate` and `Brake` methods in their own specific ways. \n",
-       "\n",
-       "Using this approach, you can easily add new types of motorbikes by creating new derived classes that inherit from the `Motorbike` class and implement their own unique behavior. Additionally, you can use interfaces to define common behavior for all motorbikes, such as `IMotorbike` interface that defines methods for starting, stopping, accelerating, and braking., Sure, here's an example of a class that represents a motorbike using C#:\n",
-       "\n",
-       "```\n",
-       "public class Motorbike\n",
-       "{\n",
-       "    // Fields\n",
-       "    private string make;\n",
-       "    private string model;\n",
-       "    private int year;\n",
-       "    private float engineSize;\n",
-       "    private bool isRunning;\n",
-       "\n",
-       "    // Constructor\n",
-       "    public Motorbike(string make, string model, int year, float engineSize)\n",
-       "    {\n",
-       "        this.make = make;\n",
-       "        this.model = model;\n",
-       "        this.year = year;\n",
-       "        this.engineSize = engineSize;\n",
-       "        this.isRunning = false;\n",
-       "    }\n",
-       "\n",
-       "    // Properties\n",
-       "    public string Make\n",
-       "    {\n",
-       "        get { return make; }\n",
-       "        set { make = value; }\n",
-       "    }\n",
-       "\n",
-       "    public string Model\n",
-       "    {\n",
-       "        get { return model; }\n",
-       "        set { model = value; }\n",
-       "    }\n",
-       "\n",
-       "    public int Year\n",
-       "    {\n",
-       "        get { return year; }\n",
-       "        set { year = value; }\n",
-       "    }\n",
-       "\n",
-       "    public float EngineSize\n",
-       "    {\n",
-       "        get { return engineSize; }\n",
-       "        set { engineSize = value; }\n",
-       "    }\n",
-       "\n",
-       "    public bool IsRunning\n",
-       "    {\n",
-       "        get { return isRunning; }\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public void Start()\n",
-       "    {\n",
-       "        isRunning = true;\n",
-       "        Console.WriteLine("The {0} {1} has started.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public void Stop()\n",
-       "    {\n",
-       "        isRunning = false;\n",
-       "        Console.WriteLine("The {0} {1} has stopped.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public void Accelerate()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is accelerating.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "\n",
-       "    public void Brake()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is braking.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "}\n",
-       "```\n",
-       "\n",
-       "This class represents a motorbike with fields for the make, model, year, engine size, and running status. It has a constructor to initialize these fields, properties to get and set the fields, and methods to start, stop, accelerate, and brake the motorbike., The best way to represent a motorbike in C# using classes and interfaces would be to create a base class for the motorbike and then create derived classes for each specific type of motorbike. Here's an example:\n",
-       "\n",
-       "```\n",
-       "public abstract class Motorbike\n",
-       "{\n",
-       "    // Fields\n",
-       "    protected string make;\n",
-       "    protected string model;\n",
-       "    protected int year;\n",
-       "    protected float engineSize;\n",
-       "    protected bool isRunning;\n",
-       "\n",
-       "    // Constructor\n",
-       "    public Motorbike(string make, string model, int year, float engineSize)\n",
-       "    {\n",
-       "        this.make = make;\n",
-       "        this.model = model;\n",
-       "        this.year = year;\n",
-       "        this.engineSize = engineSize;\n",
-       "        this.isRunning = false;\n",
-       "    }\n",
-       "\n",
-       "    // Properties\n",
-       "    public string Make\n",
-       "    {\n",
-       "        get { return make; }\n",
-       "        set { make = value; }\n",
-       "    }\n",
-       "\n",
-       "    public string Model\n",
-       "    {\n",
-       "        get { return model; }\n",
-       "        set { model = value; }\n",
-       "    }\n",
-       "\n",
-       "    public int Year\n",
-       "    {\n",
-       "        get { return year; }\n",
-       "        set { year = value; }\n",
-       "    }\n",
-       "\n",
-       "    public float EngineSize\n",
-       "    {\n",
-       "        get { return engineSize; }\n",
-       "        set { engineSize = value; }\n",
-       "    }\n",
-       "\n",
-       "    public bool IsRunning\n",
-       "    {\n",
-       "        get { return isRunning; }\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public virtual void Start()\n",
-       "    {\n",
-       "        isRunning = true;\n",
-       "        Console.WriteLine("The {0} {1} has started.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public virtual void Stop()\n",
-       "    {\n",
-       "        isRunning = false;\n",
-       "        Console.WriteLine("The {0} {1} has stopped.", make, model);\n",
-       "    }\n",
-       "\n",
-       "    public abstract void Accelerate();\n",
-       "\n",
-       "    public abstract void Brake();\n",
-       "}\n",
-       "\n",
-       "public class SportBike : Motorbike\n",
-       "{\n",
-       "    // Constructor\n",
-       "    public SportBike(string make, string model, int year, float engineSize) : base(make, model, year, engineSize)\n",
-       "    {\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public override void Accelerate()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is accelerating quickly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "\n",
-       "    public override void Brake()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is braking quickly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "}\n",
-       "\n",
-       "public class Cruiser : Motorbike\n",
-       "{\n",
-       "    // Constructor\n",
-       "    public Cruiser(string make, string model, int year, float engineSize) : base(make, model, year, engineSize)\n",
-       "    {\n",
-       "    }\n",
-       "\n",
-       "    // Methods\n",
-       "    public override void Accelerate()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is accelerating smoothly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "\n",
-       "    public override void Brake()\n",
-       "    {\n",
-       "        if (isRunning)\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is braking smoothly.", make, model);\n",
-       "        }\n",
-       "        else\n",
-       "        {\n",
-       "            Console.WriteLine("The {0} {1} is not running.", make, model);\n",
-       "        }\n",
-       "    }\n",
-       "}\n",
-       "\n",
-       "public interface IMotorbike\n",
-       "{\n",
-       "    void Start();\n",
-       "    void Stop();\n",
-       "    void Accelerate();\n",
-       "    void Brake();\n",
-       "}\n",
-       "```\n",
-       "\n",
-       "In this example, the `Motorbike` class is an abstract base class that defines the common fields and methods for all types of motorbikes. The `SportBike` and `Cruiser` classes are derived classes that inherit from the `Motorbike` class and implement the `Accelerate` and `Brake` methods in their own specific ways. \n",
-       "\n",
-       "Additionally, an `IMotorbike` interface is defined to provide a common set of methods that all motorbikes must implement. This allows for greater flexibility and modularity in the code, as any class that implements the `IMotorbike` interface can be treated as a motorbike, regardless of its specific type. ]
1
{ CenstroidEmbedding = System.Single[], Text = System.String[] }
CenstroidEmbedding
[ -0.019690322, 0.0074574924, 0.0125079015, -0.03223809, -0.013383181, 0.014590225, -0.0023842067, -0.011381577, -0.01262123, -0.037007995, -0.009087111, 0.015590968, 0.0020191246, 0.015170503, -0.010306402, 0.023493309, 0.02167419, 0.016822029, 0.02860094, -0.024521086 ... (1516 more) ]
Text
[ What is the mest way to model embeddings in a relational database?, What is the mest way to model embeddings in a relational database?, There are several ways to model embeddings in a relational database, but one of the most common approaches is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n",
-       "\n",
-       "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n",
-       "\n",
-       "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set., There are several ways to model embeddings in a relational database, but one common approach is to use a table with columns for each dimension of the embedding. For example, if the embedding has 100 dimensions, the table would have 100 columns. Each row in the table would represent an entity or object that has an embedding, and the values in the columns would represent the values of the embedding dimensions for that entity.\n",
-       "\n",
-       "Another approach is to use a separate table for each dimension of the embedding, with each table containing a single column for the values of that dimension. This approach can be more flexible and scalable, as it allows for adding or removing dimensions without having to modify the main table. However, it can also be more complex to query and join the data from multiple tables.\n",
-       "\n",
-       "Ultimately, the best way to model embeddings in a relational database depends on the specific requirements and constraints of the application, as well as the size and complexity of the embeddings and the data set. ]
2
{ CenstroidEmbedding = System.Single[], Text = System.String[] }
CenstroidEmbedding
[ 0.019309083, -0.019269338, 0.011363486, -0.03139314, -0.020371001, 0.019811884, -0.031179953, -0.022803467, 0.0018026272, -0.012925929, 0.009142992, 0.0033195533, -0.008282289, 0.012882266, -0.016962307, 0.012483177, 0.030233376, 0.007203494, 0.005841951, 0.0005095892 ... (1516 more) ]
Text
[ What is the most common modal scale in heavy metal music?, How do I setup my amplifier to play heavy metal guitar riffs?, The most common modal scale in heavy metal music is the Phrygian mode. ]
3
{ CenstroidEmbedding = System.Single[], Text = System.String[] }
CenstroidEmbedding
[ 0.025924776, 0.009006391, -0.0034855865, 0.0031638218, -0.013990513, 0.001340036, -0.03153697, -0.015431978, -0.013966864, -0.03650188, 0.0111081395, 0.016827773, -0.020932883, -0.009962637, -0.01634736, 0.019313686, 0.03336887, 0.020132894, 0.021527618, -0.01802596 ... (1516 more) ]
Text
[ How do I cook a fish?, As an AI language model, I don't eat or cook food, but here are some general steps to cook a fish:\n",
-       "\n",
-       "1. Clean the fish thoroughly, removing scales, guts, and other unwanted parts.\n",
-       "2. Season the fish with salt, pepper, and any other desired spices or herbs.\n",
-       "3. Heat a pan or grill to medium-high heat.\n",
-       "4. Add oil or butter to the pan or grill.\n",
-       "5. Place the fish on the pan or grill, skin-side down if applicable.\n",
-       "6. Cook the fish for 3-5 minutes on each side, or until the flesh is opaque and flakes easily with a fork.\n",
-       "7. Serve the fish with your desired sides and garnishes. ]
4
{ CenstroidEmbedding = System.Single[], Text = System.String[] }
CenstroidEmbedding
[ -0.004719562, -0.016547356, -0.012674535, -0.018823992, -0.0060666567, 0.03347228, -0.009583241, -0.036992565, -0.02607778, -0.0056306776, 0.0031455639, -0.005547706, 0.0018215985, 0.005364747, -0.0014557588, 0.008105663, 0.018891498, 0.01604237, 0.0009886855, -0.015773943 ... (1516 more) ]
Text
[ How do I setup my amplifier to play heavy metal guitar riffs?, What is the most common modal scale in heavy metal music?, To set up your amplifier to play heavy metal guitar riffs, follow these steps:\n",
-       "\n",
-       "1. Start by selecting a high-gain channel on your amplifier. This will give you the distortion and overdrive necessary for heavy metal riffs.\n",
-       "\n",
-       "2. Adjust the gain knob to your desired level. For heavy metal, you'll want a high gain setting to get that crunchy, distorted sound.\n",
-       "\n",
-       "3. Adjust the bass, mid, and treble knobs to your liking. For heavy metal, you'll typically want to boost the bass and treble while cutting the mids to get a more aggressive sound.\n",
-       "\n",
-       "4. If your amplifier has a presence knob, adjust it to add more clarity and definition to your sound.\n",
-       "\n",
-       "5. Experiment with the volume and master volume knobs to find the right balance between volume and distortion.\n",
-       "\n",
-       "6. Finally, consider adding some effects like delay, reverb, or chorus to enhance your sound and add depth to your riffs.\n",
-       "\n",
-       "Remember, the settings that work best for heavy metal guitar riffs will depend on your personal preferences and the specific equipment you're using. Don't be afraid to experiment and try different settings until you find the sound that works best for you. ]
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "examples.Display();" ] @@ -1819,7 +589,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1835,7 +605,7 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1882,7 +652,7 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -1891,48 +661,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
indexvalue
0
CentroidLabel { Label = Topic: Programming, Embedding = System.Single[] }
Label
Topic: Programming
Embedding
[ -0.0045551048, 0.006455068, -0.004881875, -0.02412982, -0.018067542, 0.0007876146, -0.004960471, -0.0052060722, -0.010661278, -0.043034513, 0.0052415035, 0.021151206, -0.003764674, -0.002854415, -0.0026767273, 0.01568986, 0.025198301, -0.0018648285, 0.012310172, -0.001751964 ... (1516 more) ]
1
CentroidLabel { Label = Topic: Database modeling, Embedding = System.Single[] }
Label
Topic: Database modeling
Embedding
[ -0.019690322, 0.0074574924, 0.0125079015, -0.03223809, -0.013383181, 0.014590225, -0.0023842067, -0.011381577, -0.01262123, -0.037007995, -0.009087111, 0.015590968, 0.0020191246, 0.015170503, -0.010306402, 0.023493309, 0.02167419, 0.016822029, 0.02860094, -0.024521086 ... (1516 more) ]
2
CentroidLabel { Label = Topic: Heavy Metal Music, Embedding = System.Single[] }
Label
Topic: Heavy Metal Music
Embedding
[ 0.019309083, -0.019269338, 0.011363486, -0.03139314, -0.020371001, 0.019811884, -0.031179953, -0.022803467, 0.0018026272, -0.012925929, 0.009142992, 0.0033195533, -0.008282289, 0.012882266, -0.016962307, 0.012483177, 0.030233376, 0.007203494, 0.005841951, 0.0005095892 ... (1516 more) ]
3
CentroidLabel { Label = Topic: Cooking, Embedding = System.Single[] }
Label
Topic: Cooking
Embedding
[ 0.025924776, 0.009006391, -0.0034855865, 0.0031638218, -0.013990513, 0.001340036, -0.03153697, -0.015431978, -0.013966864, -0.03650188, 0.0111081395, 0.016827773, -0.020932883, -0.009962637, -0.01634736, 0.019313686, 0.03336887, 0.020132894, 0.021527618, -0.01802596 ... (1516 more) ]
4
CentroidLabel { Label = Topic: Music, Embedding = System.Single[] }
Label
Topic: Music
Embedding
[ -0.004719562, -0.016547356, -0.012674535, -0.018823992, -0.0060666567, 0.03347228, -0.009583241, -0.036992565, -0.02607778, -0.0056306776, 0.0031455639, -0.005547706, 0.0018215985, 0.005364747, -0.0014557588, 0.008105663, 0.018891498, 0.01604237, 0.0009886855, -0.015773943 ... (1516 more) ]
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "labels.Display();" ] diff --git a/samples/notebooks/ai/E2E.ipynb b/samples/notebooks/ai/E2E.ipynb new file mode 100644 index 0000000000..ecef059c33 --- /dev/null +++ b/samples/notebooks/ai/E2E.ipynb @@ -0,0 +1,558 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "e47b4373", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#r \"nuget:Microsoft.DotNet.Interactive.AspNetCore, 1.0.0-beta.23562.1\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b4bdc2e9", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!value --name key\n", + "YOUR AZURE OPEN AI KEY" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!value --name endpoint\n", + "https://your-enpoint.openai.azure.com/" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "266d1b6d", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(skill)" + }, + "polyglot_notebook": { + "kernelName": "chat(skill)" + } + }, + "outputs": [], + "source": [ + "#!function bullet_points --skill writer \n", + "Generate bullet points take aways from the following text:\n", + "{{$input}}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(text)" + }, + "polyglot_notebook": { + "kernelName": "chat(text)" + } + }, + "outputs": [], + "source": [ + "#!use-skills function.writer.bullet_points\n", + "Napoleon Bonaparte (born Napoleone Buonaparte;[a] 15 August 1769 – 5 May 1821), later known by his regnal name Napoleon I, was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution and led successful campaigns during the Revolutionary Wars. He was the de facto leader of the French Republic as First Consul from 1799 to 1804, then Emperor of the French from 1804 until 1814 and again in 1815. Napoleon's political and cultural legacy endures to this day, as a highly celebrated and controversial leader. He initiated many liberal reforms that have persisted in society, and is considered one of the greatest military commanders in history. His campaigns are still studied at military academies worldwide. Between three and six million civilians and soldiers died in what became known as the Napoleonic Wars.[2][3]\n", + "\n", + "Napoleon was born on the island of Corsica, not long after its annexation by France, to a native family descending from minor Italian nobility.[4][5] He supported the French Revolution in 1789 while serving in the French army, and tried to spread its ideals to his native Corsica. He rose rapidly in the Army after he saved the governing French Directory by firing on royalist insurgents. In 1796, he began a military campaign against the Austrians and their Italian allies, scoring decisive victories and becoming a national hero. Two years later, he led a military expedition to Egypt that served as a springboard to political power. He engineered a coup in November 1799 and became First Consul of the Republic.\n", + "\n", + "Differences with the United Kingdom meant France faced the War of the Third Coalition by 1805. Napoleon shattered this coalition with victories in the Ulm campaign, and at the Battle of Austerlitz, which led to the dissolution of the Holy Roman Empire. In 1806, the Fourth Coalition took up arms against him. Napoleon defeated Prussia at the battles of Jena and Auerstedt, marched the Grande Armée into Eastern Europe, and defeated the Russians in June 1807 at Friedland, forcing the defeated nations of the Fourth Coalition to accept the Treaties of Tilsit. Two years later, the Austrians challenged the French again during the War of the Fifth Coalition, but Napoleon solidified his grip over Europe after triumphing at the Battle of Wagram.\n", + "\n", + "Hoping to extend the Continental System, his embargo against Britain, Napoleon invaded the Iberian Peninsula and declared his brother Joseph the King of Spain in 1808. The Spanish and the Portuguese revolted in the Peninsular War aided by a British army, culminating in defeat for Napoleon's marshals. Napoleon launched an invasion of Russia in the summer of 1812. The resulting campaign witnessed the catastrophic retreat of Napoleon's Grande Armée. In 1813, Prussia and Austria joined Russian forces in a Sixth Coalition against France, resulting in a large coalition army defeating Napoleon at the Battle of Leipzig. The coalition invaded France and captured Paris, forcing Napoleon to abdicate in April 1814. He was exiled to the island of Elba, between Corsica and Italy. In France, the Bourbons were restored to power.\n", + "\n", + "Napoleon escaped in February 1815 and took control of France.[6] The Allies responded by forming a Seventh Coalition, which defeated Napoleon at the Battle of Waterloo in June 1815. The British exiled him to the remote island of Saint Helena in the Atlantic, where he died in 1821 at the age of 51.\n", + "\n", + "Napoleon had an extensive impact on the modern world, bringing liberal reforms to the lands he conquered, especially the regions of the Low Countries, Switzerland and parts of modern Italy and Germany. He implemented many liberal policies in France and Western Europe.[b]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(skill)" + }, + "polyglot_notebook": { + "kernelName": "chat(skill)" + } + }, + "outputs": [], + "source": [ + "#!function answer --skill writer \n", + "answer the following question in a few sentences:\n", + "{{$input}}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(text)" + }, + "polyglot_notebook": { + "kernelName": "chat(text)" + } + }, + "outputs": [], + "source": [ + "#!use-skills function.writer.answer\n", + "What is the divine comedy about?" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(text)" + }, + "polyglot_notebook": { + "kernelName": "chat(text)" + } + }, + "outputs": [], + "source": [ + "#!use-skills function.writer.answer function.writer.bullet_points\n", + "What is the divine comedy about?" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "3b2153aa", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "using Microsoft.DotNet.Interactive;\n", + "using Microsoft.DotNet.Interactive.Commands;\n", + "using Microsoft.DotNet.Interactive.Events;\n", + "using Microsoft.DotNet.Interactive.AI;\n", + "\n", + "var kernel = Kernel.Root.FindKernels(k => k is TextCompletionKernel).Single(k => k.Name.StartsWith(\"chat(text)\"));\n", + "\n", + "public async Task AskQuestion(string question){\n", + " var result = await kernel.SendAsync(new SubmitCode($\"\"\"\n", + " #!use-skills function.writer.answer function.writer.bullet_points\n", + " {question}\n", + "\"\"\"));\n", + " var response = result.Events.OfType().Last();\n", + " var text = response.FormattedValues.Single(fv => fv.MimeType == \"text/plain\").Value;\n", + " return text;\n", + "}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4ffbafce", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + " var answer = await AskQuestion(\"Where was Napoleon born?\");\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8ddd02a2", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!aspnet\n", + "using System.IO;\n", + "using System.Text.Json;\n", + "using Microsoft.DotNet.Interactive;\n", + "using Microsoft.DotNet.Interactive.Commands;\n", + "using Microsoft.DotNet.Interactive.Events;\n", + "using Microsoft.DotNet.Interactive.AI;\n", + "\n", + "public record Question(string question);\n", + "\n", + "Endpoints.MapPost(\"/askquestion\", async context =>\n", + "{\n", + " var data = await new StreamReader(context.Request.Body).ReadToEndAsync();\n", + " try{\n", + " var question = System.Text.Json.JsonSerializer.Deserialize(data);\n", + " var response = await AskQuestion(question.question);\n", + " await context.Response.WriteAsync(response);\n", + " }catch(Exception ex){\n", + " await context.Response.WriteAsync(ex.ToString());\n", + " } \n", + "});" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a38e0e99", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!aspnet-stop" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "599f9311", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "var uri = HttpClient.BaseAddress;" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c1ad38e1", + "metadata": { + "dotnet_interactive": { + "language": "javascript" + }, + "polyglot_notebook": { + "kernelName": "javascript" + } + }, + "outputs": [], + "source": [ + "#!set --value @csharp:uri --name uri" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d520646f", + "metadata": { + "dotnet_interactive": { + "language": "html" + }, + "polyglot_notebook": { + "kernelName": "html" + } + }, + "outputs": [], + "source": [ + "
replace me
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "58d20f94", + "metadata": { + "dotnet_interactive": { + "language": "javascript" + }, + "polyglot_notebook": { + "kernelName": "javascript" + } + }, + "outputs": [], + "source": [ + "\n", + "fetch(`${uri}/askquestion`, {\n", + " method: \"post\",\n", + " headers: {\n", + " 'Accept': 'text/plain',\n", + " 'Content-Type': 'application/json',\n", + " 'Access-Control-Allow-Origin': '*'\n", + " },\n", + " body: JSON.stringify({\n", + " question: 'what did napoleon bonaparte do in military life?'\n", + " })\n", + " })\n", + " .then(response => response.text())\n", + " .then(text => document.getElementById(\"target_for_question\").innerHTML = text);\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "3f958921", + "metadata": { + "dotnet_interactive": { + "language": "html" + }, + "polyglot_notebook": { + "kernelName": "html" + } + }, + "outputs": [], + "source": [ + "
\n", + " \n", + " \n", + "
replace me
\n", + "
\n", + "" + ] + } + ], + "metadata": { + "kernelInfo": { + "defaultKernelName": null, + "items": [ + { + "aliases": [ + "c#", + "cs" + ], + "languageName": "C#", + "name": "csharp" + }, + { + "aliases": [ + "f#", + "fs" + ], + "languageName": "F#", + "name": "fsharp" + }, + { + "languageName": "HTML", + "name": "html" + }, + { + "languageName": "HTTP", + "name": "http" + }, + { + "aliases": [ + "js" + ], + "languageName": "JavaScript", + "name": "javascript" + }, + { + "languageName": "KQL", + "name": "kql" + }, + { + "languageName": "Mermaid", + "name": "mermaid" + }, + { + "aliases": [ + "powershell" + ], + "languageName": "PowerShell", + "name": "pwsh" + }, + { + "languageName": "SQL", + "name": "sql" + }, + { + "name": "value" + } + ] + }, + "kernelspec": { + "display_name": ".NET (C#)", + "language": "C#", + "name": ".net-csharp" + }, + "language_info": { + "name": "polyglot-notebook" + }, + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "languageName": "text", + "name": "chat" + }, + { + "aliases": [], + "languageName": "semantic-kernel.skprompt", + "name": "chat(skill)" + }, + { + "aliases": [], + "languageName": "text", + "name": "chat(text)" + }, + { + "aliases": [], + "name": "csharp" + }, + { + "aliases": [], + "languageName": "text", + "name": "knowledge" + }, + { + "aliases": [], + "languageName": "SQL", + "name": "knowledge(duckDbVectorRAW)" + }, + { + "aliases": [], + "languageName": "text", + "name": "openai-old(image)" + }, + { + "aliases": [], + "languageName": "semantic-kernel.skprompt", + "name": "openaicode(skill)" + }, + { + "aliases": [], + "languageName": "text", + "name": "openaicode(text)" + }, + { + "aliases": [], + "languageName": "text", + "name": "textCompletion" + }, + { + "aliases": [], + "languageName": "semantic-kernel.skprompt", + "name": "textCompletion(skill)" + } + ] + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/samples/notebooks/ai/Explain code using Mermaid diagram.ipynb b/samples/notebooks/ai/Explain code using Mermaid diagram.ipynb new file mode 100644 index 0000000000..728b79eb91 --- /dev/null +++ b/samples/notebooks/ai/Explain code using Mermaid diagram.ipynb @@ -0,0 +1,500 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "98c1187e", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!value --name key\n", + "YOUR AZURE OPEN AI KEY" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!value --name endpoint\n", + "https://your-enpoint.openai.azure.com/" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "68b78a72", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "28f3e8ea", + "metadata": {}, + "source": [ + "# `#!graph` command" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "9638ca7d", + "metadata": {}, + "source": [ + "## define prompt template" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(skill)" + }, + "polyglot_notebook": { + "kernelName": "chat(skill)" + } + }, + "outputs": [], + "source": [ + "#!function generate_sequence_diagram --skill explain_code --description \"generate mermaid sequence diagram from code\"\n", + "[BEGIN TEXT]\n", + "{{$input}}\n", + "[END TEXT]\n", + "write mermaid sequence diagram markdown for the code above. remove all code fence markers" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "c2f687ff", + "metadata": {}, + "source": [ + "## test it " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "chat(text)" + }, + "polyglot_notebook": { + "kernelName": "chat(text)" + } + }, + "outputs": [], + "source": [ + "#!use-skills function.explain_code.generate_sequence_diagram\n", + "\n", + "public static int Fibonacci(int n)\n", + "{\n", + " if (n <= 1)\n", + " {\n", + " return n;\n", + " }\n", + " else\n", + " {\n", + " return Fibonacci(n - 1) + Fibonacci(n - 2);\n", + " }\n", + "}\n", + "\n" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "e8291f02", + "metadata": {}, + "source": [ + "## integrate in `smart app`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "610602f2", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "using Microsoft.DotNet.Interactive;\n", + "using Microsoft.DotNet.Interactive.Events;\n", + "using Microsoft.DotNet.Interactive.Commands;\n", + "using Microsoft.DotNet.Interactive.AI;\n", + "using Microsoft.DotNet.Interactive.Mermaid;\n", + "using System.CommandLine;\n", + "\n", + "var graphCommand = new Command(\"#!graph\");\n", + "var textCompletionKernel = Kernel.Root.FindKernels(k => k is TextCompletionKernel).Single(t => t.Name == \"chat(text)\");\n", + "var mermaidKernel = Kernel.Root.FindKernels(k => k is MermaidKernel).Single();\n", + "IEnumerable evts = null;\n", + "\n", + "\n", + "Kernel.Root.AddDirective(graphCommand);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "evts.Display();" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "var returnValueProduced = evts?\n", + " .OfType()\n", + " .FirstOrDefault(e => e.Command.TargetKernelName == textCompletionKernel.Name);\n", + "\n", + " var markdown = returnValueProduced?\n", + " .FormattedValues\n", + " .OfType()\n", + " .Single(fm => fm.MimeType == \"text/plain\")\n", + " .Value\n", + " .ToString() ?? string.Empty;\n", + "\n", + "returnValueProduced.Display();" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "public async Task GenerateDiagram(string code, KernelCommand root = null){\n", + " textCompletionKernel.SetSuppressDisplay(true);\n", + " List events = new();\n", + " var prompt = $\"\"\"\n", + " #!use-skills function.explain_code.generate_sequence_diagram\n", + "\n", + " {code} \n", + " \n", + " \"\"\";\n", + " evts = events;\n", + " var sub = Kernel.Root.KernelEvents.Subscribe(e => events.Add(e));\n", + " var createMermaidMarkdownCommand = new SubmitCode(prompt, textCompletionKernel.Name);\n", + " if(root != null)\n", + " createMermaidMarkdownCommand.SetParent(root);\n", + " \n", + " await textCompletionKernel.SendAsync(createMermaidMarkdownCommand);\n", + " \n", + " sub.Dispose();\n", + " textCompletionKernel.SetSuppressDisplay(false);\n", + " var returnValueProduced = events\n", + " .OfType()\n", + " .FirstOrDefault(e => e.Command.TargetKernelName == textCompletionKernel.Name);\n", + "\n", + " var markdown = returnValueProduced?\n", + " .FormattedValues\n", + " .OfType()\n", + " .Single(fm => fm.MimeType == \"text/plain\")\n", + " .Value\n", + " .ToString() ?? string.Empty;\n", + " \n", + " markdown = markdown.Replace(\"```mermaid\", string.Empty).Replace(\"```\", string.Empty);\n", + " var renderMermaidMarkdownCommand = new SubmitCode(markdown, mermaidKernel.Name);\n", + " if(root != null)\n", + " renderMermaidMarkdownCommand.SetParent(root);\n", + " \n", + " await mermaidKernel.SendAsync(renderMermaidMarkdownCommand);\n", + "}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "await GenerateDiagram(\n", + "\"\"\"\n", + "public static int Fibonacci(int n)\n", + "{\n", + " if (n <= 1)\n", + " {\n", + " return n;\n", + " }\n", + " else\n", + " {\n", + " return Fibonacci(n - 1) + Fibonacci(n - 2);\n", + " }\n", + "}\n", + "\"\"\", KernelInvocationContext.Current.Command);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "graphCommand.SetHandler(async _ =>\n", + "{\n", + " var context = KernelInvocationContext.Current;\n", + " if (context.Command is SubmitCode submitCode)\n", + " { \n", + " var code = submitCode.Code.Replace(\"#!graph\", string.Empty);\n", + " await GenerateDiagram(code,context.Command);\n", + " context.Complete(submitCode);\n", + " }\n", + "});" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "6c869146", + "metadata": {}, + "source": [ + "## try the app experience" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1c7fcf1c", + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!graph\n", + "public static int Fibonacci(int n)\n", + "{\n", + " if (n <= 1)\n", + " {\n", + " return n;\n", + " }\n", + " else\n", + " {\n", + " return Fibonacci(n - 1) + Fibonacci(n - 2);\n", + " }\n", + "}\n" + ] + } + ], + "metadata": { + "kernelInfo": { + "defaultKernelName": null, + "items": [ + { + "aliases": [ + "c#", + "cs" + ], + "languageName": "C#", + "name": "csharp" + }, + { + "aliases": [ + "f#", + "fs" + ], + "languageName": "F#", + "name": "fsharp" + }, + { + "languageName": "HTML", + "name": "html" + }, + { + "languageName": "HTTP", + "name": "http" + }, + { + "aliases": [ + "js" + ], + "languageName": "JavaScript", + "name": "javascript" + }, + { + "languageName": "KQL", + "name": "kql" + }, + { + "languageName": "Mermaid", + "name": "mermaid" + }, + { + "aliases": [ + "powershell" + ], + "languageName": "PowerShell", + "name": "pwsh" + }, + { + "languageName": "SQL", + "name": "sql" + }, + { + "name": "value" + } + ] + }, + "kernelspec": { + "display_name": ".NET (C#)", + "language": "C#", + "name": ".net-csharp" + }, + "language_info": { + "name": "polyglot-notebook" + }, + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "languageName": "text", + "name": "chat" + }, + { + "aliases": [], + "languageName": "text", + "name": "codeai(image)" + }, + { + "aliases": [], + "name": "csharp" + }, + { + "aliases": [], + "languageName": "text", + "name": "knowledge" + }, + { + "aliases": [], + "languageName": "SQL", + "name": "knowledge(duckDbVectorRAW)" + }, + { + "aliases": [], + "languageName": "text", + "name": "textCompletion" + }, + { + "aliases": [], + "languageName": "semantic-kernel.skprompt", + "name": "textCompletion(skill)" + } + ] + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/samples/notebooks/ai/Explain code using mermaid kernel and LLM.ipynb b/samples/notebooks/ai/Explain code using mermaid kernel and LLM.ipynb deleted file mode 100644 index 05fa5b7d2c..0000000000 --- a/samples/notebooks/ai/Explain code using mermaid kernel and LLM.ipynb +++ /dev/null @@ -1,628 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.5
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\duckdb.interactiveextension\\1.0.108\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
Query DuckDB databases.\r\n", - "

This extension adds support for connecting to DuckDB databases using the #!connect duckdb magic command. ADO.NET support via DuckDB.NET project

\r\n", - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23468.5\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Added magic commands\r\n", - " - `#!connect azure-openai`\r\n", - " - `#!connect openai`\r\n", - " - `#!connect huggingface`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name key\n", - "YOUR AZURE OPEN AI KEY" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name endpoint\n", - "https://your-enpoint.openai.azure.com/" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "68b78a72", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "28f3e8ea", - "metadata": {}, - "source": [ - "# `#!graph` command" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "9638ca7d", - "metadata": {}, - "source": [ - "## define prompt template" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion(skill)" - }, - "polyglot_notebook": { - "kernelName": "textCompletion(skill)" - } - }, - "outputs": [], - "source": [ - "#!function generate_sequence_diagram --skill explain_code --description \"generate mermaid sequence diagram from code\"\n", - "[BEGIN TEXT]\n", - "{{$input}}\n", - "[END TEXT]\n", - "write mermaid sequence diagram markdown for the code above. remove all code fence markers" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "c2f687ff", - "metadata": {}, - "source": [ - "## test it " - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
sequenceDiagram\\n participant A as Fibonacci(n)\\n participant B as Fibonacci(n-1)\\n participant C as Fibonacci(n-2)\\n A->>B: n-1\\n A->>C: n-2\\n B->>A: Fibonacci(n-1)\\n C->>A: Fibonacci(n-2)\\n A->>A: Fibonacci(n)
Result
\n",
-       "\n",
-       "sequenceDiagram\n",
-       "    participant A as Fibonacci(n)\n",
-       "    participant B as Fibonacci(n-1)\n",
-       "    participant C as Fibonacci(n-2)\n",
-       "    A->>B: n-1\n",
-       "    A->>C: n-2\n",
-       "    B->>A: Fibonacci(n-1)\n",
-       "    C->>A: Fibonacci(n-2)\n",
-       "    A->>A: Fibonacci(n)
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "sequenceDiagram\n",
-       "    participant A as Fibonacci(n)\n",
-       "    participant B as Fibonacci(n-1)\n",
-       "    participant C as Fibonacci(n-2)\n",
-       "    A->>B: n-1\n",
-       "    A->>C: n-2\n",
-       "    B->>A: Fibonacci(n-1)\n",
-       "    C->>A: Fibonacci(n-2)\n",
-       "    A->>A: Fibonacci(n)
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3316
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method330(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717841910456
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717841910456
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717841910456
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method330(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "sequenceDiagram\n", - " participant A as Fibonacci(n)\n", - " participant B as Fibonacci(n-1)\n", - " participant C as Fibonacci(n-2)\n", - " A->>B: n-1\n", - " A->>C: n-2\n", - " B->>A: Fibonacci(n-1)\n", - " C->>A: Fibonacci(n-2)\n", - " A->>A: Fibonacci(n)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!use-skills function.explain_code.generate_sequence_diagram\n", - "\n", - "public static int Fibonacci(int n)\n", - "{\n", - " if (n <= 1)\n", - " {\n", - " return n;\n", - " }\n", - " else\n", - " {\n", - " return Fibonacci(n - 1) + Fibonacci(n - 2);\n", - " }\n", - "}\n", - "\n" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "e8291f02", - "metadata": {}, - "source": [ - "## integrate in `smart app`" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "610602f2", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "using Microsoft.DotNet.Interactive;\n", - "using Microsoft.DotNet.Interactive.Events;\n", - "using Microsoft.DotNet.Interactive.Commands;\n", - "using Microsoft.DotNet.Interactive.AI;\n", - "using Microsoft.DotNet.Interactive.Mermaid;\n", - "using System.CommandLine;\n", - "\n", - "var explainMagicCommand = new Command(\"#!graph\");\n", - "var textCompletionKernel = Kernel.Root.FindKernels(k => k is TextCompletionKernel).Single(t => t.Name == \"textCompletion\");\n", - "var mermaidKernel = Kernel.Root.FindKernels(k => k is MermaidKernel).Single();\n", - "Kernel.Root.AddDirective(explainMagicCommand);" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "explainMagicCommand.SetHandler(async _ =>\n", - "{\n", - " var context = KernelInvocationContext.Current;\n", - " if (context.Command is SubmitCode submitCode)\n", - " { \n", - "\n", - " textCompletionKernel.SetSuppressDisplay(true);\n", - " List events = new();\n", - " var prompt = $\"\"\"\n", - " #!use-skills function.explain_code.generate_sequence_diagram\n", - "\n", - " {submitCode.Code.Replace(\"#!graph\", \"\")} \n", - " \n", - " \"\"\";\n", - " var sub = Kernel.Root.KernelEvents.Subscribe(e => events.Add(e));\n", - " var results = await textCompletionKernel.SendAsync(new SubmitCode(prompt, textCompletionKernel.Name));\n", - " \n", - " sub.Dispose();\n", - " textCompletionKernel.SetSuppressDisplay(false);\n", - " var returnValueProduced = events\n", - " .OfType()\n", - " .FirstOrDefault(e => e.Command.TargetKernelName == textCompletionKernel.Name);\n", - "\n", - " var markdown = returnValueProduced?\n", - " .FormattedValues\n", - " .OfType()\n", - " .Single(fm => fm.MimeType == \"text/plain\")\n", - " .Value\n", - " .ToString() ?? string.Empty;\n", - "\n", - " // send to mermaid kernel for imemdiate display\n", - " await mermaidKernel.SendAsync(new SubmitCode(markdown.Replace(\"```mermaid\", string.Empty).Replace(\"```\", string.Empty)));\n", - "\n", - " context.Complete(submitCode);\n", - " }\n", - "});" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "6c869146", - "metadata": {}, - "source": [ - "## try the app experience" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "1c7fcf1c", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
\r\n", - "\r\n", - "
\r\n", - "\r\n", - "
\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!graph\n", - "public static int Fibonacci(int n)\n", - "{\n", - " if (n <= 1)\n", - " {\n", - " return n;\n", - " }\n", - " else\n", - " {\n", - " return Fibonacci(n - 1) + Fibonacci(n - 2);\n", - " }\n", - "}\n" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "945e3a84", - "metadata": {}, - "source": [ - "## export the code" - ] - } - ], - "metadata": { - "kernelInfo": { - "defaultKernelName": null, - "items": [ - { - "aliases": [ - "c#", - "cs" - ], - "languageName": "C#", - "name": "csharp" - }, - { - "aliases": [ - "f#", - "fs" - ], - "languageName": "F#", - "name": "fsharp" - }, - { - "languageName": "HTML", - "name": "html" - }, - { - "languageName": "HTTP", - "name": "http" - }, - { - "aliases": [ - "js" - ], - "languageName": "JavaScript", - "name": "javascript" - }, - { - "languageName": "KQL", - "name": "kql" - }, - { - "languageName": "Mermaid", - "name": "mermaid" - }, - { - "aliases": [ - "powershell" - ], - "languageName": "PowerShell", - "name": "pwsh" - }, - { - "languageName": "SQL", - "name": "sql" - }, - { - "name": "value" - } - ] - }, - "kernelspec": { - "display_name": ".NET (C#)", - "language": "C#", - "name": ".net-csharp" - }, - "language_info": { - "name": "polyglot-notebook" - }, - "polyglot_notebook": { - "kernelInfo": { - "defaultKernelName": "csharp", - "items": [ - { - "aliases": [], - "languageName": "text", - "name": "chat" - }, - { - "aliases": [], - "languageName": "text", - "name": "codeai(image)" - }, - { - "aliases": [], - "name": "csharp" - }, - { - "aliases": [], - "languageName": "text", - "name": "knowledge" - }, - { - "aliases": [], - "languageName": "SQL", - "name": "knowledge(duckDbVectorRAW)" - }, - { - "aliases": [], - "languageName": "text", - "name": "textCompletion" - }, - { - "aliases": [], - "languageName": "semantic-kernel.skprompt", - "name": "textCompletion(skill)" - } - ] - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/samples/notebooks/ai/Getting started.ipynb b/samples/notebooks/ai/Getting started.ipynb index 29c01dc5a5..ab8ff5dc1a 100644 --- a/samples/notebooks/ai/Getting started.ipynb +++ b/samples/notebooks/ai/Getting started.ipynb @@ -108,18 +108,9 @@ "- Your Azure OpenAI Embedding model name (i.e. text-embedding-ada-002)." ] }, - { - "attachments": {}, - "cell_type": "markdown", - "id": "8a82da11", - "metadata": {}, - "source": [ - "### Add NuGet package source" - ] - }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -136,7 +127,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -162,7 +153,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -171,69 +162,9 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Restore sources
  • https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.2
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23468.2\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Added magic commands \r\n", - ". `#!connect azure-openai`\r\n", - ". `#!connect openai`.\r\n", - ". `#!connect huggingface`." - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\duckdb.interactiveextension\\1.0.108\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
Query DuckDB databases.\r\n", - "

This extension adds support for connecting to DuckDB databases using the #!connect duckdb magic command. ADO.NET support via DuckDB.NET project

\r\n", - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" ] }, { @@ -257,7 +188,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -266,82 +197,11 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" ] }, - { - "cell_type": "markdown", - "id": "63d36ff7", - "metadata": {}, - "source": [ - "if you want connect the TextCompletion model (for example ` text-davinci-003`) to create a `TextCompletion` kernel. it will be called `textCompletion`. This also create a `Skill` kernel named `textCompletion(skill)` and using the option `--use-knowledge knowledge` we are conencting the `textCompletion` with the `Knowledge` kernel `knowledge`. This will use relevants facts stored in the knowledge to augmente the prompts (this atchitecture is called (RAG)[https://learn.microsoft.com/en-us/azure/machine-learning/concept-retrieval-augmented-generation?view=azureml-api-2])." - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" - ] - }, { "cell_type": "markdown", "id": "71fe1f7f", @@ -354,7 +214,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -363,37 +223,9 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!chat(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat(text)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gtp-35-turbo --use-knowledge knowledge" + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" ] }, { @@ -406,7 +238,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -415,17 +247,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!image" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type ImageGenerator --kernel-name image --api-key @value:key --endpoint @value:endpoint --deployment DALL-E" ] @@ -446,10 +268,10 @@ "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "openai(text)" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "openai(text)" + "kernelName": "chat(text)" } }, "outputs": [], @@ -481,13 +303,13 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -514,10 +336,10 @@ "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, "outputs": [], @@ -538,10 +360,10 @@ "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, "outputs": [], @@ -653,7 +475,42 @@ "language_info": { "name": "polyglot-notebook" }, - "polyglot_notebook": {} + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "languageName": "text", + "name": "chat" + }, + { + "aliases": [], + "languageName": "text", + "name": "chat(text)" + }, + { + "aliases": [], + "name": "csharp" + }, + { + "aliases": [], + "languageName": "text", + "name": "image" + }, + { + "aliases": [], + "languageName": "text", + "name": "knowledge" + }, + { + "aliases": [], + "languageName": "SQL", + "name": "knowledge(duckDbVectorRAW)" + } + ] + } + } }, "nbformat": 4, "nbformat_minor": 5 diff --git a/samples/notebooks/ai/Knowledge kernel.ipynb b/samples/notebooks/ai/Knowledge kernel.ipynb index 06924d50cf..02293aebef 100644 --- a/samples/notebooks/ai/Knowledge kernel.ipynb +++ b/samples/notebooks/ai/Knowledge kernel.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "a17e3801", "metadata": { "dotnet_interactive": { @@ -12,74 +12,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.5
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\duckdb.interactiveextension\\1.0.108\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
Query DuckDB databases.\r\n", - "

This extension adds support for connecting to DuckDB databases using the #!connect duckdb magic command. ADO.NET support via DuckDB.NET project

\r\n", - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23468.5\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Added magic commands\r\n", - " - `#!connect azure-openai`\r\n", - " - `#!connect openai`\r\n", - " - `#!connect huggingface`" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" +"#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"\n" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -96,7 +36,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -113,7 +53,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "68b78a72", "metadata": { "dotnet_interactive": { @@ -123,42 +63,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -167,33 +79,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" + "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gpt-35-turbo-16k --use-knowledge knowledge" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -202,17 +95,7 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • HtmlAgilityPack, 1.11.49
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#r \"nuget: HtmlAgilityPack, 1.11.49\"" ] @@ -254,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "5277ad35", "metadata": { "dotnet_interactive": { @@ -282,7 +165,7 @@ "\n", "var knowledgeKernel = Kernel.Root.FindKernelByName(\"knowledge\") as KnowledgeKernel;\n", "\n", - "var textKernel = Kernel.Root.FindKernelByName(\"textCompletion\") as TextCompletionKernel;\n", + "var textKernel = Kernel.Root.FindKernelByName(\"chat(text)\") as TextCompletionKernel;\n", "\n", "knowledgeKernel.SetTransformation(async (text,mimeType)=>{\n", " textKernel.SetSuppressDisplay(true);\n", @@ -378,7 +261,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "knowledge" @@ -387,35 +270,7 @@ "kernelName": "knowledge" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Storing derived knowledge: \n", - "takeAway \n", - "---\n", - "It allows you to write and execute code in multiple languages such as C#, F#, PowerShell, Python, and SQL.\n", - "\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "---\n", - "\n", - "summary---\n", - "It allows users to write code in multiple languages, including C#, F#, PowerShell, and Python. It also provides a rich set of APIs for working with .NET, including the .NET Compiler Platform (“Roslyn”) and the .NET Runtime. It is designed to be used in the browser, in the terminal, or in a notebook.\n", - "\n", - ".NET Interactive is a powerful tool for developers, allowing them to write code in multiple languages and access a rich set of APIs. It supports C#, F#, PowerShell, and Python, as well as the .NET Compiler Platform and .NET Runtime. It can be used in the browser, terminal, or notebook.\n", - "---\n", - "\n", - "overView---\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "---\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!knowledge --name fact1\n", ".NET Interactive is a polyglot kernel." @@ -423,7 +278,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "knowledge" @@ -432,254 +287,7 @@ "kernelName": "knowledge" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "It is a polyglot kernel that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\n", - "\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel developed by a team of engineers at Microsoft.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is an open source project, allowing users to contribute to its development.\n", - "4. It is a powerful and versatile platform for developers to create and test code.\n", - "5. It is a great tool for developers to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is an open source project that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for developers to quickly test and debug code.\n", - "It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It provides a powerful and versatile platform for developers to create and test code.\n", - "4. It is a great tool for developers to quickly test and debug code.\n", - "5. It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for developers to quickly test and debug code.\n", - "It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is used by engineers.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is an open source project with many contributors.\n", - "It enables users to write and execute code in multiple languages.\n", - "It provides a powerful platform for developers to create and debug code.\n", - "It is a great resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is developed by an open source community.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It is a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for developers to quickly test and debug code.\n", - "It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is used by software engineers.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is an open source project with many contributors.\n", - "It enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for quickly testing and debugging code, as well as learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and is used by software engineers.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It can create rich outputs and visualizations.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is an open source project with many contributors, and it enables developers to write and execute code in multiple languages. It is a great tool for quickly testing and debugging code, and it provides an invaluable resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it can create rich outputs and visualizations.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The Polyglot Notebooks extension, powered by .NET Interactive, brings support for multi-language notebooks to Visual Studio Code.\n", - "2. It allows features such as completions, documentation, syntax highlighting, and diagnostics to be available for many languages in one notebook.\n", - "3. Different cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\n", - "4. Polyglot Notebooks are fully interoperable with Jupyter and support the .ipynb file extension.\n", - "5. If your notebook is saved in the .ipynb format, you can open it in Jupyter and the cell languages will still be recognized.\n", - "6. When working in Jupyter using the .NET Interactive kernel, you can switch cell languages using magic commands.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Take Away Points:\n", - "1. Polyglot Notebooks is an extension powered by .NET Interactive that supports multi-language notebooks in Visual Studio Code.\n", - "2. It allows features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook.\n", - "3. Cells in the same notebook can run in separate processes or on different machines.\n", - "4. Polyglot Notebooks are fully interoperable with Jupyter and support the .ipynb file extension.\n", - "5. Cells in Jupyter can be switched using magic commands.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports mermaid language, javascript, and HTML kernels.\n", - "2. These components can be used to create rich visualizations.\n", - "3. Mermaid language can be used to create diagrams and flowcharts.\n", - "4. Javascript can be used to create interactive visualizations.\n", - "5. HTML can be used to create rich visualizations.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It can create rich outputs and visualizations, as well as diagrams and flowcharts with the mermaid language, interactive visualizations with javascript, and HTML-based visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "2. This provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. With .NET Interactive, you can write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "#!knowledge --name fact2\n", @@ -717,7 +325,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "openai(knowledge)" @@ -726,2324 +334,14 @@ "kernelName": "openai(knowledge)" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-1 Take Away Points:\n", - "1. Notebooks are a type of program that allow mixing formatted text and executable code to create documents with runnable examples.\n", - "2. Notebooks are an example of literate programming.\n", - "3. Notebooks have cells which are different text regions, typically including code, markdown, and output.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "1. .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. \n", - "2. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\n", - "3. .NET Interactive supports the Jupyter protocol, providing access to the rich ecosystems of languages such as Python, R, and Julia in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about computational notebooks is that they allow mixing formatted text and executable code to create documents with runnable examples, and that they have cells which are different text regions, typically including code, markdown, and output.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Project Jupyter is a popular notebook technology used for data analysis and data science.\n", - "2. It is also used for interactive documentation, learning materials, troubleshooting guides, and self-guiding automation scripts.\n", - "3. It can capture structured or visual log output.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension bring support for multi-language notebooks to Visual Studio Code, allowing features such as completions, documentation, syntax highlighting, and diagnostics to be available for many languages in one notebook. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It is fully interoperable with Jupyter and supports the .ipynb file extension.\n", - "\n", - "Project Jupyter is a popular notebook technology used for data analysis, data science, interactive documentation, troubleshooting, and automation. .NET Interactive and the Polyglot Notebooks extension bring multi-language support to Visual Studio Code, allowing features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook. Cells can run in separate processes or on different machines, and the extension is interoperable with Jupyter and supports the .ipynb file extension.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Project Jupyter is that it is a popular notebook technology used for data analysis and data science, as well as for interactive documentation, learning materials, troubleshooting guides, and self-guiding automation scripts. It can also capture structured or visual log output.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Jupyter Notebook is a browser-based notebook UI from Project Jupyter.\n", - "2. It can edit and run notebooks using a Jupyter kernel and the .ipynb file format.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter. Cells in the same notebook can run in separate processes or on different machines, and features such as completions, documentation, syntax highlighting, and diagnostics are available for many languages. Magic commands can be used to switch cell languages in Jupyter.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Jupyter Notebook is that it is a browser-based notebook UI from Project Jupyter that can edit and run notebooks using a Jupyter kernel and the .ipynb file format.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. JupyterLab is a browser-based frontend for Jupyter kernels.\n", - "2. It is similar to Jupyter Notebook, but richer and more extensible.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. It also enables cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations. JupyterLab is a browser-based frontend for Jupyter kernels, similar to Jupyter Notebook, but more extensible.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about JupyterLab is that it is a browser-based frontend for Jupyter kernels, similar to Jupyter Notebook, but richer and more extensible.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The term \"frontend\" is used to describe the UI for a notebook editor.\n", - "2. Examples of notebook frontends include Jupyter Notebook, JupyterLab, nteract Desktop, and the Jupyter Extension for VS Code and GitHub Codespaces.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, enabling a notebook to span local and cloud environments. Additionally, .NET Interactive supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the term \"frontend\" is used to describe the UI for a notebook editor, and that there are several popular notebook frontends available, such as Jupyter Notebook, JupyterLab, nteract Desktop, and the Jupyter Extension for VS Code and GitHub Codespaces.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. A kernel is an execution engine for a notebook.\n", - "2. It is responsible for processing code and executing it.\n", - "3. Kernels are UI-agnostic and typically run in a different process from the UI.\n", - "4. They can often run on a different machine.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, allowing users to access the rich ecosystems of Python, R, and Julia. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations, and can span local and cloud environments in one combined workflow.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about kernels is that they are responsible for processing code and executing it, and that they can run in a different process from the UI and on a different machine.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive allows for multiple kernels within a single kernel process, referred to as \"subkernels\".\n", - "2. Each subkernel represents a stateful unit of computation with a set of capabilities, such as running code, sharing variables, and providing language services.\n", - "3. Multiple .NET Interactive subkernels can work together in a single notebook session, whether they share a process or are distributed across multiple machines.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is an open source project, enabling users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for quickly testing and debugging code. Subkernels can be used to run code, share variables, and provide language services in a single notebook session.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it supports multiple subkernels within a single kernel process, allowing for distributed computing across multiple machines.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. A Jupyter kernel is any kernel that implements the Jupyter Message Protocol (JMP).\n", - "2. The most commonly-used Jupyter kernel is IPython, an interactive shell for Python.\n", - "3. Project Jupyter grew from IPython.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, allowing users to access the rich ecosystems of these languages in .NET Interactive notebooks. It also has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It can span local and cloud environments in one combined workflow.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that a Jupyter kernel is any kernel that implements the Jupyter Message Protocol (JMP), and the most commonly-used Jupyter kernel is IPython, an interactive shell for Python, from which Project Jupyter grew.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is a Jupyter kernel when started in Jupyter mode.\n", - "2. It can be started using the command line `dotnet interactive jupyter`.\n", - "3. It supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "4. It provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It supports multiple languages such as C#, F#, PowerShell, Python, and SQL, and can create rich outputs and visualizations.\n", - "It also has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations.\n", - "It provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\n", - "It is a powerful tool for writing and executing code in multiple languages.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is a Jupyter kernel when started in Jupyter mode, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is a .NET tool containing a general-purpose engine for interactive programming.\n", - "2. It has a programmatic interface but no graphical user interface.\n", - "3. It supports multiple languages, including C#, F#, PowerShell, and JavaScript.\n", - "4. It can be used with various notebook frontends to provide a GUI.\n", - "5. It can be extended to support additional languages such as SQL and Python.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, create rich outputs and visualizations, and is used by software engineers. It is a powerful and versatile platform for developers to create and test code, and is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a .NET tool containing a general-purpose engine for interactive programming, it has a programmatic interface but no graphical user interface, and it supports multiple languages, including C#, F#, PowerShell, and JavaScript, as well as the ability to load support for additional languages such as SQL and Python.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is a Jupyter-compliant kernel.\n", - "2. It can be used with Project Jupyter just like any other kernel.\n", - "3. It is not opinionated about which frontend is used.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is a Jupyter-compliant kernel that can be used with Project Jupyter just like any other kernel, and it is not opinionated about which frontend is used.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The Polyglot Notebooks extension for VS Code is not required to use the .NET Interactive kernel.\n", - "2. It provides access to additional functionality not available in Jupyter frontends.\n", - "3. It allows users to switch languages (i.e. subkernels) on a per-cell basis.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Polyglot Notebooks is an extension powered by .NET Interactive that allows users to write and execute code in multiple languages in one notebook. It is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It provides access to the rich ecosystems of languages such as Python, R, and Julia in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also provides access to additional functionality not available in Jupyter frontends, such as the ability to switch languages (i.e. subkernels) on a per-cell basis.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Polyglot Notebooks is an extension for Visual Studio Code that provides a notebook frontend and related tools.\n", - "2. It is powered by .NET Interactive and supports multi-language notebooks.\n", - "3. It allows features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook.\n", - "4. Cells in the same notebook can run in separate processes or on different machines.\n", - "5. It is fully interoperable with Jupyter and supports the .ipynb file extension.\n", - "6. It can create rich outputs and visualizations.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and supports features such as completions, documentation, syntax highlighting, and diagnostics. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It is interoperable with Jupyter and supports the .ipynb file extension. It also enables rich outputs and visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Additionally, it can create rich outputs and visualizations.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Polyglot Notebooks is a notebook frontend powered by .NET Interactive that supports multi-language notebooks in Visual Studio Code.\n", - "2. It allows users to read and write notebook files, run the code in the notebook, and visualize the results.\n", - "3. It supports features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook.\n", - "4. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\n", - "5. Polyglot Notebooks are fully interoperable with Jupyter and support the .ipynb file extension.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It supports multiple languages, including C#, F#, PowerShell, Python, and SQL, and is interoperable with Jupyter. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\n", - "\n", - "Polyglot Notebooks is a powerful and versatile platform for developers to create and test code, enabling them to quickly test and debug code. It supports multiple languages, is interoperable with Jupyter, and allows cells to run in separate processes or on different machines.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Polyglot Notebooks is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Additionally, it provides features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is a kernel with an API but no user interface.\n", - "2. It processes messages sent from a frontend such as Polyglot Notebooks and sends back code execution results.\n", - "3. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\n", - "\n", - "Summary: .NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages. It is an open source project with an API and no user interface. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it has an API but no user interface, and processes messages sent from a frontend such as Polyglot Notebooks and sends back code execution results.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. A subkernel is a concept in .NET Interactive that describes one among many kernels within a single notebook session.\n", - "2. Each language available in a Polyglot Notebook corresponds to a different subkernel.\n", - "3. Subkernels can be added dynamically at runtime, for example when connecting to a data source or a kernel running in a remote process.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. Subkernels can be added dynamically at runtime, allowing users to connect to data sources or remote processes.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it supports subkernels which can be added dynamically at runtime.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. A proxy kernel is a concept in .NET Interactive that describes a subkernel that proxies a remote kernel.\n", - "2. Proxy kernels allow users to create notebooks that combine kernels running in multiple different processes or on different machines.\n", - "3. Proxy kernels can be used locally just like any other subkernel.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It can create rich outputs and visualizations, and has support for mermaid language, javascript, and HTML kernels. It also has the ability to create proxy kernels, allowing users to combine kernels running in multiple different processes or on different machines.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, and that it also supports proxy kernels, which allow users to create notebooks that combine kernels running in multiple different processes or on different machines.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The JavaScript kernel is an example of a proxy kernel.\n", - "2. The JavaScript kernel is written in TypeScript and runs in a separate process from the .NET Interactive kernel.\n", - "3. The JavaScript kernel can be called programmatically in .NET using the same APIs used to call in-process kernels such as the C# kernel.\n", - "4. The proxy kernel serves as the adapter that enables this.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It can create rich outputs and visualizations, and also supports the JavaScript kernel, which runs in a separate process and can be called programmatically in .NET. It is an open source project, allowing users to contribute to its development.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it has support for proxy kernels such as the JavaScript kernel, which is written in TypeScript and runs in a separate process from the .NET Interactive kernel. The proxy kernel serves as the adapter that enables this.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The .ipynb file extension is the standard Jupyter notebook format.\n", - "2. It is a JSON-based format that can store content and metadata for code cells, Markdown cells, and cell outputs.\n", - "3. Multiple outputs can be stored for each code cell, as long as they differ by MIME type.\n", - "4. There are many tools available for diffing, converting, and displaying .ipynb files.\n", - "5. In GitHub, .ipynb files are displayed using a notebook-style layout.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. .NET Interactive also supports the Jupyter protocol, providing access to the rich ecosystems of languages such as Python, R, and Julia.\n", - "\n", - "Summary: .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter. Cells can run in separate processes or on different machines, and .NET Interactive supports the Jupyter protocol, providing access to the rich ecosystems of languages such as Python, R, and Julia. The `.ipynb` file extension is the standard Jupyter notebook format, and can store content and metadata for code cells, Markdown cells, and cell outputs. It is displayed using a notebook-style layout in GitHub.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .ipynb files is that they are the standard Jupyter notebook format, a JSON-based format that can store content and metadata for code cells, Markdown cells, and cell outputs. It can also store multiple outputs for each code cell, as long as they differ by MIME type, and there are many tools available for diffing, converting, and displaying .ipynb files. In GitHub, .ipynb files are displayed using a notebook-style layout.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The Polyglot Notebooks extension supports the .ipynb and .dib file formats.\n", - "2. The .dib format is a scripting format that does not store outputs and can contain multiple languages delimited by kernel selector magic commands.\n", - "3. The .dib format is a plain text format, making it easier to diff without the need for special tools.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Summary: The Polyglot Notebooks extension supports both the .ipynb and .dib file formats. .dib is a scripting format that does not store outputs and can contain multiple languages. It is a plain text format, making it easier to diff without the need for special tools.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the Polyglot Notebooks extension is that it supports both the .ipynb and .dib file formats, with the .dib format being a scripting format that does not store outputs and can contain multiple languages delimited by kernel selector magic commands. It is also a plain text format, making it easier to diff without the need for special tools.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Magic commands are special code commands that can be run in a notebook cell.\n", - "2. Magic commands typically use a different syntax than the primary language supported by the kernel.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is interoperable with Jupyter and supports the .ipynb file extension, allowing users to write and execute code in multiple languages in one notebook. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Polyglot Notebooks also provide features such as completions, documentation, syntax highlighting, and diagnostics for many languages. Magic commands can be used to switch cell languages in Jupyter.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Additionally, it supports the use of magic commands, which are special code commands that can be run in a notebook cell, typically using a different syntax than the primary language supported by the kernel.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Magic commands in IPython are prefixed with `%`.\n", - "2. This is not a valid operator in common Python.\n", - "3. This allows IPython to easily identify magic commands.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Magic commands are special commands that allow users to control the environment and perform various tasks. In .NET Interactive, magic commands are used to switch cell languages, allowing users to write and execute code in multiple languages in one notebook. They are also interoperable with Jupyter and support the .ipynb file extension.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about IPython is that it uses magic commands prefixed with `%`, which is not a valid operator in common Python, allowing IPython to easily identify magic commands.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Magics in .NET Interactive are prefixed with `#!`.\n", - "2. Magics must come at the beginning of the line.\n", - "3. Multiple magics can be used in a single cell.\n", - "4. A single magic cannot span more than one line.\n", - "5. There is no distinction between a \"cell magic\" and a \"line magic\" in .NET Interactive.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. Magics are prefixed with `#!` and can be used in a single cell, but cannot span more than one line.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it uses magics prefixed with `#!` to write and execute code, and that these magics must come at the beginning of the line, multiple magics can be used in a single cell, but a single magic cannot span more than one line, and there is no distinction between a \"cell magic\" and a \"line magic\".\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. A REPL is an interactive text-based interface for incrementally creating a program.\n", - "2. REPLs can be used through a terminal or a GUI-based interface.\n", - "3. Notebooks can be considered an example of a GUI-based REPL.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages, such as Python, R, Julia, C#, F#, PowerShell, and SQL. It provides powerful tools for quickly testing and debugging code, as well as creating rich outputs and visualizations. It is a great resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that REPLs are interactive text-based interfaces for incrementally creating a program, providing it with input, and seeing its output. Notebooks can be considered an example of a GUI-based REPL.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Repl is a .NET tool that uses the .NET Interactive engine.\n", - "2. It provides a terminal-based REPL with support for combining multiple languages in one session.\n", - "3. It supports the `.ipynb` and `.dib` file formats.\n", - "4. It provides additional features, such as the ability to execute notebooks without a UI.\n", - "5. It can be used for testing notebook files or as automation scripts with built-in log capture.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project that provides a powerful and versatile platform for developers to create and test code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. It also has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Repl is that it is a .NET tool that uses the .NET Interactive engine to provide a terminal-based REPL with support for combining multiple languages in one session, and that it supports the `.ipynb` and `.dib` file formats. It also provides additional features, such as the ability to execute notebooks without a UI, allowing for testing notebook files or using them as automation scripts with built-in log capture.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is exploring the possibility of adding an experimental feature to its core product.\n", - "2. This feature could potentially be added in the future.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, as well as rich visualizations with mermaid language, javascript, and HTML kernels. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies. Additionally, it may include an experimental feature in the future.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is exploring the possibility of adding an experimental feature to its core product, which could potentially be added in the future.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The C# Interactive Window is a REPL window in Visual Studio.\n", - "2. It allows users to write and execute code using the C# Script dialect.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a powerful tool that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, directly in Visual Studio. It provides an interactive environment for users to quickly test and debug code, making development faster and easier.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the C# Interactive Window is a REPL window in Visual Studio that allows users to write and execute code using the C# Script dialect.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. C# Script is a dialect of the C# language that can be used for interactive programming and scripting.\n", - "2. It differs from common C# in a few key ways, such as its lack of support for namespaces.\n", - "3. Microsoft.CodeAnalysis.CSharp.Scripting provides .NET Interactive's default C# functionality.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a powerful tool that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is based on the C# Script dialect of the C# language and provides a library of core Roslyn Scripting functionality. It is a great tool for interactive programming and scripting, and can be used to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in C# Script, a dialect of the C# language that can be used for interactive programming and scripting, as well as other languages such as F#, PowerShell, Python, and SQL. It is powered by the Microsoft.CodeAnalysis.CSharp.Scripting library.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. F# is a language that can be used for scripting.\n", - "2. F# does not have a separate dialect like C# does.\n", - "3. The `.fsx` file format is used for scripting in F#.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports multiple languages, including C#, F#, PowerShell, Python, and SQL, which can be used to create rich visualizations. It also supports mermaid language, javascript, and HTML kernels for creating diagrams, flowcharts, interactive visualizations, and more.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that F# can be used for scripting and the `.fsx` file format is used for scripting in F#.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "It is a great tool for developers to quickly test and debug code, and is an invaluable resource for developers to learn and explore new technologies.\n", - "\n", - "-Take Away Points:\n", - "1. The F# Interactive Window is a REPL window in Visual Studio.\n", - "2. It allows users to write and execute code using the F# language.\n", - "3. It is a great tool for developers to quickly test and debug code.\n", - "4. It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, as well as create rich outputs and visualizations. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the F# Interactive Window is that it is a REPL window in Visual Studio that allows users to write and execute code using the F# language, and is a great tool for developers to quickly test and debug code. It is also an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. CSI stands for C# Interactive and refers to a command-line C# REPL, `csi.exe`, powered by Roslyn Scripting.\n", - "2. It is not directly used by .NET Interactive.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a tool that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, from a command-line interface. It is powered by Roslyn Scripting and provides an interactive experience for developers.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that CSI stands for C# Interactive and refers to a command-line C# REPL, `csi.exe`, powered by Roslyn Scripting, but it is not directly used by .NET Interactive.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. FSI stands for F# Interactive.\n", - "2. It is a command line F# REPL, `fsi.exe` (also invokable via `dotnet fsi`).\n", - "3. It can be used as an interactive command-line REPL or to run F# scripts (`.fsx` files).\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations. It can be used as an interactive command-line REPL or to run F# scripts.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about FSI is that it is a command line F# REPL, `fsi.exe` (also invokable via `dotnet fsi`), which can be used as an interactive command-line REPL or to run F# scripts (`.fsx` files).\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. Try .NET is a web application that runs snippets of C# code.\n", - "2. The code is compiled on the Try .NET server and then executed in the browser using Blazor WebAssembly.\n", - "3. It uses common C#, not C# Script, unlike .NET Interactive.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, making it a great tool for debugging and learning new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that Try .NET is a web application that runs snippets of C# code and shows the result as text output, and that it uses common C#, not C# Script, unlike .NET Interactive.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The upcoming version of Try .NET reimplements the core Try .NET functionality as a .NET Interactive kernel.\n", - "2. This will bring common C# to notebooks.\n", - "3. This is still a work in progress.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Take Away Points:\n", - "1. Try .NET is being reimplemented as a .NET Interactive kernel.\n", - "2. This will bring common C# to notebooks.\n", - "3. It is still a work in progress.\n", - "4. .NET Interactive allows users to write and execute code in multiple languages.\n", - "5. It can create rich outputs and visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the upcoming version of Try .NET will reimplement the core Try .NET functionality as a .NET Interactive kernel, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. This is still a work in progress.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-The Polyglot Notebooks extension in Visual Studio Code allows users to open the Panel to the `POLYGLOT NOTEBOOK: VARIABLES` tab, which displays the variables in all of the different loaded kernels.\n", - "-This can be done by opening the VS Code command palette and selecting `Polyglot Notebook: Focus on Variables View`.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "The .NET Interactive and Polyglot Notebooks extension allows users to write and execute code in multiple languages in one notebook, with support for C#, F#, PowerShell, Python, and SQL. It is interoperable with Jupyter and supports the .ipynb file extension, and allows different cells in the same notebook to run in separate processes or on different machines. It also has support for mermaid language, javascript, and HTML kernels which can be used to create rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Additionally, while in a Polyglot Notebook, users can open the VS Code command palette and select `Polyglot Notebook: Focus on Variables View` to open the Panel to the `POLYGLOT NOTEBOOK: VARIABLES` tab, which displays the variables in all of the different loaded kernels.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "The most important information to know is that .NET Interactive includes a library for parsing and writing various file formats, including .ipynb and .dib, and that the outputs are stored in the .ipynb file.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. The Polyglot Notebooks extension brings support for multi-language notebooks to Visual Studio Code, allowing features such as completions, documentation, syntax highlighting, and diagnostics to be available for many languages in one notebook. It also supports the .ipynb file extension and allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Additionally, .NET Interactive supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive includes a library for parsing and writing various file formats, including .ipynb and .dib, and that the outputs are stored in the .ipynb file. From within a running notebook, it is currently not possible to directly access the outputs, but the .NET Interactive packages include a library for parsing and writing various file formats including .ipynb and .dib.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The Polyglot Notebooks extension is available in Codespaces from the VS Code Marketplace.\n", - "2. This extension allows users to write and execute code in multiple languages in one notebook.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "The Polyglot Notebooks extension, powered by .NET Interactive, allows users to write and execute code in multiple languages in one notebook. It is interoperable with Jupyter and supports the .ipynb file extension, allowing different cells in the same notebook to run in separate processes or on different machines. .NET Interactive also provides rich outputs and visualizations, as well as diagrams and flowcharts with the mermaid language, interactive visualizations with javascript, and HTML-based visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook. This allows for a more efficient workflow, as users can switch between languages in the same notebook without having to create separate notebooks for each language.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The Polyglot Notebooks extension can be loaded in github.dev, but it is only available for viewing notebooks.\n", - "2. Code execution is not currently available in the browser-only environment.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "The Polyglot Notebooks extension, powered by .NET Interactive, allows users to write and execute code in multiple languages in one notebook, and is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, enabling a notebook to span local and cloud environments in one combined workflow. Additionally, it supports mermaid language, javascript, and HTML kernels, allowing users to create rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the Polyglot Notebooks extension is that it can only be used to view notebooks in github.dev, and code execution is not currently available in the browser-only environment.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive can be used as a standard Jupyter kernel.\n", - "2. It can be used with Jupyter Notebook, JupyterLab, and other Jupyter frontends.\n", - "3. Instructions for registering it as a Jupyter kernel can be found in the dotnet/interactive repository.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It is interoperable with Jupyter and supports the .ipynb file extension, allowing different cells in the same notebook to run in separate processes or on different machines. .NET Interactive provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive can be used as a standard Jupyter kernel and can be used with Jupyter Notebook, JupyterLab, and other Jupyter frontends, with instructions for registering it as a Jupyter kernel available in the dotnet/interactive repository.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The #r nuget directive can be used within a C# or F# cell to load NuGet packages into a notebook.\n", - "2. More details can be found in the .NET Interactive documentation.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, allowing users to access the rich ecosystems of these languages in .NET Interactive notebooks. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. The Polyglot Notebooks extension brings support for multi-language notebooks to Visual Studio Code, with features such as completions, documentation, syntax highlighting, and diagnostics. It is interoperable with Jupyter and supports the .ipynb file extension. NuGet packages can be loaded into a notebook using the `#r nuget` directive.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the #r nuget directive can be used within a C# or F# cell to load NuGet packages into a notebook, and more details can be found in the .NET Interactive documentation.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive supports custom package feeds via the `#i nuget` directive.\n", - "2. More details can be found in the official documentation.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports custom package feeds via the #i nuget directive, allowing users to access packages from multiple sources. It is an open source project with many contributors, and is used by software engineers to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. More details can be found in the documentation.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports custom package feeds via the `#i nuget` directive, and more details can be found in the official documentation.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive does not directly support authentication to a NuGet feed.\n", - "2. Authentication to a NuGet feed can be achieved by storing a PAT in the user-level nuget.config.\n", - "3. More information about this approach can be found in the Microsoft Learn documentation.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. Authentication to a NuGet feed can be done by storing a PAT in the user-level nuget.config.\n", - "4. More information about this approach can be found on the Microsoft Learn website.\n", - "5. It is used by software engineers to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that authentication to a NuGet feed can be achieved by storing a PAT in the user-level nuget.config. More information about this approach can be found in the Microsoft Learn documentation.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive allows users to directly load a .NET assembly in a C# or F# cell by using the `#r` compiler directive.\n", - "2. It supports multiple languages, including C#, F#, PowerShell, Python, and SQL.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports the Jupyter protocol, allowing users to write and execute code in multiple languages such as Python, R, Julia, Mermaid, JavaScript, HTML, and C#, F#, PowerShell, and SQL. It provides access to the rich ecosystems of these languages in .NET Interactive notebooks, and enables users to create rich visualizations. It also allows users to directly load a .NET assembly in a C# or F# cell by using the `#r` compiler directive.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive allows users to directly load a .NET assembly in a C# or F# cell by using the `#r` compiler directive.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive does not currently support directly running code from C# or F# projects.\n", - "2. The scenario is under consideration and feedback is welcome.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies. Additionally, it supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive does not currently support directly running code from C# or F# projects, but the scenario is under consideration and feedback is welcome.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. There are multiple approaches that can be used to achieve a desired outcome.\n", - "2. The approach chosen should depend on the desired outcome.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "1. .NET Interactive is an open source project with many contributors, enabling developers to write and execute code in multiple languages. It is a great tool for quickly testing and debugging code, and provides an invaluable resource for learning and exploring new technologies.\n", - "2. It supports mermaid language, javascript, and HTML kernels, which can be used to create rich visualizations.\n", - "3. It is interoperable with Jupyter and supports the .ipynb file extension, allowing users to write and execute code in multiple languages in one notebook.\n", - "4. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow.\n", - "5. It provides access to the rich ecosystems of languages such as Python, R, and Julia in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that there are multiple approaches that can be used to achieve a desired outcome, and the approach chosen should depend on the desired outcome.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports the use of JavaScript libraries through the `require` command.\n", - "2. This allows developers to access the rich ecosystems of JavaScript libraries in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It provides a powerful platform for creating and debugging code, as well as a great resource for learning and exploring new technologies. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations, diagrams, and flowcharts. It also supports the Jupyter protocol, allowing users to access the rich ecosystems of Python, R, and Julia.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports the use of JavaScript libraries through the `require` command, allowing developers to access the rich ecosystems of JavaScript libraries in .NET Interactive notebooks.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The example notebook demonstrates how to use Plotly with RequireJS in .NET Interactive notebooks.\n", - "2. RequireJS is a JavaScript library that allows for modular loading of JavaScript files and dependencies.\n", - "3. Plotly is a JavaScript library for creating interactive, publication-quality graphs.\n", - "4. The example notebook shows how to use RequireJS to load Plotly and create a simple graph.\n", - "5. The example notebook also shows how to use RequireJS to load other JavaScript libraries and dependencies.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, with features such as completions, documentation, syntax highlighting, and diagnostics. It is interoperable with Jupyter and supports the .ipynb file extension, and cells can run in separate processes or on different machines. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the example notebook is that it demonstrates how to use Plotly with RequireJS in .NET Interactive notebooks. It shows how to use RequireJS to load Plotly and create a simple graph, as well as how to use RequireJS to load other JavaScript libraries and dependencies. The example notebook is available for download in the .ipynb format.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. JavaScript package managers are not currently supported by .NET Interactive.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages. It provides a powerful platform for creating and debugging code, as well as a great resource for learning and exploring new technologies. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations, diagrams, and flowcharts. JavaScript package managers are not currently supported, however.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive does not currently support JavaScript package managers.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It provides an extension API to define new magic commands.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a powerful tool that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. With .NET Interactive, users can create diagrams, flowcharts, interactive visualizations, and other rich visualizations. It also provides extension APIs to define new magic commands.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is an open source project with a lot of contributors that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and provides an extension API to define new magic commands.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It provides a platform for developers to extend the capabilities of .NET Interactive with custom magic commands.\n", - "4. It is possible to create custom magic commands using C#, F#, PowerShell, Python, and SQL.\n", - "5. Magic commands can be used to automate tasks and simplify the development process.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project that enables developers to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports the Jupyter protocol, allowing users to access the rich ecosystems of these languages in .NET Interactive notebooks. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It is developed by an open source community and provides a powerful and versatile platform for developers to create and test code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it is possible to extend the capabilities of .NET Interactive with custom magic commands using these languages.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports the sharing of variables between kernels.\n", - "2. The `#!share` magic command can be used to pull a variable from one kernel into another.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "2. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\n", - "3. It is an open source project, allowing users to contribute to its development.\n", - "4. It is a powerful and versatile platform for developers to create and test code.\n", - "5. It has a `#!share` magic command to pull a variable from one kernel into another.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it supports the sharing of variables between kernels, and that the `#!share` magic command can be used to pull a variable from one kernel into another.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive allows users to share variables between different languages in a single notebook.\n", - "2. This enables users to combine the power of multiple languages in a single notebook.\n", - "3. It supports the sharing of variables between C#, F#, PowerShell, Python, and SQL.\n", - "4. This allows users to create complex applications and data analysis pipelines.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages. It provides a powerful platform for debugging and exploring new technologies, and supports mermaid language, javascript, and HTML kernels for creating rich visualizations. It also supports the Jupyter protocol, allowing users to access the rich ecosystems of languages such as Python, R, and Julia. It is a great tool for quickly testing and debugging code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it allows users to share variables between different languages in a single notebook, enabling them to combine the power of multiple languages in a single notebook. It supports the sharing of variables between C#, F#, PowerShell, Python, and SQL, allowing users to create complex applications and data analysis pipelines.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. There are different ways to display values depending on the language used.\n", - "2. Different languages have different methods for displaying values.\n", - "3. It is important to understand the differences between languages when displaying values.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors, enabling developers to write and execute code in multiple languages. It is a great tool for quickly testing and debugging code, and provides an invaluable resource for learning and exploring new technologies. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about displaying values is that there are different methods for displaying values depending on the language used. It is important to understand the differences between languages when displaying values.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Writing to the console results in plain text output.\n", - "2. .NET Interactive provides formatters to create richly formatted output.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. Mermaid language can be used to create diagrams and flowcharts, while javascript and HTML can be used to create interactive visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive provides formatters to create richly formatted output, which is more interesting than plain text output.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive supports C# and F#.\n", - "2. It allows users to call the Console.WriteLine method.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a powerful tool that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations such as diagrams, flowcharts, interactive visualizations, and HTML visualizations. With .NET Interactive, users can create powerful visualizations and execute code in multiple languages.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports C# and F#, and allows users to call the Console.WriteLine method.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. In PowerShell, an unpiped expression will produce console output by default.\n", - "2. All that is needed to do this is to write the expression.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project that enables developers to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, debug quickly, and explore new technologies. It is an invaluable resource for developers to learn and grow.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that in PowerShell, an unpiped expression will produce console output by default, so all you have to do is write the expression.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. JavaScript has a built-in function called `console.log` which can be used to log messages to the console.\n", - "2. This can be used for debugging and testing code.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages. It provides a powerful platform for debugging and learning new technologies, and supports mermaid language, javascript, and HTML kernels for creating rich visualizations. It is a great tool for quickly testing and debugging code, and can be used to create diagrams, flowcharts, interactive visualizations, and HTML-based visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that JavaScript has a built-in function called `console.log` which can be used to log messages to the console for debugging and testing code.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. C# Script and F# have a similar syntax for returning a value.\n", - "2. The common syntax for returning a value in F# is a trailing expression.\n", - "3. C# Script has a syntax for returning a value that is not valid in common C#.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports multiple languages, including C#, F#, PowerShell, Python, and SQL, which can be used to create rich visualizations. It also supports mermaid language, javascript, and HTML kernels. With .NET Interactive, users can write and execute code, and return a value in order to display it using a trailing expression.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that C# Script and F# have a similar syntax for returning a value, which is a trailing expression. This is the common syntax for returning a value in F#, but it is not valid in common C#.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive provides an extension method that can be used to display any object.\n", - "2. This extension method can be called more than once in a single submission.\n", - "3. This is useful since a return statement is only valid once in a given submission.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, as well as an invaluable resource for learning and exploring new technologies. It is used by software engineers and other professionals to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive provides an extension method that can be used to display any object and can be called more than once in a single submission. This is useful since a return statement is only valid once in a given submission.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. PowerShell provides a command called `Out-Display` which can be used to pipe values through the display helper.\n", - "2. This command is useful for quickly displaying values in a readable format.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, with support for mermaid language, javascript, and HTML kernels to create rich visualizations. It is a great tool for engineers to quickly test and debug code and learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that PowerShell provides a command called `Out-Display` which can be used to pipe values through the display helper. This command is useful for quickly displaying values in a readable format.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The formatter APIs provide extensive control over the way that outputs are displayed.\n", - "2. Type-specific formatting and differences between notebook and REPL outputs are powered by these APIs.\n", - "3. These APIs allow for control over the display of notebook cell return values and values displayed using the `Display` method.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive provides support for the Jupyter protocol, allowing users to write and execute code in multiple languages in one notebook.\n", - "- It is interoperable with Jupyter and supports the .ipynb file extension.\n", - "- The Polyglot Notebooks extension brings support for multi-language notebooks to Visual Studio Code.\n", - "- Different cells in the same notebook can run in separate processes or on different machines.\n", - "- The formatter APIs allow extensive control over the way outputs are displayed.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the formatter APIs provide extensive control over the way that outputs are displayed, allowing for control over the display of notebook cell return values and values displayed using the `Display` method. Type-specific formatting and differences between notebook and REPL outputs are powered by these APIs.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The formatter APIs provide a way to format code in .NET Interactive notebooks.\n", - "2. More information about the formatter APIs can be found in the formatting.md file.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables developers to write and execute code in multiple languages. It provides a powerful platform for debugging and learning new technologies, and it supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. The Polyglot Notebooks extension brings multi-language support to Visual Studio Code, allowing features such as completions, documentation, syntax highlighting, and diagnostics to be available in one notebook.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the formatter APIs provide a way to format code in .NET Interactive notebooks, and more information about the formatter APIs can be found in the formatting.md file.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. In .NET Interactive notebooks, users can be prompted for input using the Input() function.\n", - "2. The Input() function can be used to prompt the user for a single line of text or multiple lines of text.\n", - "3. The Input() function can also be used to prompt the user for a numerical value.\n", - "4. The Input() function can be used to prompt the user for a selection from a list of options.\n", - "5. The Input() function can be used to prompt the user for a boolean value.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "1. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages.\n", - "2. The Polyglot Notebooks extension brings support for multi-language notebooks to Visual Studio Code.\n", - "3. It allows different cells in the same notebook to run in separate processes or on different machines.\n", - "4. It also supports the .ipynb file extension and is interoperable with Jupyter.\n", - "5. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the Input() function can be used to prompt the user for input in a .NET Interactive notebook, allowing them to enter a single line of text, multiple lines of text, a numerical value, a selection from a list of options, or a boolean value.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive provides a token, `@input:prompt_name`, which can be used to prompt for input within any magic command.\n", - "2. This token allows developers to quickly and easily prompt for input within their code.\n", - "3. It is a useful tool for developers to quickly test and debug code.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It supports mermaid language, javascript, and HTML kernels for creating rich visualizations, diagrams, flowcharts, and interactive visualizations. It also allows users to prompt for input using a token within any magic command.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive provides a token, `@input:prompt_name`, which can be used to prompt for input within any magic command. This token allows developers to quickly and easily prompt for input within their code, making it a useful tool for developers to quickly test and debug code.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive supports type-specific input prompts.\n", - "2. It allows users to customize their input prompts.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive supports the Jupyter protocol, allowing users to write and execute code in multiple languages, including Python, R, and Julia. It also provides access to the rich ecosystems of these languages in .NET Interactive notebooks, and allows users to create type-specific input prompts. Additionally, it supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports type-specific input prompts and allows users to customize their input prompts.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive provides an API that can be called directly to prompt users for input.\n", - "2. An example of this API can be found in C#.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, providing a powerful and versatile platform for developers to create and test code. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and provides an API to prompt users for input. It also supports mermaid language, javascript, and HTML kernels, which can be used to create rich visualizations such as diagrams, flowcharts, interactive visualizations, and more. It is a great tool for developers to quickly test and debug code, and an invaluable resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive provides an API that can be called directly to prompt users for input, and an example of this API can be found in C#.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Polyglot Notebooks is an extension powered by .NET Interactive that allows users to write and execute code in multiple languages in one notebook.\n", - "2. It provides a text input prompt at the top of the Visual Studio Code window.\n", - "3. It is interoperable with Jupyter and supports the .ipynb file extension.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Polyglot Notebooks is an extension powered by .NET Interactive that allows users to write and execute code in multiple languages in one notebook. It supports features such as completions, documentation, syntax highlighting, and diagnostics for many languages. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It is also interoperable with Jupyter and supports the .ipynb file extension, allowing users to switch cell languages using magic commands.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also provides a text input prompt at the top of the Visual Studio Code window when running code in Polyglot Notebooks.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Input prompts are a feature of .NET Interactive that allow users to provide input to their code.\n", - "2. More information about input prompts can be found in the input-prompts.md file.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project that supports multiple languages, including C#, F#, PowerShell, Python, and SQL. It enables developers to write and execute code quickly and easily, and provides access to the rich ecosystems of these languages. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It is a great tool for quickly testing and debugging code, and provides an invaluable resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it has a feature called input prompts that allow users to provide input to their code.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. User input prompts are a good way to provide secrets to a notebook without risk of storing them in the file.\n", - "2. User input prompts can be used to securely store secrets such as passwords, API keys, and other sensitive information.\n", - "3. User input prompts can be used to securely store secrets in a way that is not visible to other users.\n", - "4. User input prompts can be used to securely store secrets in a way that is not stored in the notebook file.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive extension, the Polyglot Notebooks extension brings support for multi-language notebooks to Visual Studio Code, allowing features such as completions, documentation, syntax highlighting, and diagnostics to be available for many languages in one notebook. It also allows different cells in the same notebook to run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. .NET Interactive supports the Jupyter protocol, mermaid language, javascript, HTML, and the .ipynb file extension.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that user input prompts can be used to securely store secrets such as passwords, API keys, and other sensitive information in a way that is not visible to other users and is not stored in the notebook file.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Polyglot Notebooks allows users to write and execute code in multiple languages.\n", - "2. It provides an input prompt at the top of the Visual Studio Code window.\n", - "3. The text typed into the prompt is masked for security.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Polyglot Notebooks is an extension powered by .NET Interactive that allows users to write and execute code in multiple languages in one notebook. It supports features such as completions, documentation, syntax highlighting, and diagnostics for many languages. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It is also interoperable with Jupyter and supports the .ipynb file extension, allowing users to switch cell languages using magic commands.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Polyglot Notebooks is that it allows users to write and execute code in multiple languages, and that it provides an input prompt at the top of the Visual Studio Code window which masks the text typed into it for security.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The run button (▶️) changes to a stop button (⏹️) when a cell is running.\n", - "2. Pressing the stop button will attempt to stop the running cell, but it might not always work.\n", - "3. If the stop button doesn't work, the kernel can be restarted using the `Polyglot Notebook: Restart the current notebooks kernel` command from the command palette.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in multiple languages.\n", - "- It provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\n", - "- The run button (▶️) changes to a stop button (⏹️) when a cell is running.\n", - "- Pressing the stop button will attempt to stop the running cell, but it might not always work.\n", - "- If the stop button doesn't work, the kernel can be restarted using the `Polyglot Notebook: Restart the current notebooks kernel` command.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. Additionally, if the stop button doesn't work, the kernel can be restarted using the `Polyglot Notebook: Restart the current notebooks kernel` command from the command palette.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive provides APIs that allow users to send code to any kernel by name.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "The .NET Interactive API allows developers to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. \n", - "\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel developed by a team of engineers at Microsoft.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is an open source project, allowing users to contribute to its development.\n", - "4. It is a powerful and versatile platform for developers to create and test code.\n", - "5. It is a great tool for developers to quickly test and debug code and create rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it provides APIs that allow users to send code to any kernel by name.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It provides a powerful and versatile platform for developers to create and test code.\n", - "4. It can create rich outputs and visualizations.\n", - "5. It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, providing a powerful and versatile platform for developers to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is a great tool for quickly testing and debugging code, and an invaluable resource for learning and exploring new technologies. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and that it can create rich outputs and visualizations.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET REPL is a command line automation tool with notebooks.\n", - "2. It is an open source project with a lot of contributors.\n", - "3. It is developed by an open source community.\n", - "4. It is available on GitHub.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. It is a powerful and versatile platform for developers to create and test code, as well as an invaluable resource for learning and exploring new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET REPL is that it is an open source project with a lot of contributors, developed by an open source community, and available on GitHub. It provides a powerful and versatile platform for developers to create and test code, and is a great tool for quickly testing and debugging code.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is exploring the possibility of adding an experimental feature to its core product.\n", - "2. This feature could potentially be added in the future.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, as well as rich visualizations with mermaid language, javascript, and HTML kernels. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies. Additionally, it may include an experimental feature in the future.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is exploring the possibility of adding an experimental feature to its core product, which could potentially be added in the future.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-The most important information to know about .NET REPL is that it is an open source project that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, and is a great tool for developers to quickly test and debug code. It is also an invaluable resource for developers to learn and explore new technologies, and can be used to run notebooks headlessly and output a .trx file containing the results.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET REPL is a tool for automated testing of notebooks, which can be used to run notebooks headlessly and output a .trx file containing the results. It is also possible to use .NET Interactive to create rich visualizations with mermaid language, javascript, and HTML kernels.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET REPL is that it is an open source project that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, and is a great tool for developers to quickly test and debug code. It also supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. Additionally, it can be used to run notebooks headlessly and output a .trx file containing the results, making it an invaluable resource for automated testing of notebooks.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "2. This provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\n", - "3. More details can be found on the GitHub project page.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive is an open source project with many contributors.\n", - "- It supports multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "- It provides a powerful and versatile platform for developers to create and test code.\n", - "- It is a great tool for developers to quickly test and debug code.\n", - "- It is an invaluable resource for developers to learn and explore new technologies.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. More details can be found on the GitHub project page.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive is exploring the possibility of adding an experimental feature to its core product.\n", - "2. This feature could potentially be added in the future.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It provides a powerful and versatile platform for developers to create and test code, as well as rich visualizations with mermaid language, javascript, and HTML kernels. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies. Additionally, it may include an experimental feature in the future.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is exploring the possibility of adding an experimental feature to its core product, which could potentially be added in the future.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "2. The `#!import` magic command can be used to load and run a number of different file types within a notebook, including `.ipynb` and `.dib`.\n", - "3. Both of these file formats support polyglot, so notebooks imported this way can include cells in various languages.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in multiple languages in one notebook.\n", - "- It is interoperable with Jupyter and supports the .ipynb file extension.\n", - "- Different cells in the same notebook can run in separate processes or on different machines.\n", - "- The `#!import` magic command can be used to load and run a number of different file types within a notebook.\n", - "- Polyglot Notebooks provide access to the rich ecosystems of languages such as Python, R, and Julia.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, and that the `#!import` magic command can be used to load and run a number of different file types within a notebook, including `.ipynb` and `.dib`, which both support polyglot and allow notebooks to include cells in various languages.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "- Take Away Points:\n", - "1. The Polyglot Notebooks extension, powered by .NET Interactive, allows users to write and execute code in multiple languages in one notebook.\n", - "2. It is interoperable with Jupyter and supports the .ipynb file extension.\n", - "3. Cells in the same notebook can run in separate processes or on different machines.\n", - "4. The `#!import` command can be used to run single-language files within a notebook, including `.cs`, `.csx`, `.js`, and `.ps1` files.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Polyglot Notebooks is an extension powered by .NET Interactive that allows users to write and execute code in multiple languages in one notebook. It provides features such as completions, documentation, syntax highlighting, and diagnostics for many languages. Cells in the same notebook can run in separate processes or on different machines, and it is interoperable with Jupyter and supports the .ipynb file extension. Cells in Jupyter can be switched using magic commands, and single-language files such as .cs, .csx, .js, and .ps1 can be imported into the notebook.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive and the Polyglot Notebooks extension is that it allows users to write and execute code in multiple languages in one notebook, and that it is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines, and provides access to the rich ecosystems of languages such as Python, R, and Julia. Additionally, the `#!import` command can be used to run single-language files within a notebook, including `.cs`, `.csx`, `.js`, and `.ps1` files.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive is an open source project with a lot of contributors.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It provides a powerful and versatile platform for developers to create and test code.\n", - "4. It has a feature called `#!import` which can be used to quickly import packages and modules.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with many contributors that enables users to write and execute code in multiple languages. It provides a powerful platform for developers to create and debug code, and it is a great resource for learning and exploring new technologies. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL, and has a feature called `#!import` which can be used to quickly import packages and modules. You can read more about `#!import` [here](import-magic-command.md).\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. .NET Interactive has extensibility APIs that allow for NuGet packages to add new subkernels at runtime.\n", - "2. This is how SQL and KQL support are implemented in .NET Interactive.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "It is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. With .NET Interactive, users can create rich outputs and visualizations. NuGet packages can be used to add new subkernels at runtime.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about .NET Interactive is that it has extensibility APIs that allow for NuGet packages to add new subkernels at runtime, which is how SQL and KQL support are implemented.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "- Take Away Points:\n", - "1. Polyglot Notebooks allows users to programmatically add a new cell by sending the `SendEditableCode` command.\n", - "2. This provides a convenient way to add new cells to a notebook without having to manually type in the code.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "-Take Away Points:\n", - "1. Polyglot Notebooks allows users to write and execute code in multiple languages in one notebook.\n", - "2. It is interoperable with Jupyter and supports the .ipynb file extension.\n", - "3. Cells in the same notebook can run in separate processes or on different machines.\n", - "4. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "5. It provides access to the rich ecosystems of these languages in .NET Interactive notebooks.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Polyglot Notebooks is that it allows users to programmatically add a new cell by sending the `SendEditableCode` command, providing a convenient way to add new cells to a notebook without having to manually type in the code.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.\n", - "2. It is possible to append a new cell to a notebook with specified content and selected kernel using a command.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, with features such as completions, documentation, syntax highlighting, and diagnostics. Cells can run in separate processes or on different machines, and the notebooks are interoperable with Jupyter and support the .ipynb file extension. Magic commands can be used to switch cell languages in Jupyter.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia, and that it is possible to append a new cell to a notebook with specified content and selected kernel using a command.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The command is not currently supported in other notebook frontends such as JupyterLab.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, with features such as completions, documentation, syntax highlighting, and diagnostics. Cells can run in separate processes or on different machines, spanning local and cloud environments. It is interoperable with Jupyter and supports the .ipynb file extension, allowing notebooks to be opened in Jupyter and cell languages to be switched using magic commands.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the command is not currently supported in other notebook frontends such as JupyterLab.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. It is common for a notebook's kernel to get into a stuck state.\n", - "2. This can happen due to loading too much data or running code containing an infinite loop.\n", - "3. Most notebook providers have a feature to restart the kernel.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "- It allows features such as completions, documentation, syntax highlighting, and diagnostics for many languages in one notebook.\n", - "- Cells in the same notebook can run in separate processes or on different machines.\n", - "- Polyglot Notebooks are fully interoperable with Jupyter and support the .ipynb file extension.\n", - "- It is possible to restart the kernel in most notebook providers.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that it is common for a notebook's kernel to get into a stuck state, and that most notebook providers have a feature to restart the kernel.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. Polyglot Notebooks allows users to restart the kernel by running the `Polyglot Notebook: Restart the current notebook's kernel` command from the Command Palette.\n", - "2. After restarting the kernel, users will need to rerun the notebook's cells, including reloading packages using `#r`.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "- .NET Interactive is a polyglot kernel that enables users to write and execute code in multiple languages.\n", - "- Polyglot Notebooks is an extension powered by .NET Interactive that supports multi-language notebooks in Visual Studio Code.\n", - "- Cells in the same notebook can run in separate processes or on different machines.\n", - "- Polyglot Notebooks are interoperable with Jupyter and support the .ipynb file extension.\n", - "- You can restart the kernel in Polyglot Notebooks by running the `Polyglot Notebook: Restart the current notebook's kernel` command.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about Polyglot Notebooks is that after restarting the kernel, users will need to rerun the notebook's cells, including reloading packages using `#r`.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. When using the Polyglot Notebooks extension, it is important to ensure that any pending VS Code updates have been applied.\n", - "2. If the extension is not working as expected, it may need to be updated.\n", - "3. Check for any pending VS Code updates and update the Polyglot Notebooks extension if necessary.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "-The Polyglot Notebooks extension powered by .NET Interactive allows users to write and execute code in multiple languages in one notebook, and is interoperable with Jupyter and supports the .ipynb file extension. It also allows different cells in the same notebook to run in separate processes or on different machines. To ensure the extension is working properly, users should check that VS Code updates have been applied and that the Polyglot Notebooks extension is up to date.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the Polyglot Notebooks extension is to check for any pending VS Code updates and update the extension if necessary. This will ensure that the extension is working as expected and that any new features or bug fixes are available.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. The settings icon in the lower left corner of Visual Studio Code may display a badge indicating that an update is available.\n", - "2. This badge can be used to quickly check for updates and ensure that the latest version of the software is being used.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "Polyglot Notebooks is an open source project with many contributors that enables developers to write and execute code in multiple languages. It provides a powerful platform for debugging and learning new technologies, and is interoperable with Jupyter. It supports .ipynb files, completions, documentation, syntax highlighting, diagnostics, and switching cell languages using magic commands. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that the settings icon in the lower left corner of Visual Studio Code may display a badge indicating that an update is available. This badge can be used to quickly check for updates and ensure that the latest version of the software is being used.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. VS Code needs to be updated when a \"Restart to Update\" message appears in the menu.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "1. Visual Studio Code needs to be updated when a \"Restart to Update\" message appears in the menu.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that when you see a \"Restart to Update\" message in the menu, VS Code needs to be updated.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. The Polyglot Notebooks extension may require a reload after a VS Code update.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - "The Polyglot Notebooks extension, powered by .NET Interactive, brings support for multi-language notebooks to Visual Studio Code. It allows features such as completions, documentation, syntax highlighting, and diagnostics to be available for many languages in one notebook. It is interoperable with Jupyter and supports the .ipynb file extension, allowing cells in the same notebook to run in separate processes or on different machines. It may require a reload after a VS Code update.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know about the Polyglot Notebooks extension is that it may require a reload after a VS Code update.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. If you are having issues running code, open an issue on the .NET Interactive GitHub page.\n", - "2. The .NET Interactive GitHub page provides a platform to report issues and get help.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is an open source project with a lot of contributors, allowing users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It is a great tool for developers to quickly test and debug code, and an invaluable resource for developers to learn and explore new technologies. If you encounter any issues, please open an issue on GitHub.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that if you are having issues running code, you should open an issue on the .NET Interactive GitHub page to get help.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "-Take Away Points:\n", - "1. An error can occur when calling a .NET Interactive formatting API such as `Display`, `#!share`, or `#!set`.\n", - "2. This error occurs when formatting the specified object using the requested MIME type isn't available.\n", - "3. Formatters for additional MIME types can be added using the formatter registration APIs.\n", - "4. More details about these APIs can be found in the formatting.md document.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive is a polyglot kernel that allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL. It also supports mermaid language, javascript, and HTML kernels which can be used to create rich visualizations. It supports the Jupyter protocol, providing access to the rich ecosystems of these languages in .NET Interactive notebooks. Formatting APIs such as `Display`, `#!share` and `#!set` can be used to add formatters for additional MIME types.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that an error can occur when calling a .NET Interactive formatting API such as `Display`, `#!share`, or `#!set`, and that formatters for additional MIME types can be added using the formatter registration APIs. More details about these APIs can be found in the formatting.md document.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Storing derived knowledge: \r\n", - "takeAway \r\n", - "---\r\n", - "Take Away Points:\n", - "1. An error is shown when a formatted value from the .NET Interactive kernel is formatted using a MIME type that VS Code doesn't know how to render.\n", - "2. VS Code can only render notebook outputs in MIME types for which there's an installed notebook renderer.\n", - "3. Notebook renderers are independent of the kernel and can be installed from the Visual Studio Marketplace.\r\n", - "---\r\n", - "\r\n", - "summary---\r\n", - ".NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Features such as completions, documentation, syntax highlighting, and diagnostics are available for many languages in one notebook.\r\n", - "---\r\n", - "\r\n", - "overView---\r\n", - "The most important information to know is that VS Code can only render notebook outputs in MIME types for which there's an installed notebook renderer, and that notebook renderers can be installed from the Visual Studio Marketplace.\r\n", - "---\r\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!knowledge --name fact20 --from-url https://raw.githubusercontent.com/dotnet/interactive/main/docs/FAQ.md" ] }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "knowledge(duckDbVectorRAW)" @@ -3052,59 +350,14 @@ "kernelName": "knowledge(duckDbVectorRAW)" } }, - "outputs": [ - { - "data": { - "text/csv": [ - "name\r\n", - "defaultVectorCollection\r\n" - ], - "text/html": [ - "
name
defaultVectorCollection
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "SHOW TABLES;" ] }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "knowledge(duckDbVectorRAW)" @@ -3113,93 +366,14 @@ "kernelName": "knowledge(duckDbVectorRAW)" } }, - "outputs": [ - { - "data": { - "text/csv": [ - "id,payload\r\n", - "fact1-0,\"Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\"\r\n", - "fact1-1,\"It enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is an open source project, allowing users to contribute to its development.\n", - "It is a great tool for developers to quickly test and debug code.\"\r\n", - "fact1-2,\"The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\"\r\n", - "fact2-0,\"It is a polyglot kernel that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\n", - "\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel developed by a team of engineers at Microsoft.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is an open source project, allowing users to contribute to its development.\n", - "4. It is a powerful and versatile platform for developers to create and test code.\n", - "5. It is a great tool for developers to quickly test and debug code.\"\r\n", - "fact2-1,\"It is an open source project that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for developers to quickly test and debug code.\n", - "It is an invaluable resource for developers to learn and explore new technologies.\"\r\n" - ], - "text/html": [ - "
idpayload
fact1-0Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.
fact1-1It enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is an open source project, allowing users to contribute to its development.\n", - "It is a great tool for developers to quickly test and debug code.
fact1-2The most important information to know about .NET Interactive is that it allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.
fact2-0It is a polyglot kernel that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL. It is an open source project, allowing users to contribute to its development. It is a powerful and versatile platform for developers to create and test code, and a great tool for developers to quickly test and debug code.\n", - "\n", - "Take Away Points:\n", - "1. .NET Interactive is a polyglot kernel developed by a team of engineers at Microsoft.\n", - "2. It allows users to write and execute code in multiple languages, including C#, F#, PowerShell, Python, and SQL.\n", - "3. It is an open source project, allowing users to contribute to its development.\n", - "4. It is a powerful and versatile platform for developers to create and test code.\n", - "5. It is a great tool for developers to quickly test and debug code.
fact2-1It is an open source project that enables users to write and execute code in multiple languages, such as C#, F#, PowerShell, Python, and SQL.\n", - "It provides a powerful and versatile platform for developers to create and test code.\n", - "It is a great tool for developers to quickly test and debug code.\n", - "It is an invaluable resource for developers to learn and explore new technologies.
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "select id, payload from defaultVectorCollection limit 5;" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -3226,7 +400,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -3251,7 +425,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -3276,131 +450,32 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
With .NET Interactive, you can write and execute code in multiple languages, including C# Script, F#, PowerShell, Python, and SQL. You can also create rich visualizations such as diagrams, flowcharts, interactive visualizations, and HTML visualizations using mermaid language, javascript, and HTML ke...
Result
\n",
-       "With .NET Interactive, you can write and execute code in multiple languages, including C# Script, F#, PowerShell, Python, and SQL. You can also create rich visualizations such as diagrams, flowcharts, interactive visualizations, and HTML visualizations using mermaid language, javascript, and HTML kernels. Additionally, you can extend the capabilities of .NET Interactive with custom magic commands using these languages.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "With .NET Interactive, you can write and execute code in multiple languages, including C# Script, F#, PowerShell, Python, and SQL. You can also create rich visualizations such as diagrams, flowcharts, interactive visualizations, and HTML visualizations using mermaid language, javascript, and HTML kernels. Additionally, you can extend the capabilities of .NET Interactive with custom magic commands using these languages.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3284
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method420(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method420(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "With .NET Interactive, you can write and execute code in multiple languages, including C# Script, F#, PowerShell, Python, and SQL. You can also create rich visualizations such as diagrams, flowcharts, interactive visualizations, and HTML visualizations using mermaid language, javascript, and HTML kernels. Additionally, you can extend the capabilities of .NET Interactive with custom magic commands using these languages." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "what can i do with .NET Interactive?" ] }, { "cell_type": "code", - "execution_count": 13, - "id": "81d6a152", + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Yes, .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.
Result
\n",
-       "Yes, .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "Yes, .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3284
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method420(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method420(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "Yes, .NET Interactive supports the Jupyter protocol, allowing users to write and execute code in languages such as Python, R, and Julia." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "\n", "does it support python?" @@ -3408,13 +483,13 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion(skill)" + "language": "chat(skill)" }, "polyglot_notebook": { - "kernelName": "textCompletion(skill)" + "kernelName": "chat(skill)" } }, "outputs": [], @@ -3428,68 +503,16 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Yes, .NET Interactive allows users to create rich visualizations using mermaid language, javascript, and HTML kernels. It also provides extension APIs to create custom magic commands and execute code in multiple languages.
Result
\n",
-       "\n",
-       "Yes, .NET Interactive allows users to create rich visualizations using mermaid language, javascript, and HTML kernels. It also provides extension APIs to create custom magic commands and execute code in multiple languages.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "Yes, .NET Interactive allows users to create rich visualizations using mermaid language, javascript, and HTML kernels. It also provides extension APIs to create custom magic commands and execute code in multiple languages.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3284
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method420(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method420(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "Yes, .NET Interactive allows users to create rich visualizations using mermaid language, javascript, and HTML kernels. It also provides extension APIs to create custom magic commands and execute code in multiple languages." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!use-skills function._GLOBAL_FUNCTIONS_.be_clear\n", "Why can I do data visualizations with .NET Interactive?" @@ -3497,130 +520,32 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
If a cell runs forever, you should open an issue on the .NET Interactive GitHub page to get help. The .NET Interactive GitHub page provides a platform to report issues and get help. You can also use the Magic commands to switch cell languages in Jupyter.
Result
\n",
-       "If a cell runs forever, you should open an issue on the .NET Interactive GitHub page to get help. The .NET Interactive GitHub page provides a platform to report issues and get help. You can also use the Magic commands to switch cell languages in Jupyter.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "If a cell runs forever, you should open an issue on the .NET Interactive GitHub page to get help. The .NET Interactive GitHub page provides a platform to report issues and get help. You can also use the Magic commands to switch cell languages in Jupyter.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3284
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method420(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method420(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "If a cell runs forever, you should open an issue on the .NET Interactive GitHub page to get help. The .NET Interactive GitHub page provides a platform to report issues and get help. You can also use the Magic commands to switch cell languages in Jupyter." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "What should I do if a cell runs forever?" ] }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": { "dotnet_interactive": { - "language": "textCompletion" + "language": "chat(text)" }, "polyglot_notebook": { - "kernelName": "textCompletion" + "kernelName": "chat(text)" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Yes, you can create custom kernels for languages and tools that are not supported by the Jupyter Notebook. .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file...
Result
\n",
-       "Yes, you can create custom kernels for languages and tools that are not supported by the Jupyter Notebook. .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. JupyterLab is a browser-based frontend for Jupyter kernels, similar to Jupyter Notebook, but more extensible.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "Yes, you can create custom kernels for languages and tools that are not supported by the Jupyter Notebook. .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. JupyterLab is a browser-based frontend for Jupyter kernels, similar to Jupyter Notebook, but more extensible.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3284
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method420(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717887080264
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method420(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "Yes, you can create custom kernels for languages and tools that are not supported by the Jupyter Notebook. .NET Interactive and the Polyglot Notebooks extension allow users to write and execute code in multiple languages in one notebook, and are interoperable with Jupyter and support the .ipynb file extension. Cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. It also supports mermaid language, javascript, and HTML kernels for creating rich visualizations. JupyterLab is a browser-based frontend for Jupyter kernels, similar to Jupyter Notebook, but more extensible." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "Can I create custom kernels for langauges and tools that are not supported by the Jupyter Notebook?" ] diff --git a/samples/notebooks/ai/end to end.ipynb b/samples/notebooks/ai/end to end.ipynb deleted file mode 100644 index f74469f6b7..0000000000 --- a/samples/notebooks/ai/end to end.ipynb +++ /dev/null @@ -1,994 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "e47b4373", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AspNetCore, 1.0.0-beta.23468.3
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aspnetcore\\1.0.0-beta.23468.3\\interactive-extensions\\dotnet\\Microsoft.DotNet.Interactive.AspNetCore.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AspNetCore,*-*\"" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "b4bdc2e9", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.5
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\skiasharp\\2.88.5\\interactive-extensions\\dotnet\\SkiaSharp.DotNet.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.ai\\1.0.0-beta.23468.5\\interactive-extensions\\dotnet\\extension.dib`" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/markdown": [ - "Added magic commands\r\n", - " - `#!connect azure-openai`\r\n", - " - `#!connect openai`\r\n", - " - `#!connect huggingface`" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name key\n", - "YOUR AZURE OPEN AI KEY" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!value --name endpoint\n", - "https://your-enpoint.openai.azure.com/" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "266d1b6d", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVectorRAW)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge(duckDbVector)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!knowledge" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextEmbeddingGenerator --kernel-name knowledge --api-key @value:key --endpoint @value:endpoint --deployment text-embedding-ada-002" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!textCompletion" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type TextCompletion --kernel-name textCompletion --api-key @value:key --endpoint @value:endpoint --deployment text-davinci-003 --use-knowledge knowledge" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!chat(skill)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat(text)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Kernel added: #!chat" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!connect azure-openai --model-type ChatCompletion --kernel-name chat --api-key @value:key --endpoint @value:endpoint --deployment gtp-35-turbo --use-knowledge knowledge" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion(skill)" - }, - "polyglot_notebook": { - "kernelName": "textCompletion(skill)" - } - }, - "outputs": [], - "source": [ - "#!function bullet_points --skill writer \n", - "Generate bullet points take aways from the following text:\n", - "{{$input}}" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
His legal reforms are still in effect in numerous countries.\\n\\nTakeaways:\\n- Napoleon Bonaparte was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution\\n- He is considered one of the greatest military commanders in history\\n- He initiat...
Result
 His legal reforms are still in effect in numerous countries.\n",
-       "\n",
-       "Takeaways:\n",
-       "- Napoleon Bonaparte was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution\n",
-       "- He is considered one of the greatest military commanders in history\n",
-       "- He initiated many liberal reforms that have persisted in society\n",
-       "- He supported the French Revolution in 1789 while serving in the French army\n",
-       "- He engineered a coup in November 1799 and became First Consul of the Republic\n",
-       "- He defeated Prussia at the battles of Jena and Auerstedt\n",
-       "- He brought liberal reforms to the lands he conquered\n",
-       "- He implemented many liberal policies in France and Western Europe\n",
-       "- His legal reforms are still in effect in numerous countries
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
 His legal reforms are still in effect in numerous countries.\n",
-       "\n",
-       "Takeaways:\n",
-       "- Napoleon Bonaparte was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution\n",
-       "- He is considered one of the greatest military commanders in history\n",
-       "- He initiated many liberal reforms that have persisted in society\n",
-       "- He supported the French Revolution in 1789 while serving in the French army\n",
-       "- He engineered a coup in November 1799 and became First Consul of the Republic\n",
-       "- He defeated Prussia at the battles of Jena and Auerstedt\n",
-       "- He brought liberal reforms to the lands he conquered\n",
-       "- He implemented many liberal policies in France and Western Europe\n",
-       "- His legal reforms are still in effect in numerous countries
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3376
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method334(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method334(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - " His legal reforms are still in effect in numerous countries.\n", - "\n", - "Takeaways:\n", - "- Napoleon Bonaparte was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution\n", - "- He is considered one of the greatest military commanders in history\n", - "- He initiated many liberal reforms that have persisted in society\n", - "- He supported the French Revolution in 1789 while serving in the French army\n", - "- He engineered a coup in November 1799 and became First Consul of the Republic\n", - "- He defeated Prussia at the battles of Jena and Auerstedt\n", - "- He brought liberal reforms to the lands he conquered\n", - "- He implemented many liberal policies in France and Western Europe\n", - "- His legal reforms are still in effect in numerous countries" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!use-skills function.writer.bullet_points\n", - "Napoleon Bonaparte (born Napoleone Buonaparte;[a] 15 August 1769 – 5 May 1821), later known by his regnal name Napoleon I, was a Corsican-born French military commander and political leader who rose to prominence during the French Revolution and led successful campaigns during the Revolutionary Wars. He was the de facto leader of the French Republic as First Consul from 1799 to 1804, then Emperor of the French from 1804 until 1814 and again in 1815. Napoleon's political and cultural legacy endures to this day, as a highly celebrated and controversial leader. He initiated many liberal reforms that have persisted in society, and is considered one of the greatest military commanders in history. His campaigns are still studied at military academies worldwide. Between three and six million civilians and soldiers died in what became known as the Napoleonic Wars.[2][3]\n", - "\n", - "Napoleon was born on the island of Corsica, not long after its annexation by France, to a native family descending from minor Italian nobility.[4][5] He supported the French Revolution in 1789 while serving in the French army, and tried to spread its ideals to his native Corsica. He rose rapidly in the Army after he saved the governing French Directory by firing on royalist insurgents. In 1796, he began a military campaign against the Austrians and their Italian allies, scoring decisive victories and becoming a national hero. Two years later, he led a military expedition to Egypt that served as a springboard to political power. He engineered a coup in November 1799 and became First Consul of the Republic.\n", - "\n", - "Differences with the United Kingdom meant France faced the War of the Third Coalition by 1805. Napoleon shattered this coalition with victories in the Ulm campaign, and at the Battle of Austerlitz, which led to the dissolution of the Holy Roman Empire. In 1806, the Fourth Coalition took up arms against him. Napoleon defeated Prussia at the battles of Jena and Auerstedt, marched the Grande Armée into Eastern Europe, and defeated the Russians in June 1807 at Friedland, forcing the defeated nations of the Fourth Coalition to accept the Treaties of Tilsit. Two years later, the Austrians challenged the French again during the War of the Fifth Coalition, but Napoleon solidified his grip over Europe after triumphing at the Battle of Wagram.\n", - "\n", - "Hoping to extend the Continental System, his embargo against Britain, Napoleon invaded the Iberian Peninsula and declared his brother Joseph the King of Spain in 1808. The Spanish and the Portuguese revolted in the Peninsular War aided by a British army, culminating in defeat for Napoleon's marshals. Napoleon launched an invasion of Russia in the summer of 1812. The resulting campaign witnessed the catastrophic retreat of Napoleon's Grande Armée. In 1813, Prussia and Austria joined Russian forces in a Sixth Coalition against France, resulting in a large coalition army defeating Napoleon at the Battle of Leipzig. The coalition invaded France and captured Paris, forcing Napoleon to abdicate in April 1814. He was exiled to the island of Elba, between Corsica and Italy. In France, the Bourbons were restored to power.\n", - "\n", - "Napoleon escaped in February 1815 and took control of France.[6] The Allies responded by forming a Seventh Coalition, which defeated Napoleon at the Battle of Waterloo in June 1815. The British exiled him to the remote island of Saint Helena in the Atlantic, where he died in 1821 at the age of 51.\n", - "\n", - "Napoleon had an extensive impact on the modern world, bringing liberal reforms to the lands he conquered, especially the regions of the Low Countries, Switzerland and parts of modern Italy and Germany. He implemented many liberal policies in France and Western Europe.[b]" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion(skill)" - }, - "polyglot_notebook": { - "kernelName": "textCompletion(skill)" - } - }, - "outputs": [], - "source": [ - "#!function answer --skill writer \n", - "answer the following question in a few sentences:\n", - "{{$input}}" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century. It is an allegorical journey through Hell, Purgatory, and Heaven, and is considered to be one of the greatest works of world literature. The poem is a spiritual journey of Dante's soul, and is meant to be an allegory f...
Result
\n",
-       "\n",
-       "The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century. It is an allegorical journey through Hell, Purgatory, and Heaven, and is considered to be one of the greatest works of world literature. The poem is a spiritual journey of Dante's soul, and is meant to be an allegory for the journey of life and the search for salvation.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century. It is an allegorical journey through Hell, Purgatory, and Heaven, and is considered to be one of the greatest works of world literature. The poem is a spiritual journey of Dante's soul, and is meant to be an allegory for the journey of life and the search for salvation.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3376
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method334(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method334(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 58
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century. It is an allegorical journey through Hell, Purgatory, and Heaven, and is considered to be one of the greatest works of world literature. The poem is a spiritual journey of Dante's soul, and is meant to be an allegory for the journey of life and the search for salvation." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!use-skills function.writer.answer\n", - "What is the divine comedy about?" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "metadata": { - "dotnet_interactive": { - "language": "textCompletion" - }, - "polyglot_notebook": { - "kernelName": "textCompletion" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
-The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century\\n-It is an allegorical journey through Hell, Purgatory, and Heaven\\n-Considered to be one of the greatest works of world literature\\n-A spiritual journey of Dante's soul\\n-Meant to be an allegory for the journey of lif...
Result
\n",
-       "\n",
-       "-The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century\n",
-       "-It is an allegorical journey through Hell, Purgatory, and Heaven\n",
-       "-Considered to be one of the greatest works of world literature\n",
-       "-A spiritual journey of Dante's soul\n",
-       "-Meant to be an allegory for the journey of life and the search for salvation
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "-The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century\n",
-       "-It is an allegorical journey through Hell, Purgatory, and Heaven\n",
-       "-Considered to be one of the greatest works of world literature\n",
-       "-A spiritual journey of Dante's soul\n",
-       "-Meant to be an allegory for the journey of life and the search for salvation
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3376
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method334(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method334(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "-The Divine Comedy is an epic poem written by Dante Alighieri in the 14th century\n", - "-It is an allegorical journey through Hell, Purgatory, and Heaven\n", - "-Considered to be one of the greatest works of world literature\n", - "-A spiritual journey of Dante's soul\n", - "-Meant to be an allegory for the journey of life and the search for salvation" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#!use-skills function.writer.answer function.writer.bullet_points\n", - "What is the divine comedy about?" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "id": "3b2153aa", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "using Microsoft.DotNet.Interactive;\n", - "using Microsoft.DotNet.Interactive.Commands;\n", - "using Microsoft.DotNet.Interactive.Events;\n", - "using Microsoft.DotNet.Interactive.AI;\n", - "\n", - "var kernel = Kernel.Root.FindKernels(k => k is TextCompletionKernel).Single(k => k.Name.StartsWith(\"textCompletion\"));\n", - "\n", - "public async Task AskQuestion(string question){\n", - " var result = await kernel.SendAsync(new SubmitCode($\"\"\"\n", - " #!use-skills function.writer.answer function.writer.bullet_points\n", - " {question}\n", - "\"\"\"));\n", - " var response = result.Events.OfType().Last();\n", - " var text = response.FormattedValues.Single(fv => fv.MimeType == \"text/plain\").Value;\n", - " return text;\n", - "}" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "4ffbafce", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Napoleon Bonaparte was born on August 15, 1769 in Ajaccio, Corsica.
Result
\n",
-       "\n",
-       "Napoleon Bonaparte was born on August 15, 1769 in Ajaccio, Corsica.
ModelResults
indexvalue
0
Microsoft.SemanticKernel.Orchestration.ModelResult
Culture
en
Parent
Parent
Parent
Parent
Parent
LCID127
KeyboardLayoutId127
Name
IetfLanguageTag
DisplayNameInvariant Language (Invariant Country)
NativeNameInvariant Language (Invariant Country)
EnglishNameInvariant Language (Invariant Country)
TwoLetterISOLanguageNameiv
ThreeLetterISOLanguageNameivl
ThreeLetterWindowsLanguageNameIVL
CompareInfoCompareInfo -
TextInfoTextInfo -
IsNeutralCultureFalse
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormatSystem.Globalization.NumberFormatInfo
DateTimeFormatSystem.Globalization.DateTimeFormatInfo
CalendarSystem.Globalization.GregorianCalendar
OptionalCalendars[ System.Globalization.GregorianCalendar ]
UseUserOverrideFalse
IsReadOnlyTrue
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
VersionSystem.Globalization.SortVersion
LCID127
TextInfo
TextInfo -
ANSICodePage1252
OEMCodePage437
MacCodePage10000
EBCDICCodePage37
LCID127
CultureName
IsReadOnlyTrue
ListSeparator,
IsRightToLeftFalse
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits2
CurrencyDecimalSeparator.
IsReadOnlyTrue
CurrencyGroupSizes[ 3 ]
NumberGroupSizes[ 3 ]
PercentGroupSizes[ 3 ]
CurrencyGroupSeparator,
CurrencySymbol¤
NaNSymbolNaN
CurrencyNegativePattern0
NumberNegativePattern1
PercentPositivePattern0
PercentNegativePattern0
NegativeInfinitySymbol-Infinity
NegativeSign-
NumberDecimalDigits2
NumberDecimalSeparator.
NumberGroupSeparator,
CurrencyPositivePattern0
PositiveInfinitySymbolInfinity
PositiveSign+
PercentDecimalDigits2
PercentDecimalSeparator.
PercentGroupSeparator,
PercentSymbol%
PerMilleSymbol‰
NativeDigits[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignatorAM
CalendarSystem.Globalization.GregorianCalendar
DateSeparator/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePatterndddd, dd MMMM yyyy HH:mm:ss
LongDatePatterndddd, dd MMMM yyyy
LongTimePatternHH:mm:ss
MonthDayPatternMMMM dd
PMDesignatorPM
RFC1123Patternddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePatternMM/dd/yyyy
ShortTimePatternHH:mm
SortableDateTimePatternyyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator:
UniversalSortableDateTimePatternyyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPatternyyyy MMMM
AbbreviatedDayNames[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
IsReadOnlyTrue
NativeCalendarNameGregorian Calendar
AbbreviatedMonthGenitiveNames[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, ]
MonthGenitiveNames[ January, February, March, April, May, June, July, August, September, October, November, December, ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
OptionalCalendars
indexvalue
0System.Globalization.GregorianCalendar
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion26777
SortId00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyTrue
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime1/1/0001 12:00:00 AM
MaxSupportedDateTime12/31/9999 11:59:59 PM
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras[ 1 ]
TwoDigitYearMax2029
IsReadOnlyFalse
UseUserOverride
False
IsReadOnly
True
LCID
127
KeyboardLayoutId
127
Name
IetfLanguageTag
DisplayName
Invariant Language (Invariant Country)
NativeName
Invariant Language (Invariant Country)
EnglishName
Invariant Language (Invariant Country)
TwoLetterISOLanguageName
iv
ThreeLetterISOLanguageName
ivl
ThreeLetterWindowsLanguageName
IVL
CompareInfo
CompareInfo -
Name
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-00000000007f
LCID
127
TextInfo
TextInfo -
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
127
CultureName
IsReadOnly
True
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
False
CultureTypesSpecificCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
True
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
0
NumberNegativePattern
1
PercentPositivePattern
0
PercentNegativePattern
0
NegativeInfinitySymbol
-Infinity
NegativeSign
-
NumberDecimalDigits
2
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
Infinity
PositiveSign
+
PercentDecimalDigits
2
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, dd MMMM yyyy HH:mm:ss
LongDatePattern
dddd, dd MMMM yyyy
LongTimePattern
HH:mm:ss
MonthDayPattern
MMMM dd
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
MM/dd/yyyy
ShortTimePattern
HH:mm
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
yyyy MMMM
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ Su, Mo, Tu, We, Th, Fr, Sa ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
True
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
True
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
False
IsReadOnly
True
LCID
9
KeyboardLayoutId
9
Name
en
IetfLanguageTag
en
DisplayName
English
NativeName
English
EnglishName
English
TwoLetterISOLanguageName
en
ThreeLetterISOLanguageName
eng
ThreeLetterWindowsLanguageName
ENU
CompareInfo
CompareInfo - en
Name
en
Version
System.Globalization.SortVersion
FullVersion
26777
SortId
00006899-0000-0000-0000-000000000009
LCID
9
TextInfo
TextInfo - en
ANSICodePage
1252
OEMCodePage
437
MacCodePage
10000
EBCDICCodePage
37
LCID
9
CultureName
en
IsReadOnly
False
ListSeparator
,
IsRightToLeft
False
IsNeutralCulture
True
CultureTypesNeutralCultures, InstalledWin32Cultures
NumberFormat
System.Globalization.NumberFormatInfo
CurrencyDecimalDigits
2
CurrencyDecimalSeparator
.
IsReadOnly
False
CurrencyGroupSizes
[ 3 ]
NumberGroupSizes
[ 3 ]
PercentGroupSizes
[ 3 ]
CurrencyGroupSeparator
,
CurrencySymbol
¤
NaNSymbol
NaN
CurrencyNegativePattern
1
NumberNegativePattern
1
PercentPositivePattern
1
PercentNegativePattern
1
NegativeInfinitySymbol
-∞
NegativeSign
-
NumberDecimalDigits
3
NumberDecimalSeparator
.
NumberGroupSeparator
,
CurrencyPositivePattern
0
PositiveInfinitySymbol
∞
PositiveSign
+
PercentDecimalDigits
3
PercentDecimalSeparator
.
PercentGroupSeparator
,
PercentSymbol
%
PerMilleSymbol
‰
NativeDigits
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
DigitSubstitutionNone
DateTimeFormat
System.Globalization.DateTimeFormatInfo
AMDesignator
AM
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
DateSeparator
/
FirstDayOfWeekSunday
CalendarWeekRuleFirstDay
FullDateTimePattern
dddd, MMMM d, yyyy h:mm:ss tt
LongDatePattern
dddd, MMMM d, yyyy
LongTimePattern
h:mm:ss tt
MonthDayPattern
MMMM d
PMDesignator
PM
RFC1123Pattern
ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern
M/d/yyyy
ShortTimePattern
h:mm tt
SortableDateTimePattern
yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator
:
UniversalSortableDateTimePattern
yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern
MMMM yyyy
AbbreviatedDayNames
[ Sun, Mon, Tue, Wed, Thu, Fri, Sat ]
ShortestDayNames
[ S, M, T, W, T, F, S ]
DayNames
[ Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
AbbreviatedMonthNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
IsReadOnly
False
NativeCalendarName
Gregorian Calendar
AbbreviatedMonthGenitiveNames
[ Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  ]
MonthGenitiveNames
[ January, February, March, April, May, June, July, August, September, October, November, December,  ]
Calendar
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
OptionalCalendars
indexvalue
0
System.Globalization.GregorianCalendar
MinSupportedDateTime0001-01-01 00:00:00Z
MaxSupportedDateTime9999-12-31 23:59:59Z
AlgorithmTypeSolarCalendar
CalendarTypeLocalized
Eras
[ 1 ]
TwoDigitYearMax
2029
IsReadOnly
False
UseUserOverride
True
IsReadOnly
False
Variables
keyvalue
INPUT
\n",
-       "\n",
-       "Napoleon Bonaparte was born on August 15, 1769 in Ajaccio, Corsica.
Skills
Microsoft.SemanticKernel.SkillDefinition.SkillCollection
LoggerFactory
Microsoft.Extensions.Logging.LoggerFactory
ErrorOccurred
False
LastException
<null>
Log
Microsoft.Extensions.Logging.Logger`1[Microsoft.SemanticKernel.Orchestration.SKContext]
CancellationToken
System.Threading.CancellationToken
IsCancellationRequested
False
CanBeCanceled
False
WaitHandle
System.Threading.ManualResetEvent
Handle
3376
SafeWaitHandle
Microsoft.Win32.SafeHandles.SafeWaitHandle
IsInvalid
False
IsClosed
False
Memory
System.InvalidOperationException: Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.\\r\\n at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\\r\\n at lambda_method334(Closure, SKContext)\\r\\n at Microsoft.DotNet.Interact...
TargetSite
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion
131072
FullyQualifiedName
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionId
f9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken
1
ScopeName
Microsoft.SemanticKernel.Abstractions.dll
Name
Microsoft.SemanticKernel.Abstractions.dll
Assembly
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
CodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
FullName
Microsoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
EntryPoint
<null>
DefinedTypes
indexvalue
0Microsoft.CodeAnalysis.EmbeddedAttribute
1System.Runtime.CompilerServices.IsReadOnlyAttribute
2System.Runtime.CompilerServices.IsUnmanagedAttribute
3System.Runtime.CompilerServices.NullableAttribute
4System.Runtime.CompilerServices.NullableContextAttribute
5HttpClientProvider
6NonDisposableHttpClientHandler
7System.ExceptionExtensions
8System.EnvExtensions
9System.Linq.AsyncEnumerable
10System.Diagnostics.CodeAnalysis.AllowNullAttribute
11System.Diagnostics.CodeAnalysis.DisallowNullAttribute
12System.Diagnostics.CodeAnalysis.MaybeNullAttribute
13System.Diagnostics.CodeAnalysis.NotNullAttribute
14System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
15System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
16System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
17System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
18System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
19System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
(100 more)
IsCollectible
False
ManifestModule
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
ReflectionOnly
False
Location
C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ImageRuntimeVersion
v4.0.30319
GlobalAssemblyCache
False
HostContext
0
IsDynamic
False
ExportedTypes
indexvalue
0Microsoft.SemanticKernel.ChatCompletionServiceExtensions
1Microsoft.SemanticKernel.TextEmbeddingServiceExtensions
2Microsoft.SemanticKernel.ImageGenerationServiceExtensions
3Microsoft.SemanticKernel.TextCompletionServiceExtensions
4Microsoft.SemanticKernel.IKernel
5Microsoft.SemanticKernel.KernelConfig
6Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine
7Microsoft.SemanticKernel.TemplateEngine.Blocks.Block
8Microsoft.SemanticKernel.SkillDefinition.FunctionsView
9Microsoft.SemanticKernel.SkillDefinition.FunctionView
10Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection
11Microsoft.SemanticKernel.SkillDefinition.ISKFunction
12Microsoft.SemanticKernel.SkillDefinition.ISkillCollection
13Microsoft.SemanticKernel.SkillDefinition.ParameterView
14Microsoft.SemanticKernel.SkillDefinition.ParameterViewType
15Microsoft.SemanticKernel.SkillDefinition.SKFunctionAttribute
16Microsoft.SemanticKernel.SkillDefinition.SKNameAttribute
17Microsoft.SemanticKernel.SkillDefinition.SKParameterAttribute
18Microsoft.SemanticKernel.Services.IAIService
19Microsoft.SemanticKernel.Services.IAIServiceProvider
(45 more)
IsFullyTrusted
True
CustomAttributes
indexvalue
0[System.Runtime.CompilerServices.ExtensionAttribute()]
1[System.Runtime.CompilerServices.CompilationRelaxationsAttribute((Int32)8)]
2[System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows = True)]
3[System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute+DebuggingModes)263)]
4[System.Runtime.Versioning.TargetFrameworkAttribute(\".NETStandard,Version=v2.0\", FrameworkDisplayName = \"\")]
5[System.CLSCompliantAttribute((Boolean)False)]
6[System.Reflection.AssemblyCompanyAttribute(\"Microsoft\")]
7[System.Reflection.AssemblyConfigurationAttribute(\"Publish\")]
8[System.Reflection.AssemblyCopyrightAttribute(\"© Microsoft Corporation. All rights reserved.\")]
9[System.Reflection.AssemblyDescriptionAttribute(\"Semantic Kernel interfaces and abstractions. This package is automatically installed by Semantic Kernel packages if needed.\")]
10[System.Reflection.AssemblyFileVersionAttribute(\"0.21.0.0\")]
11[System.Reflection.AssemblyInformationalVersionAttribute(\"0.21+3e12f1a78de7f40b58499072b5f38832d34d9f78\")]
12[System.Reflection.AssemblyProductAttribute(\"Semantic Kernel\")]
13[System.Reflection.AssemblyTitleAttribute(\"Microsoft.SemanticKernel.Abstractions\")]
14[System.Reflection.AssemblyMetadataAttribute(\"RepositoryUrl\", \"https://github.com/microsoft/semantic-kernel\")]
15[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Microsoft.SemanticKernel.Core, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
16[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"SemanticKernel.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
17[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"Extensions.UnitTests, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
18[System.Runtime.CompilerServices.InternalsVisibleToAttribute(\"DynamicProxyGenAssembly2, PublicKey=002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a\")]
EscapedCodeBase
file:///C:/Users/dicolomb/.nuget/packages/microsoft.semantickernel.abstractions/0.21.230828.2-preview/lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll
Modules
indexvalue
0Microsoft.SemanticKernel.Abstractions.dll
SecurityRuleSetNone
ModuleHandle
System.ModuleHandle
MDStreamVersion
131072
CustomAttributes(empty)
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value
140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValue
True
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken
134217728
AttributesNone
Member
Microsoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Name
get_Memory
DeclaringTypeMicrosoft.SemanticKernel.Orchestration.SKContext
ReflectedTypeMicrosoft.SemanticKernel.Orchestration.SKContext
MemberTypeMethod
MetadataToken
100663585
Module
Microsoft.SemanticKernel.Abstractions.dll
MDStreamVersion131072
FullyQualifiedNameC:\\Users\\dicolomb\\.nuget\\packages\\microsoft.semantickernel.abstractions\\0.21.230828.2-preview\\lib\\netstandard2.0\\Microsoft.SemanticKernel.Abstractions.dll
ModuleVersionIdf9615d6c-17d4-4d20-ba96-14e20c568e22
MetadataToken1
ScopeNameMicrosoft.SemanticKernel.Abstractions.dll
NameMicrosoft.SemanticKernel.Abstractions.dll
AssemblyMicrosoft.SemanticKernel.Abstractions, Version=0.21.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3
ModuleHandleSystem.ModuleHandle
CustomAttributes[ ]
IsSecurityCritical
True
IsSecuritySafeCritical
False
IsSecurityTransparent
False
MethodHandle
System.RuntimeMethodHandle
Value140717842235120
AttributesPrivateScope, Public, HideBySig, SpecialName
CallingConventionStandard, HasThis
ReturnTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
ReturnTypeCustomAttributes
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
ReturnParameter
Microsoft.SemanticKernel.Memory.ISemanticTextMemory
ParameterTypeMicrosoft.SemanticKernel.Memory.ISemanticTextMemory
Name
<null>
HasDefaultValueTrue
DefaultValue
<null>
RawDefaultValue
<null>
MetadataToken134217728
AttributesNone
MemberMicrosoft.SemanticKernel.Memory.ISemanticTextMemory get_Memory()
Position-1
IsInFalse
IsLcidFalse
IsOptionalFalse
IsOutFalse
IsRetvalFalse
CustomAttributes[ ]
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Position
-1
IsIn
False
IsLcid
False
IsOptional
False
IsOut
False
IsRetval
False
CustomAttributes(empty)
IsCollectible
False
IsGenericMethod
False
IsGenericMethodDefinition
False
ContainsGenericParameters
False
MethodImplementationFlagsIL
IsAbstract
False
IsConstructor
False
IsFinal
False
IsHideBySig
True
IsSpecialName
True
IsStatic
False
IsVirtual
False
IsAssembly
False
IsFamily
False
IsFamilyAndAssembly
False
IsFamilyOrAssembly
False
IsPrivate
False
IsPublic
True
IsConstructedGenericMethod
False
CustomAttributes(empty)
Message
Memory no longer passed through SKContext. Instead, initialize your skill class with the memory provider it needs.
Data(empty)
InnerException
<null>
HelpLink
<null>
Source
Microsoft.SemanticKernel.Abstractions
HResult
-2146233079
StackTrace
   at Microsoft.SemanticKernel.Orchestration.SKContext.get_Memory()\r\n",
-       "   at lambda_method334(Closure, SKContext)\r\n",
-       "   at Microsoft.DotNet.Interactive.Formatting.MemberAccessor`1.GetValueOrException(T instance) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\MemberAccessor{T}.cs:line 64
LastErrorDescription
<null>
" - ], - "text/plain": [ - "\n", - "\n", - "Napoleon Bonaparte was born on August 15, 1769 in Ajaccio, Corsica." - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - " var answer = await AskQuestion(\"Where was Napoleon born?\");\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8ddd02a2", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!aspnet\n", - "using System.IO;\n", - "using System.Text.Json;\n", - "using Microsoft.DotNet.Interactive;\n", - "using Microsoft.DotNet.Interactive.Commands;\n", - "using Microsoft.DotNet.Interactive.Events;\n", - "using Microsoft.DotNet.Interactive.AI;\n", - "\n", - "public record Question(string question);\n", - "\n", - "Endpoints.MapPost(\"/askquestion\", async context =>\n", - "{\n", - " var data = await new StreamReader(context.Request.Body).ReadToEndAsync();\n", - " try{\n", - " var question = System.Text.Json.JsonSerializer.Deserialize(data);\n", - " var response = await AskQuestion(question.question);\n", - " await context.Response.WriteAsync(response);\n", - " }catch(Exception ex){\n", - " await context.Response.WriteAsync(ex.ToString());\n", - " } \n", - "});" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "a38e0e99", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "#!aspnet-stop" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "599f9311", - "metadata": { - "dotnet_interactive": { - "language": "csharp" - }, - "polyglot_notebook": { - "kernelName": "csharp" - } - }, - "outputs": [], - "source": [ - "var uri = HttpClient.BaseAddress;" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "id": "c1ad38e1", - "metadata": { - "dotnet_interactive": { - "language": "javascript" - }, - "polyglot_notebook": { - "kernelName": "javascript" - } - }, - "outputs": [], - "source": [ - "#!set --value @csharp:uri --name uri" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "d520646f", - "metadata": { - "dotnet_interactive": { - "language": "html" - }, - "polyglot_notebook": { - "kernelName": "html" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
replace me
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "
replace me
" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "58d20f94", - "metadata": { - "dotnet_interactive": { - "language": "javascript" - }, - "polyglot_notebook": { - "kernelName": "javascript" - } - }, - "outputs": [], - "source": [ - "\n", - "fetch(`${uri}/askquestion`, {\n", - " method: \"post\",\n", - " headers: {\n", - " 'Accept': 'text/plain',\n", - " 'Content-Type': 'application/json',\n", - " 'Access-Control-Allow-Origin': '*'\n", - " },\n", - " body: JSON.stringify({\n", - " question: 'what did napoleon bonaparte do in military life?'\n", - " })\n", - " })\n", - " .then(response => response.text())\n", - " .then(text => document.getElementById(\"target_for_question\").innerHTML = text);\n" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "3f958921", - "metadata": { - "dotnet_interactive": { - "language": "html" - }, - "polyglot_notebook": { - "kernelName": "html" - } - }, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - " \n", - " \n", - "
replace me
\n", - "
\n", - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "
\n", - " \n", - " \n", - "
replace me
\n", - "
\n", - "" - ] - } - ], - "metadata": { - "kernelInfo": { - "defaultKernelName": null, - "items": [ - { - "aliases": [ - "c#", - "cs" - ], - "languageName": "C#", - "name": "csharp" - }, - { - "aliases": [ - "f#", - "fs" - ], - "languageName": "F#", - "name": "fsharp" - }, - { - "languageName": "HTML", - "name": "html" - }, - { - "languageName": "HTTP", - "name": "http" - }, - { - "aliases": [ - "js" - ], - "languageName": "JavaScript", - "name": "javascript" - }, - { - "languageName": "KQL", - "name": "kql" - }, - { - "languageName": "Mermaid", - "name": "mermaid" - }, - { - "aliases": [ - "powershell" - ], - "languageName": "PowerShell", - "name": "pwsh" - }, - { - "languageName": "SQL", - "name": "sql" - }, - { - "name": "value" - } - ] - }, - "kernelspec": { - "display_name": ".NET (C#)", - "language": "C#", - "name": ".net-csharp" - }, - "language_info": { - "name": "polyglot-notebook" - }, - "polyglot_notebook": { - "kernelInfo": { - "defaultKernelName": "csharp", - "items": [ - { - "aliases": [], - "languageName": "text", - "name": "chat" - }, - { - "aliases": [], - "languageName": "text", - "name": "chat(text)" - }, - { - "aliases": [], - "name": "csharp" - }, - { - "aliases": [], - "languageName": "text", - "name": "knowledge" - }, - { - "aliases": [], - "languageName": "SQL", - "name": "knowledge(duckDbVectorRAW)" - }, - { - "aliases": [], - "languageName": "text", - "name": "openai-old(image)" - }, - { - "aliases": [], - "languageName": "semantic-kernel.skprompt", - "name": "openaicode(skill)" - }, - { - "aliases": [], - "languageName": "text", - "name": "openaicode(text)" - }, - { - "aliases": [], - "languageName": "text", - "name": "textCompletion" - }, - { - "aliases": [], - "languageName": "semantic-kernel.skprompt", - "name": "textCompletion(skill)" - } - ] - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/samples/notebooks/ai/image generation.ipynb b/samples/notebooks/ai/image generation.ipynb index ecb0c3e3e3..e6cc26821c 100644 --- a/samples/notebooks/ai/image generation.ipynb +++ b/samples/notebooks/ai/image generation.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -11,24 +11,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
Installed Packages
  • Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23468.5
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ - "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23558.10\"" + "#r \"nuget:Microsoft.DotNet.Interactive.AI, 1.0.0-beta.23567.4\"" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -45,7 +35,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -62,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -71,24 +61,14 @@ "kernelName": "csharp" } }, - "outputs": [ - { - "data": { - "text/plain": [ - "Kernel added: #!image" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "#!connect azure-openai --model-type ImageGenerator --kernel-name image --api-key @value:key --endpoint @value:endpoint --deployment DALL-E" ] }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "image" @@ -97,17 +77,7 @@ "kernelName": "image" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "An inspiring scene where a bunch of developers create the best AI ever using .NET only. \n", "One of them is using a Mac, so it's a cross-platform AI. \n", diff --git a/src/Microsoft.DotNet.Interactive.ApiCompatibility.Tests/ApiCompatibilityTests.Interactive_api_is_not_changed.approved.txt b/src/Microsoft.DotNet.Interactive.ApiCompatibility.Tests/ApiCompatibilityTests.Interactive_api_is_not_changed.approved.txt index 6a102ec5cf..1d01683a9b 100644 --- a/src/Microsoft.DotNet.Interactive.ApiCompatibility.Tests/ApiCompatibilityTests.Interactive_api_is_not_changed.approved.txt +++ b/src/Microsoft.DotNet.Interactive.ApiCompatibility.Tests/ApiCompatibilityTests.Interactive_api_is_not_changed.approved.txt @@ -466,10 +466,6 @@ Microsoft.DotNet.Interactive.Connection public abstract class ConnectKernelCommand : System.CommandLine.Command, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.CommandLine.Completions.ICompletionSource public System.String ConnectedKernelDescription { get; set;} public System.Threading.Tasks.Task> ConnectKernelsAsync(Microsoft.DotNet.Interactive.KernelInvocationContext context, System.CommandLine.Invocation.InvocationContext commandLineContext) - public class ConnectNamedPipeCommand : ConnectKernelCommand, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.CommandLine.Completions.ICompletionSource - .ctor() - public System.CommandLine.Option PipeNameOption { get;} - public System.Threading.Tasks.Task> ConnectKernelsAsync(Microsoft.DotNet.Interactive.KernelInvocationContext context, System.CommandLine.Invocation.InvocationContext commandLineContext) public class FileSystemInfoJsonConverter : Microsoft.DotNet.Interactive.JsonConverter .ctor() public System.IO.FileSystemInfo Read(ref System.Text.Json.Utf8JsonReader& reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) @@ -537,12 +533,6 @@ Microsoft.DotNet.Interactive.Connection .ctor(T event) public T Event { get;} public System.String EventType { get;} - public class NamedPipeKernelConnector, System.IDisposable - .ctor(System.String pipeName) - public System.String PipeName { get;} - public System.Uri RemoteHostUri { get;} - public System.Threading.Tasks.Task CreateKernelAsync(System.String localName) - public System.Void Dispose() public class ProxyKernel : Microsoft.DotNet.Interactive.Kernel, Microsoft.DotNet.Interactive.IKernelCommandHandler, System.IDisposable .ctor(System.String name, IKernelCommandAndEventSender sender, IKernelCommandAndEventReceiver receiver, System.Uri remoteUri = null) protected Func CreateDefaultHandlerForCommandType() diff --git a/src/Microsoft.DotNet.Interactive.FSharp/FsAutoComplete/Lexer.fs b/src/Microsoft.DotNet.Interactive.FSharp/FsAutoComplete/Lexer.fs index 9a3b7e85c1..62dd42e8d8 100644 --- a/src/Microsoft.DotNet.Interactive.FSharp/FsAutoComplete/Lexer.fs +++ b/src/Microsoft.DotNet.Interactive.FSharp/FsAutoComplete/Lexer.fs @@ -44,7 +44,7 @@ module Lexer = |> Seq.choose (fun s -> if s.StartsWith "--define:" then Some s.[9..] else None) |> Seq.toList - let sourceTokenizer = FSharpSourceTokenizer(defines, Some "/tmp.fsx", None) + let sourceTokenizer = FSharpSourceTokenizer(defines, Some "/tmp.fsx", None, None) let lineTokenizer = sourceTokenizer.CreateLineTokenizer lineStr let rec loop lexState acc = diff --git a/src/Microsoft.DotNet.Interactive.Jupyter/Microsoft.DotNet.Interactive.Jupyter.csproj b/src/Microsoft.DotNet.Interactive.Jupyter/Microsoft.DotNet.Interactive.Jupyter.csproj index 94b9fcd8fa..ef540f31e1 100644 --- a/src/Microsoft.DotNet.Interactive.Jupyter/Microsoft.DotNet.Interactive.Jupyter.csproj +++ b/src/Microsoft.DotNet.Interactive.Jupyter/Microsoft.DotNet.Interactive.Jupyter.csproj @@ -29,7 +29,6 @@ - diff --git a/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Directory.Build.props b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Directory.Build.props new file mode 100644 index 0000000000..47aea44a94 --- /dev/null +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Directory.Build.props @@ -0,0 +1,9 @@ + + + + true + + + + + diff --git a/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests.csproj b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests.csproj new file mode 100644 index 0000000000..be87c293a7 --- /dev/null +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests.csproj @@ -0,0 +1,43 @@ + + + + net8.0-windows + latest + $(NoWarn);8002 + $(NoWarn);CS8524 + $(NoWarn);VSTHRD002 + $(NoWarn);VSTHRD003 + $(NoWarn);VSTHRD103 + $(NoWarn);VSTHRD105 + $(NoWarn);VSTHRD110 + $(NoWarn);VSTHRD200 + $(NoWarn);CS0219 + $(NoWarn);CA1416 + + $(NoWarn);NU1608 + + + + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/src/Microsoft.DotNet.Interactive.Tests/NamedPipeConnectionTests.cs b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/NamedPipeConnectionTests.cs similarity index 83% rename from src/Microsoft.DotNet.Interactive.Tests/NamedPipeConnectionTests.cs rename to src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/NamedPipeConnectionTests.cs index 1038e0a5b0..e283263460 100644 --- a/src/Microsoft.DotNet.Interactive.Tests/NamedPipeConnectionTests.cs +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector.Tests/NamedPipeConnectionTests.cs @@ -2,18 +2,21 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; -using System.Diagnostics.CodeAnalysis; using System.IO.Pipes; using System.Threading.Tasks; +using FluentAssertions; + using Microsoft.DotNet.Interactive.Commands; using Microsoft.DotNet.Interactive.Connection; using Microsoft.DotNet.Interactive.CSharp; using Microsoft.DotNet.Interactive.FSharp; +using Microsoft.DotNet.Interactive.Tests; +using Xunit; using Xunit.Abstractions; -namespace Microsoft.DotNet.Interactive.Tests; +namespace Microsoft.DotNet.Interactive.NamedPipeConnector.Tests; public class NamedPipeConnectionTests : ProxyKernelConnectionTestsBase { @@ -23,6 +26,18 @@ public NamedPipeConnectionTests(ITestOutputHelper output) : base(output) { } + [Fact] + public void connect_command_is_available_when_a_user_adds_a_kernel_connection_type() + { + using var compositeKernel = new CompositeKernel(); + + compositeKernel.AddKernelConnector(new ConnectNamedPipeCommand()); + + compositeKernel.Directives + .Should() + .Contain(c => c.Name == "#!connect"); + } + protected override Func> CreateConnector() { CreateRemoteKernelTopology(_pipeName); @@ -43,8 +58,7 @@ protected override void AddKernelConnector(CompositeKernel compositeKernel) { compositeKernel.AddKernelConnector(new ConnectNamedPipeCommand()); } - - [SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Test only enabled on windows platforms")] + private void CreateRemoteKernelTopology(string pipeName) { var remoteCompositeKernel = new CompositeKernel diff --git a/src/Microsoft.DotNet.Interactive/Connection/ConnectNamedPipeCommand.cs b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/ConnectNamedPipeCommand.cs similarity index 72% rename from src/Microsoft.DotNet.Interactive/Connection/ConnectNamedPipeCommand.cs rename to src/Microsoft.DotNet.Interactive.NamedPipeConnector/ConnectNamedPipeCommand.cs index 746ea244f1..19e78d0209 100644 --- a/src/Microsoft.DotNet.Interactive/Connection/ConnectNamedPipeCommand.cs +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/ConnectNamedPipeCommand.cs @@ -5,8 +5,9 @@ using System.CommandLine; using System.CommandLine.Invocation; using System.Threading.Tasks; +using Microsoft.DotNet.Interactive.Connection; -namespace Microsoft.DotNet.Interactive.Connection; +namespace Microsoft.DotNet.Interactive.NamedPipeConnector; public class ConnectNamedPipeCommand : ConnectKernelCommand { @@ -15,6 +16,12 @@ public class ConnectNamedPipeCommand : ConnectKernelCommand AddOption(PipeNameOption); } + public static void AddToRootKernel() + { + var compositeKernel = Kernel.Root as CompositeKernel; + compositeKernel!.AddKernelConnector(new ConnectNamedPipeCommand()); + } + public Option PipeNameOption { get; } = new("--pipe-name", "The name of the named pipe") { @@ -27,12 +34,12 @@ public override async Task> ConnectKernelsAsync( { var pipeName = commandLineContext.ParseResult.GetValueForOption(PipeNameOption); - var connector = new NamedPipeKernelConnector(pipeName); + var connector = new NamedPipeKernelConnector(pipeName!); var localName = commandLineContext.ParseResult.GetValueForOption(KernelNameOption); - var proxyKernel = await connector.CreateKernelAsync(localName); + var proxyKernel = await connector.CreateKernelAsync(localName!); - return new [] {proxyKernel}; + return new Kernel[] {proxyKernel}; } } \ No newline at end of file diff --git a/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Directory.Build.props b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Directory.Build.props new file mode 100644 index 0000000000..47aea44a94 --- /dev/null +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Directory.Build.props @@ -0,0 +1,9 @@ + + + + true + + + + + diff --git a/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Microsoft.DotNet.Interactive.NamedPipeConnector.csproj b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Microsoft.DotNet.Interactive.NamedPipeConnector.csproj new file mode 100644 index 0000000000..3c4fba56bd --- /dev/null +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/Microsoft.DotNet.Interactive.NamedPipeConnector.csproj @@ -0,0 +1,32 @@ + + + + net8.0-windows + latest + enable + Microsoft.DotNet.Interactive.NamedPipeConnectorConnector + $(NoWarn);8002;CS8002 + $(NoWarn);CA1416 + + + + true + Extension that allows connecting via namedpaipes + polyglot notebook dotnet interactive namedpipe + + + + + + + + + all + + + + + + + + diff --git a/src/Microsoft.DotNet.Interactive/Connection/NamedPipeKernelConnector.cs b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/NamedPipeKernelConnector.cs similarity index 89% rename from src/Microsoft.DotNet.Interactive/Connection/NamedPipeKernelConnector.cs rename to src/Microsoft.DotNet.Interactive.NamedPipeConnector/NamedPipeKernelConnector.cs index 54f7d122df..370ae73fdc 100644 --- a/src/Microsoft.DotNet.Interactive/Connection/NamedPipeKernelConnector.cs +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/NamedPipeKernelConnector.cs @@ -1,6 +1,8 @@ // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +#nullable enable + using System; using System.IO.Pipes; using System.Reactive.Disposables; @@ -8,18 +10,16 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.DotNet.Interactive.Commands; -using CompositeDisposable = Pocket.CompositeDisposable; +using Microsoft.DotNet.Interactive.Connection; -#nullable enable - -namespace Microsoft.DotNet.Interactive.Connection; +namespace Microsoft.DotNet.Interactive.NamedPipeConnector; public class NamedPipeKernelConnector : IDisposable { private KernelCommandAndEventReceiver? _receiver; private KernelCommandAndEventSender? _sender; private NamedPipeClientStream? _clientStream; - private RefCountDisposable? _refCountDisposable = null; + private RefCountDisposable? _refCountDisposable; public NamedPipeKernelConnector(string pipeName) { @@ -31,6 +31,7 @@ public NamedPipeKernelConnector(string pipeName) public Uri RemoteHostUri { get; } + public async Task CreateKernelAsync(string localName) { ProxyKernel? proxyKernel; @@ -55,8 +56,8 @@ public async Task CreateKernelAsync(string localName) _refCountDisposable = new RefCountDisposable(new CompositeDisposable { - () => _clientStream.Dispose(), - () => _receiver.Dispose() + Disposable.Create( () => _clientStream.Dispose()), + Disposable.Create( () => _receiver.Dispose()) }); proxyKernel = new ProxyKernel( diff --git a/src/Microsoft.DotNet.Interactive.NamedPipeConnector/extension.dib b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/extension.dib new file mode 100644 index 0000000000..4e7c5ca4e8 --- /dev/null +++ b/src/Microsoft.DotNet.Interactive.NamedPipeConnector/extension.dib @@ -0,0 +1,3 @@ +#!csharp + +Microsoft.DotNet.Interactive.NamedPipeConnector.ConnectNamedPipeCommand.AddToRootKernel(); diff --git a/src/Microsoft.DotNet.Interactive.PowerShell.Tests/PowerShellKernelTests.cs b/src/Microsoft.DotNet.Interactive.PowerShell.Tests/PowerShellKernelTests.cs index 893097856e..08a31439c2 100644 --- a/src/Microsoft.DotNet.Interactive.PowerShell.Tests/PowerShellKernelTests.cs +++ b/src/Microsoft.DotNet.Interactive.PowerShell.Tests/PowerShellKernelTests.cs @@ -69,7 +69,7 @@ public async Task PowerShell_progress_sends_updated_display_values() e => e.Should().BeOfType()); } - [Fact(Skip = "Waiting for a fix for https://github.com/PowerShell/PowerShell/issues/20079")] + [Fact] public async Task When_command_is_not_recognized_then_the_command_fails() { using var kernel = CreateKernel(Language.PowerShell); diff --git a/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellExtensions.cs b/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellExtensions.cs index 356c6c36a8..6691a437c0 100644 --- a/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellExtensions.cs +++ b/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellExtensions.cs @@ -15,7 +15,7 @@ internal static class PowerShellExtensions AddToHistory = true }; - public static void InvokeAndClearCommands(this PowerShell pwsh) + public static void InvokeAndClear(this PowerShell pwsh) { try { @@ -23,11 +23,16 @@ public static void InvokeAndClearCommands(this PowerShell pwsh) } finally { - pwsh.Streams.ClearStreams(); - pwsh.Commands.Clear(); + Clear(pwsh); } } + public static void Clear(this PowerShell pwsh) + { + pwsh.Streams.ClearStreams(); + pwsh.Commands.Clear(); + } + internal static SecureString GetSecureStringPassword(this PasswordString pwdString) { var secure = new SecureString(); diff --git a/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellKernel.cs b/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellKernel.cs index 94e29c19c9..6b9d7b63f6 100644 --- a/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellKernel.cs +++ b/src/Microsoft.DotNet.Interactive.PowerShell/PowerShellKernel.cs @@ -49,6 +49,7 @@ public class PowerShellKernel : private readonly PSKernelHost _psHost; private readonly Lazy _lazyPwsh; + private int _errorCount; private PowerShell pwsh => _lazyPwsh.Value; @@ -277,9 +278,9 @@ async Task IKernelCommandHandler.HandleAsync( } else { - RunSubmitCodeLocally(code); + var success = RunSubmitCodeLocally(code); - if (pwsh.HadErrors) + if (!success || pwsh.HadErrors) { context.Fail(context.Command); } @@ -370,24 +371,47 @@ private async Task RunSubmitCodeInAzShell(string code) } } - private void RunSubmitCodeLocally(string code) + private bool RunSubmitCodeLocally(string code) { + var succeeded = true; + try { pwsh.AddScript(code).AddCommand(_outDefaultCommand); pwsh.Commands.Commands[0].MergeMyResults(PipelineResultTypes.Error, PipelineResultTypes.Output); - pwsh.InvokeAndClearCommands(); + pwsh.InvokeAndClear(); + + pwsh.AddScript("$error"); + var output = new List(); + try + { + pwsh.Invoke(input: null, output: output); + } + finally + { + pwsh.Clear(); + } + + if (output.Count > _errorCount) + { + succeeded = false; + } + + _errorCount = output.Count; } catch (Exception e) { ReportException(e); + succeeded = false; } finally { ((PSKernelHostUserInterface)_psHost.UI).ResetProgress(); } + + return succeeded; } private static bool IsCompleteSubmission(string code, out ParseError[] errors) @@ -406,7 +430,7 @@ private void ReportError(ErrorRecord error) pwsh.AddCommand(_outDefaultCommand) .AddParameter("InputObject", psObject) - .InvokeAndClearCommands(); + .InvokeAndClear(); } private void ReportException(Exception e) diff --git a/src/Microsoft.DotNet.Interactive.Tests/ConnectDirectiveTests.cs b/src/Microsoft.DotNet.Interactive.Tests/ConnectDirectiveTests.cs index d44340e58e..5bfcd686f7 100644 --- a/src/Microsoft.DotNet.Interactive.Tests/ConnectDirectiveTests.cs +++ b/src/Microsoft.DotNet.Interactive.Tests/ConnectDirectiveTests.cs @@ -42,17 +42,7 @@ public void connect_command_is_not_available_by_default() .NotContain(c => c.Name == "#!connect"); } - [Fact] - public void connect_command_is_available_when_a_user_adds_a_kernel_connection_type() - { - using var compositeKernel = new CompositeKernel(); - - compositeKernel.AddKernelConnector(new ConnectNamedPipeCommand()); - compositeKernel.Directives - .Should() - .Contain(c => c.Name == "#!connect"); - } [Fact] public async Task When_a_kernel_is_connected_then_information_about_it_is_displayed() diff --git a/src/dotnet-interactive/CommandLine/CommandLineParser.cs b/src/dotnet-interactive/CommandLine/CommandLineParser.cs index 6716eb536d..36f613e778 100644 --- a/src/dotnet-interactive/CommandLine/CommandLineParser.cs +++ b/src/dotnet-interactive/CommandLine/CommandLineParser.cs @@ -507,7 +507,6 @@ private static CompositeKernel CreateKernel( .UseImportMagicCommand() .UseNuGetExtensions(telemetrySender); - kernel.AddKernelConnector(new ConnectNamedPipeCommand()); kernel.AddKernelConnector(new ConnectSignalRCommand()); kernel.AddKernelConnector(new ConnectStdIoCommand(startupOptions.KernelHost)); diff --git a/test-retry-runner.ps1 b/test-retry-runner.ps1 index 65151bef79..bb5cb58b1d 100644 --- a/test-retry-runner.ps1 +++ b/test-retry-runner.ps1 @@ -15,8 +15,9 @@ if ($IsWindows) { else { $projectsToSkip = @( - "Microsoft.DotNet.Interactive.VisualStudio.Tests", "Microsoft.DotNet.Interactive.CSharpProject.Tests" + "Microsoft.DotNet.Interactive.NamedPipeConnector.Tests", + "Microsoft.DotNet.Interactive.VisualStudio.Tests" ) }