Skip to content

Commit

Permalink
Merge pull request Azure-Samples#89 from colombod/more_notebooks
Browse files Browse the repository at this point in the history
Update libraries
  • Loading branch information
luisquintanilla authored Jan 19, 2024
2 parents bc47399 + b4d9732 commit d532220
Show file tree
Hide file tree
Showing 22 changed files with 846 additions and 88 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Basic_Samples/Embeddings/dotnet/csharp/fine_food_reviews_with_embeddings_1k.csv

.vs/

**/appsettings.[Dd]evelopment.json
**/appsettings.[Dd]evelopment.json
Basic_Samples/Embeddings/dotnet/csharp/query_rewriting_pack/
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
},
"outputs": [],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\"\n",
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\"\n",
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -66,7 +66,7 @@
},
"outputs": [],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions Basic_Samples/Chat/dotnet/csharp/chat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -54,7 +54,7 @@
},
"outputs": [],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions Basic_Samples/DALL-E/dotnet/csharp/DALL-E.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -61,7 +61,7 @@
},
"outputs": [],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\"\n",
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\"\n",
"\n",
"using Microsoft.DotNet.Interactive;\n",
"using Microsoft.DotNet.Interactive.AIUtilities;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li><li><span>Qdrant.Client, 1.6.0-alpha.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li><li><span>Qdrant.Client, 1.6.0-alpha.1</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\"\n",
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\"\n",
"#r \"nuget: Qdrant.Client, 1.6.0-alpha.1\""
]
},
Expand Down Expand Up @@ -94,7 +94,7 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2</span></li></ul></div></div>"
]
},
"metadata": {},
Expand All @@ -103,15 +103,15 @@
{
"data": {
"text/plain": [
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.23611.1\\interactive-extensions\\dotnet\\extension.dib`"
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.24054.2\\interactive-extensions\\dotnet\\extension.dib`"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -135,7 +135,7 @@
},
"outputs": [],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\"\n",
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\"\n",
"\n",
"using Microsoft.DotNet.Interactive;\n",
"using Microsoft.DotNet.Interactive.AIUtilities;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -137,15 +137,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\"\n",
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\"\n",
"\n",
"using Microsoft.DotNet.Interactive;\n",
"using Microsoft.DotNet.Interactive.AIUtilities;"
Expand Down
8 changes: 4 additions & 4 deletions Basic_Samples/Embeddings/dotnet/csharp/Clustering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -55,15 +55,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand Down Expand Up @@ -299,7 +299,7 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2</span></li></ul></div></div>"
]
},
"metadata": {},
Expand All @@ -308,15 +308,15 @@
{
"data": {
"text/plain": [
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.23611.1\\interactive-extensions\\dotnet\\extension.dib`"
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.24054.2\\interactive-extensions\\dotnet\\extension.dib`"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand Down Expand Up @@ -82,7 +82,7 @@
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions Basic_Samples/Embeddings/dotnet/csharp/Get_embeddings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand All @@ -63,7 +63,7 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2</span></li></ul></div></div>"
]
},
"metadata": {},
Expand All @@ -72,15 +72,15 @@
{
"data": {
"text/plain": [
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.23611.1\\interactive-extensions\\dotnet\\extension.dib`"
"Loading extension script from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.dotnet.interactive.aiutilities\\1.0.0-beta.24054.2\\interactive-extensions\\dotnet\\extension.dib`"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
{
"data": {
"text/html": [
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.11</span></li></ul></div></div>"
"<div><div></div><div></div><div><strong>Installed Packages</strong><ul><li><span>Azure.AI.OpenAI, 1.0.0-beta.12</span></li></ul></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.11\""
"#r \"nuget: Azure.AI.OpenAI, 1.0.0-beta.12\""
]
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@
},
"outputs": [],
"source": [
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.23611.1\""
"#r \"nuget:Microsoft.DotNet.Interactive.AIUtilities, 1.0.0-beta.24054.2\""
]
},
{
Expand Down
Loading

0 comments on commit d532220

Please sign in to comment.