-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
3,156 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Auto-detect text files, ensure they use LF. | ||
* text=auto eol=lf working-tree-encoding=UTF-8 | ||
|
||
# Bash scripts | ||
*.sh text eol=lf | ||
*.cmd text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# @microsoft/octo-semantickernel-pr-dotnet owns any files in the dotnet | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/dotnet/ @microsoft/octo-semantickernel-pr-dotnet | ||
|
||
# @microsoft/octo-semantickernel-pr-python owns any files in the python | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/python/ @microsoft/octo-semantickernel-pr-python | ||
|
||
# @microsoft/octo-semantickernel-pr-python owns any files in the java | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
/java/ @microsoft/octo-semantickernel-pr-java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: 'Bug: ' | ||
labels: ["bug"] | ||
projects: ["semantic-kernel"] | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Platform** | ||
- OS: [e.g. Windows, Mac] | ||
- IDE: [e.g. Visual Studio, VS Code] | ||
- Language: [e.g. C#, Python] | ||
- Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: Feature graduation | ||
about: Plan the graduation of an experimental feature | ||
title: 'Graduate XXX feature' | ||
labels: ["feature_graduation"] | ||
projects: ["semantic-kernel"] | ||
assignees: '' | ||
|
||
--- | ||
|
||
--- | ||
name: Feature graduation | ||
about: Plan the graduation of an experimental feature | ||
|
||
--- | ||
|
||
Checklist to be completed when graduating an experimental feature | ||
|
||
- [ ] Notify PM's and EM's that feature is read for graduation | ||
- [ ] Contact PM for list of sample use cases | ||
- [ ] Verify there are sample implementations for each of the use cases | ||
- [ ] Verify telemetry and logging are complete | ||
- [ ] Verify API docs are complete and arrange to have them published | ||
- [ ] Make appropriate updates to Learn docs | ||
- [ ] Make appropriate updates to Concept samples | ||
- [ ] Male appropriate updates to Blog posts | ||
- [ ] Verify there are no serious open Issues | ||
- [ ] Update table in EXPERIMENTS.md | ||
- [ ] Remove SKEXP flag from the experimental code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: 'New Feature: ' | ||
labels: '' | ||
projects: ["semantic-kernel"] | ||
assignees: '' | ||
|
||
--- | ||
|
||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> | ||
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> | ||
<!-- Please search existing issues to avoid creating duplicates. --> | ||
|
||
<!-- Describe the feature you'd like. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Typos configuration file | ||
# | ||
# Info: https://github.com/marketplace/actions/typos-action | ||
# Install: brew install typos-cli | ||
# Install: conda install typos | ||
# Run: typos -c .github/_typos.toml | ||
|
||
[files] | ||
extend-exclude = [ | ||
"_typos.toml", | ||
"package-lock.json", | ||
"*.bicep", | ||
"encoder.json", | ||
"vocab.bpe", | ||
"CodeTokenizerTests.cs", | ||
"test_code_tokenizer.py", | ||
"*response.json", | ||
] | ||
|
||
[default.extend-words] | ||
ACI = "ACI" # Azure Container Instance | ||
exercize = "exercize" # test typos | ||
gramatical = "gramatical" # test typos | ||
Guid = "Guid" # Globally Unique Identifier | ||
HD = "HD" # Test header value | ||
EOF = "EOF" # End of File | ||
ans = "ans" # Short for answers | ||
arange = "arange" # Method in Python numpy package | ||
prompty = "prompty" # prompty is a format name. | ||
ist = "ist" # German language | ||
|
||
[default.extend-identifiers] | ||
ags = "ags" # Azure Graph Service | ||
|
||
[type.jupyter] | ||
extend-ignore-re = [ | ||
'"[A-Fa-f0-9]{8}"', # cell id strings | ||
] | ||
|
||
[type.msbuild] | ||
extend-ignore-re = [ | ||
'Version=".*"', # ignore package version numbers | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for nuget | ||
- package-ecosystem: "nuget" | ||
directory: "dotnet/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
ignore: | ||
# For all System.* and Microsoft.Extensions/Bcl.* packages, ignore all major version updates | ||
- dependency-name: "System.*" | ||
update-types: ["version-update:semver-major"] | ||
- dependency-name: "Microsoft.Extensions.*" | ||
update-types: ["version-update:semver-major"] | ||
- dependency-name: "Microsoft.Bcl.*" | ||
update-types: ["version-update:semver-major"] | ||
- dependency-name: "Moq" | ||
labels: | ||
- ".NET" | ||
- "dependencies" | ||
|
||
# Maintain dependencies for nuget | ||
- package-ecosystem: "nuget" | ||
directory: "samples/dotnet" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
|
||
# Maintain dependencies for npm | ||
- package-ecosystem: "npm" | ||
directory: "samples/apps" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
|
||
# Maintain dependencies for pip | ||
- package-ecosystem: "pip" | ||
directory: "python/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
labels: | ||
- "python" | ||
- "dependencies" | ||
|
||
# Maintain dependencies for github-actions | ||
- package-ecosystem: "github-actions" | ||
# Workflow files stored in the | ||
# default location of `.github/workflows` | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Add 'kernel' label to any change within Connectors, Extensions, Skills, and tests directories | ||
kernel: | ||
- dotnet/src/Connectors/**/* | ||
- dotnet/src/Extensions/**/* | ||
- dotnet/src/Skills/**/* | ||
- dotnet/src/IntegrationTests/**/* | ||
- dotnet/src/SemanticKernel.UnitTests/**/* | ||
|
||
# Add 'kernel.core' label to any change within the 'SemanticKernel', 'SemanticKernel.Abstractions', or 'SemanticKernel.MetaPackage' directories | ||
kernel.core: | ||
- dotnet/src/SemanticKernel/**/* | ||
- dotnet/src/SemanticKernel.Abstractions/**/* | ||
- dotnet/src/SemanticKernel.MetaPackage/**/* | ||
|
||
# Add 'python' label to any change within the 'python' directory | ||
python: | ||
- python/**/* | ||
|
||
# Add 'java' label to any change within the 'java' directory | ||
java: | ||
- java/**/* | ||
|
||
# Add 'samples' label to any change within the 'samples' directory | ||
samples: | ||
- samples/**/* | ||
|
||
# Add '.NET' label to any change within samples or kernel 'dotnet' directories. | ||
.NET: | ||
- dotnet/**/* | ||
|
||
# Add 'copilot chat' label to any change within the 'samples/apps/copilot-chat-app' directory | ||
copilot chat: | ||
- samples/apps/copilot-chat-app/**/* | ||
|
||
# Add 'documentation' label to any change within the 'docs' directory, or any '.md' files | ||
documentation: | ||
- docs/**/* | ||
- '**/*.md' | ||
|
||
# Add 'memory' label to any memory connectors in dotnet/ or python/ | ||
memory: | ||
- dotnet/src/Connectors/Connectors.Memory.*/**/* | ||
- python/semantic_kernel/connectors/memory/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Motivation and Context | ||
|
||
<!-- Thank you for your contribution to the semantic-kernel repo! | ||
Please help reviewers and future users, providing the following information: | ||
1. Why is this change required? | ||
2. What problem does it solve? | ||
3. What scenario does it contribute to? | ||
4. If it fixes an open issue, please link to the issue here. | ||
--> | ||
|
||
### Description | ||
|
||
<!-- Describe your changes, the overall approach, the underlying design. | ||
These notes will help understanding how your code works. Thanks! --> | ||
|
||
### Contribution Checklist | ||
|
||
<!-- Before submitting this PR, please make sure: --> | ||
|
||
- [ ] The code builds clean without any errors or warnings | ||
- [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations | ||
- [ ] All unit tests pass, and I have added new tests where possible | ||
- [ ] I didn't break anyone :smile: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: 90 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 90 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# CodeQL is the code analysis engine developed by GitHub to automate security checks. | ||
# The results are shown as code scanning alerts in GitHub. For more details, visit: | ||
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql | ||
|
||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: ["main", "experimental*", "feature*", "*-development"] | ||
schedule: | ||
- cron: "17 11 * * 2" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["csharp", "python", "java"] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Use only 'java' to analyze code written in Java, Kotlin or both | ||
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
if: ${{ matrix.language != 'java' }} | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
- name: Setup JDK | ||
uses: actions/setup-java@v4 | ||
if: ${{ matrix.language == 'java' }} | ||
with: | ||
java-version: 17 | ||
distribution: microsoft | ||
cache: maven | ||
|
||
- name: Build Java | ||
if: ${{ matrix.language == 'java' }} | ||
run: ./mvnw -B -DskipTests -Pcompile-jdk17 clean install --file pom.xml | ||
working-directory: java | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
Oops, something went wrong.