Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Matrix for the Java SK (Experimental) #1189

Merged
merged 6 commits into from
May 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 59 additions & 47 deletions FEATURE_MATRIX.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,76 @@
# Kernel Feature Matrix by Language

**Legend**

- ✅: Supported
- 🔄: Work in progress
- ❌: Not supported _yet_

## AI Services
| | C# | Python | Notes |
|---|---|---|---|
| TextGeneration | ✅ | ✅ | Example: Text-Davinci-003 |
| TextEmbeddings | ✅ | ✅ | Example: Text-Embeddings-Ada-002 |
| ChatCompletion | ✅ | ✅ | Example: GPT4, Chat-GPT |
| Image Generation | ✅ | ❌ | Example: Dall-E |

| | C# | Python | Java | Notes |
|---|---|---|---|---|
| TextGeneration | ✅ | ✅ | ✅ | Example: Text-Davinci-003 |
| TextEmbeddings | ✅ | ✅ | ✅ | Example: Text-Embeddings-Ada-002 |
| ChatCompletion | ✅ | ✅ | ❌ | Example: GPT4, Chat-GPT |
| Image Generation | ✅ | ❌ | ❌ | Example: Dall-E |

## AI Service Endpoints
| | C# | Python | Notes |
|---|---|---|---|
| OpenAI | ✅ | ✅ | |
| AzureOpenAI | ✅ | ✅ | |
| Hugging Face Inference API | 🔄 | ❌ | Coming soon to Python, not all scenarios are covered for .NET |
| Hugging Face Local | ❌ | ✅ | |
| Custom | ✅ | 🔄 | Requires the user to define the service schema in their application |

| | C# | Python | Java| Notes |
|---|---|---|---|---|
| OpenAI | ✅ | ✅ | ✅ | |
| AzureOpenAI | ✅ | ✅ | ✅ | |
| Hugging Face Inference API | 🔄 | ❌ | ❌ | Coming soon to Python, not all scenarios are covered for .NET |
| Hugging Face Local | ❌ | ✅ | ❌ | |
| Custom | ✅ | 🔄 | ❌ | Requires the user to define the service schema in their application |

## Tokenizers
| | C# | Python | Notes |
|---|---|---|---|
| GPT2 | ✅ | ✅ | |
| GPT3 | ✅ | ❌ | |

| | C# | Python | Java | Notes |
|---|---|---|---|---|
| GPT2 | ✅ | ✅ | ✅ | |
| GPT3 | ✅ | ❌ | ❌ | |
| tiktoken | 🔄 | ❌ | Coming soon to Python and C#. Can be manually added to Python via `pip install tiktoken` |

## Core Skills
| | C# | Python | Notes |
|---|---|---|---|
| TextMemorySkill | ✅ | ✅ | |
| ConversationSummarySkill | ✅ | ✅ | |
| FileIOSkill | ✅ | ✅ | |
| HttpSkill | ✅ | ✅ | |
| MathSkill | ✅ | ✅ | |
| TextSkill | ✅ | ✅ | |
| TimeSkill | ✅ | ✅ | |

| | C# | Python | Java | Notes |
|---|---|---|---|---|
| TextMemorySkill | ✅ | ✅ | 🔄 | |
| ConversationSummarySkill | ✅ | ✅ | ❌ | |
| FileIOSkill | ✅ | ✅ | ❌ | |
| HttpSkill | ✅ | ✅ | ❌ | |
| MathSkill | ✅ | ✅ | ❌ | |
| TextSkill | ✅ | ✅ | 🔄 | |
| TimeSkill | ✅ | ✅ | 🔄 | |

## Planning
| | C# | Python | Notes |
|---|---|---|---|
| Plan | ✅ | ❌ | |
| SequentialPlanner | ✅ | ❌ | |

| | C# | Python | Java | Notes |
|---|---|---|---|---|
| Plan | ✅ | ❌ | ❌ | |
| SequentialPlanner | ✅ | ❌ | ❌ | |

## Connectors and Skill Libraries
| | C# | Python | Notes |
|---|---|---|---|
| Qdrant (Memory) | ✅ | ❌ | Vector optimized |
| ChromaDb (Memory) | ❌ | 🔄 | |
| Milvus (Memory) | ❌ | ❌ | Vector optimized |
| Pinecone (Memory) | ✅ | ❌ | Vector optimized |
| Weaviate (Memory) | ❌ | ❌ | Vector optimized |
| CosmosDB (Memory) | ✅ | ❌ | CosmosDB is not optimized for vector storage |
| Sqlite (Memory) | ✅ | ❌ | Sqlite is not optimized for vector storage |
| Postgres (Memory) | ✅ | ❌ | Vector optimized (required the [pgvector](https://github.com/pgvector/pgvector) extension) |
| Azure Cognitive Search | ❌ | ❌ | |
| MsGraph | ✅ | ❌ | Contains connectors for OneDrive, Outlook, ToDos, and Organization Hierarchies |
| Document Skills | ✅ | ❌ | Currently only supports Word documents |
| OpenAPI | ✅ | ❌ | |
| Web Skills | ✅ | ❌ | |

# Design Choices

| | C# | Python | Java | Notes |
|---|---|---|---|---|
| Qdrant (Memory) | ✅ | ❌ | ❌ | Vector optimized |
| ChromaDb (Memory) | ❌ | 🔄 | ❌ | |
| Milvus (Memory) | ❌ | ❌ | ❌ | Vector optimized |
| Pinecone (Memory) | ✅ | ❌ | ❌ | Vector optimized |
| Weaviate (Memory) | ❌ | ❌ | ❌ | Vector optimized |
| CosmosDB (Memory) | ✅ | ❌ | ❌ | CosmosDB is not optimized for vector storage |
| Sqlite (Memory) | ✅ | ❌ | ❌ | Sqlite is not optimized for vector storage |
| Postgres (Memory) | ✅ | ❌ | ❌ | Vector optimized (required the [pgvector](https://github.com/pgvector/pgvector) extension) |
| Azure Cognitive Search | ❌ | ❌ | ❌ | |
| MsGraph | ✅ | ❌ | ❌ | Contains connectors for OneDrive, Outlook, ToDos, and Organization Hierarchies |
| Document Skills | ✅ | ❌ | ❌ | Currently only supports Word documents |
| OpenAPI | ✅ | ❌ | ❌ | |
| Web Skills | ✅ | ❌ | ❌ | |

## Design Choices

The overall architecture of the core kernel is consistent across Python and C#,
brunoborges marked this conversation as resolved.
Show resolved Hide resolved
however, the code should follow common paradigms and style of each language.
Expand Down
Loading