Skip to content

Commit 14928d1

Browse files
authored
Merge pull request #7 from Bunnings-Engineering/feat/setup-llama-and-mcp-integration
Feat/setup llama and mcp integration
2 parents 9fe066d + a4d6f7b commit 14928d1

26 files changed

Lines changed: 293 additions & 91 deletions

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
4444
dpkg -i packages-microsoft-prod.deb
4545
rm packages-microsoft-prod.deb
46-
apt-get update && apt-get install -y dotnet-sdk-8.0
46+
apt-get update && apt-get install -y dotnet-sdk-9.0
4747
4848
- name: Prepare models
4949
run: |

.github/workflows/code_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v3
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 9.0.x
2323
- name: Restore dependencies
2424
run: dotnet restore
2525
- name: Format

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build:
1313
name: Test
1414
runs-on: ${{ matrix.os }}
15-
strategy:
15+
strategy:
1616
fail-fast: false
1717
matrix:
1818
build: [linux-release, windows-release, osx-release]
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/setup-dotnet@v4
3838
with:
3939
dotnet-version: |
40-
8.0.x
40+
9.0.x
4141
- name: Install Mobile Workloads
4242
if: ${{ contains(runner.os, 'windows') }}
4343
run: |

.github/workflows/release-minor-trigger.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
runs-on: ubuntu-22.04
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Setup .NET 6.0.x SDK
17-
uses: actions/setup-dotnet@v3
15+
- uses: actions/checkout@v4
16+
- name: Setup .NET 9.0.x SDK
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 9.0.x

.github/workflows/release-patch-trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Setup .NET 6.0.x SDK
16+
- name: Setup .NET 9.0.x SDK
1717
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 9.0.x

.github/workflows/update_api_references.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
- uses: actions/setup-dotnet@v4
1818
with:
1919
dotnet-version: |
20-
8.0.x
20+
9.0.x
2121
- name: install_tool_and_generate_api_docs
2222
run: |
2323
dotnet tool install -g XMLDoc2Markdown
2424
dotnet build ./LLama/LLamaSharp.csproj
25-
cd LLama/bin/Debug/net8.0
25+
cd LLama/bin/Debug/net9.0
2626
rm -rf ../../../../docs/xmldocs
2727
dotnet xmldoc2md LLamaSharp.dll -o ../../../../docs/xmldocs --back-button
2828

LLama.Benchmark/LLama.Benchmark.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
<PropertyGroup>
55
<OutputType>Exe</OutputType>
6-
<TargetFramework>net8.0</TargetFramework>
6+
<TargetFramework>net9.0</TargetFramework>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
<Configuration>Release</Configuration>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="BenchmarkDotNet" Version="0.15.2" />
14-
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.15.2" />
13+
<PackageReference Include="BenchmarkDotNet" Version="0.15.4" />
14+
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.15.4" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

LLama.Examples/LLama.Examples.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\LLama\LLamaSharp.Runtime.targets" />
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0</TargetFrameworks>
5+
<TargetFrameworks>net9.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<Platforms>AnyCPU;x64</Platforms>
@@ -14,14 +14,14 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.8" />
17+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.9" />
1818
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.98.250508.3" />
19-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.64.0" />
19+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.65.0" />
2020
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.44.0-alpha" />
2121
<PackageReference Include="NAudio" Version="2.2.1" />
2222
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11" />
23-
<PackageReference Include="Spectre.Console" Version="0.50.0" />
24-
<PackageReference Include="Spectre.Console.ImageSharp" Version="0.50.0" />
23+
<PackageReference Include="Spectre.Console" Version="0.51.1" />
24+
<PackageReference Include="Spectre.Console.ImageSharp" Version="0.51.1" />
2525
<PackageReference Include="Whisper.net" Version="1.8.1" />
2626
<PackageReference Include="Whisper.net.Runtime" Version="1.8.1" />
2727
<PackageReference Include="Whisper.net.Runtime.Clblast" Version="1.5.0" />

LLama.Experimental/LLama.Experimental.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net9;netstandard2.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<langversion>12</langversion>

LLama.KernelMemory/LLamaSharp.KernelMemory.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Version>0.25.0</Version>

0 commit comments

Comments
 (0)