Skip to content

Commit

Permalink
Add nuget package common props (#14)
Browse files Browse the repository at this point in the history
* Add nuget package common props
  • Loading branch information
TaoChenOSU authored Aug 14, 2023
1 parent 3417ce0 commit d761a9a
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotnet/ClientLib/ClientLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<IsPackable>true</IsPackable>
</PropertyGroup>

<Import Project="../nuget/nuget-package.props" />

<ItemGroup>
<PackageReference Include="System.Memory.Data" Version="7.0.0" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
Expand Down
2 changes: 2 additions & 0 deletions dotnet/CoreLib/CoreLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<IsPackable>true</IsPackable>
</PropertyGroup>

<Import Project="../nuget/nuget-package.props" />

<ItemGroup>
<ProjectReference Include="..\ClientLib\ClientLib.csproj" />
</ItemGroup>
Expand Down
13 changes: 13 additions & 0 deletions dotnet/nuget/NUGET.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# About Semantic Memory

**Semantic Memory** is an open-source library and service specialized
in the efficient indexing of datasets through custom continuous data pipelines.
Utilizing advanced embeddings and LLMs, the system enables Natural Language
querying for obtaining answers from the indexed data, complete with citations
and links to the original sources. Designed for seamless integration with
[Semantic Kernel](https://aka.ms/semantic-kernel), Semantic Memory enhances
data-driven features in applications built using SK.

# Getting Started ⚡

- Check out the [GitHub repository](https://github.com/microsoft/semantic-memory) for the latest updates.
Binary file added dotnet/nuget/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions dotnet/nuget/nuget-package.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<Project>
<PropertyGroup>
<!-- Central version prefix - applies to all nuget packages. -->
<Version>0.0.1</Version>

<!-- Default description and tags. Packages can override. -->
<Authors>Microsoft</Authors>
<Company>Microsoft</Company>
<Product>Semantic Memory</Product>
<Description>Index and query any data using LLM and natural language, tracking sources and showing citations.</Description>
<PackageTags>Memory, Semantic Memory, AI, Artificial Intelligence, Embeddings, Vector DB, Vector Search, ETL, SDK</PackageTags>
<PackageId>$(AssemblyName)</PackageId>

<!-- Required license, copyright, and repo information. Packages can override. -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/microsoft/semantic-memory</PackageProjectUrl>
<RepositoryUrl>https://github.com/microsoft/semantic-memory</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>

<!-- Use icon and NUGET readme from dotnet/nuget folder -->
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl>icon.png</PackageIconUrl>
<PackageReadmeFile>NUGET.md</PackageReadmeFile>

<!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<!-- Include the XML documentation file in the NuGet package. -->
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<!-- SourceLink allows step-through debugging for source hosted on GitHub. -->
<!-- https://github.com/dotnet/sourcelink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<!-- Include icon.png and NUGET.md in the project. -->
<None Include="./icon.png" Link="icon.png" Pack="true" PackagePath="." />
<None Include="./NUGET.md" Link="NUGET.md" Pack="true" PackagePath="." />
</ItemGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
</Project>

0 comments on commit d761a9a

Please sign in to comment.