llm_core 0.1.0
llm_core: ^0.1.0 copied to clipboard
Core abstractions for LLM (Large Language Model) interactions. Provides common interfaces, models, and utilities used by LLM backend implementations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-01-19 #
Added #
- Initial release
- Core abstractions for LLM interactions:
LLMChatRepository- Abstract interface for chat completionsLLMMessage- Message representation with roles and contentLLMResponse- Response wrapper with metadataLLMChunk- Streaming response chunksLLMEmbedding- Text embedding representation
- Tool calling support:
LLMTool- Tool definition with JSON Schema parametersLLMToolCall- Tool invocation representationLLMToolParam- Parameter definitions
- Exception types for error handling