learning_ai_common_plat/packages/llm/src/providers
saravanakumardb1 151e07207b feat(llm): add vision, streaming, and embedding support
- ContentPart types (TextContentPart, ImageUrlContentPart) for multipart messages
- ChatMessage.content now accepts string | ContentPart[] for vision
- EmbeddingRequest/Response types + optional embed() on LLMProvider
- chatCompletionStream() implemented in OpenAI + Azure providers (SSE parsing)
- embed() implemented in OpenAI + Azure providers
- Vision helpers: isVisionMessage, hasVisionContent, buildVisionMessage, getMessageText
- MockLLMProvider: streaming, embedding, vision content support
- 27 tests passing (up from 7)
2026-04-06 07:42:30 -07:00
..
azure-openai.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
gemini.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
mock.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
openai.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
perplexity.ts feat(llm): add Perplexity, Gemini providers and createFallbackChain 2026-04-05 12:50:08 -07:00