|
48 | 48 | │ ├── Abstractions/ # LangChain.Splitters.Abstractions (CharacterTextSplitter, etc.) |
49 | 49 | │ └── CSharp/ # LangChain.Splitters.CSharp |
50 | 50 | ├── Extensions/ |
51 | | -│ ├── DependencyInjection/ # LangChain.Extensions.DependencyInjection |
52 | 51 | │ └── Docker/ # LangChain.Extensions.Docker |
53 | 52 | ├── Serve/ |
54 | 53 | │ ├── Abstractions/ # LangChain.Serve.Abstractions |
|
59 | 58 | │ ├── Sql/ # LangChain.Utilities.Sql |
60 | 59 | │ └── Postgres/ # LangChain.Utilities.Postgres |
61 | 60 | ├── Cli/ # LangChain.Cli |
62 | | -└── Providers/Abstractions/ # Local copy of provider abstractions (mirrors LangChain.Providers) |
| 61 | + # Note: Non-MEAI provider interfaces (TTS, Image, ImageToText) are in Core/src/Providers/ |
63 | 62 | examples/ # Sample projects (OpenAI, Azure, Memory, Serve, LocalRAG, etc.) |
64 | 63 | ``` |
65 | 64 |
|
@@ -87,12 +86,12 @@ examples/ # Sample projects (OpenAI, Azure, Memory, Serve, |
87 | 86 | ### Dependencies |
88 | 87 |
|
89 | 88 | LangChain.Core depends on: |
90 | | -- `LangChain.Providers.Abstractions` (NuGet) — non-MEAI provider interfaces (ITextToSpeechModel, ITextToImageModel, IImageToTextModel) and message types (Message, MessageRole) |
91 | 89 | - `LangChain.Databases.Abstractions` (NuGet) — message history (BaseChatMessageHistory, ChatMessageHistory) |
92 | | -- `Microsoft.Extensions.AI` (NuGet) — MEAI interfaces (IChatClient, IEmbeddingGenerator, ISpeechToTextClient) |
| 90 | +- `Microsoft.Extensions.AI` (NuGet) — MEAI interfaces (IChatClient, IEmbeddingGenerator, ISpeechToTextClient, ChatMessage, ChatRole) |
93 | 91 | - `Microsoft.Extensions.VectorData.Abstractions` (NuGet) — MEVA vector store abstractions (`VectorStore`, `VectorStoreCollection<TKey, TRecord>`) |
94 | 92 | - `LangChain.DocumentLoaders.Abstractions` (project reference) |
95 | 93 | - `LangChain.Splitters.Abstractions` (project reference) |
| 94 | +- Non-MEAI provider interfaces (ITextToSpeechModel, ITextToImageModel, IImageToTextModel) are defined locally in `src/Core/src/Providers/` |
96 | 95 |
|
97 | 96 | The meta-package additionally references: |
98 | 97 | - `tryAGI.OpenAI`, `tryAGI.Anthropic`, `Ollama` — SDK packages implementing MEAI interfaces natively |
|
0 commit comments