Skip to content

Commit 371f54b

Browse files
dlucawharrison-28
andauthoredJun 5, 2023
Bump SK python version from 0.2.9 to 0.3.0 (#1342)
New release and updated feature matrix --------- Co-authored-by: Abby Harrison <abby.harrison@microsoft.com>
1 parent f8567c6 commit 371f54b

File tree

2 files changed

+60
-56
lines changed

2 files changed

+60
-56
lines changed
 

‎FEATURE_MATRIX.md

+59-55
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Kernel Feature Matrix by Language
1+
# Semantic Kernel Feature Matrix by Language
22

33
**Legend**
44

@@ -10,79 +10,83 @@
1010

1111
| | C# | Python | Java | Notes |
1212
|-----------------------------------|:----:|:------:|:----:|-------|
13-
| TextGeneration |||| Example: Text-Davinci-003 |
14-
| TextEmbeddings |||| Example: Text-Embeddings-Ada-002 |
15-
| ChatCompletion |||| Example: GPT4, Chat-GPT |
16-
| Image Generation |||| Example: Dall-E |
13+
| Text Generation | | | | Example: text-davinci-003 |
14+
| Text Embeddings | | | | Example: text-embeddings-ada-002 |
15+
| Chat Completion | | | | Example: GPT-4, GPT-3.5-turbo |
16+
| Image Generation | | | | Example: Dall-E 2 |
1717

1818
## AI Service Endpoints
1919

20-
| | C# | Python | Java | Notes |
21-
|-----------------------------------|:----:|:------:|:----:|-------|
22-
| OpenAI |||| |
23-
| AzureOpenAI |||| |
24-
| Hugging Face Inference API | 🔄 ||| Coming soon to Python, not all scenarios are covered for .NET |
25-
| Hugging Face Local |||| |
26-
| Custom || 🔄 || Requires the user to define the service schema in their application |
20+
| | C# | Python | Java | Notes |
21+
|-----------------------------------|:---:|:------:|:----:|-------|
22+
| OpenAI | | | | |
23+
| Azure OpenAI | | | | |
24+
| Hugging Face Inference API | 🔄 | | | Coming soon to Python, not all scenarios are covered for .NET |
25+
| Hugging Face Local | | | | |
26+
| Custom | | 🔄 | | Requires to define the service schema in the application |
2727

2828
## Tokenizers
2929

30-
| | C# | Python | Java | Notes |
31-
|-----------------------------------|:----:|:------:|:----:|-------|
32-
| GPT2 |||| |
33-
| GPT3 |||| |
34-
| tiktoken | 🔄 ||| Coming soon to Python and C#. Can be manually added to Python via `pip install tiktoken` |
30+
| | C# | Python | Java | Notes |
31+
|-----------------------------------|:---:|:------:|:----:|-------|
32+
| GPT2 | | | | |
33+
| GPT3 | | | | |
34+
| tiktoken | | || Coming soon. Can be added manually to Python via `pip install tiktoken` |
3535

3636
## Core Skills
3737

38-
| | C# | Python | Java | Notes |
39-
|-----------------------------------|:----:|:------:|:----:|-------|
40-
| TextMemorySkill ||| 🔄 | |
41-
| ConversationSummarySkill |||| |
42-
| FileIOSkill |||| |
43-
| HttpSkill |||| |
44-
| MathSkill |||| |
45-
| TextSkill ||| 🔄 | |
46-
| TimeSkill ||| 🔄 | |
47-
| WaitSkill |||| |
38+
| | C# | Python | Java | Notes |
39+
|-----------------------------------|:---:|:------:|:----:|-------|
40+
| TextMemory Skill | | | 🔄 | |
41+
| ConversationSummary Skill | | | | |
42+
| FileIO Skill | | | | |
43+
| Http Skill | | | | |
44+
| Math Skill | | | | |
45+
| Text Skill | | | 🔄 | |
46+
| Time Skill | | | 🔄 | |
47+
| Wait Skill | | | | |
4848

4949
## Planning
5050

51-
| | C# | Python | Java | Notes |
52-
|-----------------------------------|:----:|:------:|:----:|-------|
53-
| Plan |||| Need to port the Plan object model |
54-
| BasicPlanner |||| |
55-
| ActionPlanner |||| |
56-
| SequentialPlanner |||| |
51+
| | C# | Python | Java | Notes |
52+
|-----------------------------------|:---:|:------:|:----:|-------|
53+
| Plan || 🔄 || Plan object model to be completed |
54+
| BasicPlanner |||| |
55+
| ActionPlanner |||| |
56+
| SequentialPlanner |||| |
57+
58+
## Memory Connectors, Vector storage
59+
60+
| | C# | Python | Java | Notes |
61+
|---------------|:---:|:------:|:----:|-------|
62+
| Azure Search || 🔄 || Azure Cognitive Search under development, currently in private preview |
63+
| Qdrant |||| |
64+
| Pinecone |||| |
65+
| Weaviate |||| Currently supported on Python 3.9-3.11, 3.8 coming soon |
66+
| ChromaDb |||| |
67+
| Milvus |||| Coming soon |
68+
| Sqlite |||| Vector optimization requires [sqlite-vss](https://github.com/asg017/sqlite-vss) |
69+
| Postgres |||| Vector optimization requires [pgvector](https://github.com/pgvector/pgvector) |
70+
| CosmosDB |||| CosmosDB is not optimized for vector storage |
5771

5872
## Connectors and Skill Libraries
5973

60-
| | C# | Python | Java | Notes |
61-
|-----------------------------------|:----:|:------:|:----:|-------|
62-
| Qdrant (Memory) |||| |
63-
| ChromaDb (Memory) || 🔄 || |
64-
| Milvus (Memory) |||| |
65-
| Pinecone (Memory) |||| |
66-
| Weaviate (Memory) | ❌ | ✅ | ❌ | | Vector optimized
67-
| CosmosDB (Memory) |||| CosmosDB is not optimized for vector storage |
68-
| Sqlite (Memory) |||| Sqlite is not optimized for vector storage |
69-
| Postgres (Memory) |||| Vector optimized (required the [pgvector](https://github.com/pgvector/pgvector) extension) |
70-
| Azure Cognitive Search || 🔄 || |
71-
| MsGraph |||| Contains connectors for OneDrive, Outlook, ToDos, and Organization Hierarchies |
72-
| Document and Data Loading Skills (i.e. pdf, csv, docx, pptx) |||| Currently only supports Word documents |
73-
| OpenAPI |||| |
74-
| Web Search Skills (i.e. Bing, Google) |||| |
75-
| Text Chunkers | 🔄 | 🔄 || |
76-
77-
## Design Choices
74+
| | C# | Python | Java | Notes |
75+
|---------------------------------------|:---:|:------:|:----:|-------|
76+
| MsGraph |||| Contains connectors for OneDrive, Outlook, ToDos, and Organization Hierarchies |
77+
| Document and Data Loading Skills |||| Pdf, csv, docx, pptx. Currently only supports Word documents |
78+
| OpenAPI |||| |
79+
| Web Search Skills (i.e. Bing, Google) |||| |
80+
| Text Chunkers | 🔄 | 🔄 || |
81+
82+
# Design Choices
7883

7984
The overall architecture of the core kernel is consistent across all languages,
80-
however, the code should follow common paradigms and style of each language.
85+
however, the code follows common paradigms and style of each language.
8186

8287
During the initial development phase, many Python best practices have been ignored
8388
in the interest of velocity and feature parity. The project is now going through
8489
a refactoring exercise to increase code quality.
8590

86-
To make the Kernel as lightweight as possible, the core pip package should have
87-
a minimal set of external dependencies. On the other hand, the SDK should not
88-
reinvent mature solutions already available, unless of major concerns.
91+
To make the SDK as lightweight as possible, the core packages have
92+
a minimal set of external dependencies.

‎python/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "semantic-kernel"
3-
version = "0.2.9.dev"
3+
version = "0.3.0.dev"
44
description = ""
55
authors = ["Microsoft <SK-Support@microsoft.com>"]
66
readme = "pip/README.md"

0 commit comments

Comments
 (0)