learning_ai_common_plat/packages/llm/src
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
..
__tests__ feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
providers feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
factory.ts feat(llm): add Perplexity, Gemini providers and createFallbackChain 2026-04-05 12:50:08 -07:00
fallback.ts feat(llm): add Perplexity, Gemini providers and createFallbackChain 2026-04-05 12:50:08 -07:00
index.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00
testing.ts feat(packages): add cloud-agnostic abstraction packages — datastore, storage, llm, push + refactor secrets (58 tests) 2026-03-02 00:43:06 -08:00
types.ts feat(llm): add vision, streaming, and embedding support 2026-04-06 07:42:30 -07:00