v0.4.0
v0.4.0 (2024-09-18)
Chore
- chore: additional tests for the embeddings and langchain
additional tests for the embeddings and langchain (2bd89df)
- chore: remove unused import from test_llm_langchain.py (
e478ea9)
Ci
-
ci: debuging the environment (
a58ecd6) -
ci: debuging the environment (
296178b) -
ci: debuging the environment (
df36a4a) -
ci: debuging the environment (
d5d33ae) -
ci: debuging the environment (
16fe833)
Feature
- feat: create cache file if it does not exist and initialize with an empty dictionary (
41afb37)
Fix
-
fix: configured the pipeline to use dummy keys (
0ab78a5) -
fix: configured the pipeline to use dummy keys (
d89b3a4) -
fix: formatting (
9d33d0a) -
fix: create cache file if it doesn't exist in OpenAIEmbeddingGeneratorAdapter initialization (
f473410) -
fix: create cache file if it doesn't exist on adapter initialization (
6bdddfd) -
fix: handle empty or unpicklable cache file in EmbeddingsCache to prevent TypeError (
fb81fc8) -
fix: update resources_dir fixture to point to the correct resources directory (
f6b7a8d) -
fix: Improve cache loading logic to avoid unnecessary file creation and ensure valid initialization of the cache. (
a8dd5b0)
Test
-
test: Fix mocking of chain's invoke method in llm_langchain tests to resolve ValueError (
fd740dd) -
test: Add unit tests for LangChainClient response generation and fix undefined OutputParserException import (
8be8d73) -
test: Add response generation tests for LangChainClient including success, unconfigured chain, and retry mechanism scenarios (
f088e2c) -
test: Add tests for configure_chain method and fix undefined ChatPromptTemplate import (
bcbe771) -
test: Add unit tests for chain configuration handling in LangChainClient (
f838dd1) -
test: Add unit tests for LangChainClient's configure_chain method and fix undefined PromptManager import (
15c0897) -
test: add unit tests for chain configuration in LangChainClient (
a960138) -
test: Fix LangChainClient initialization test by providing correct prompts file path and adding resources directory fixture (
1d44696) -
test: add initialization test for LangChainClient class (
34babda) -
test: add test for handling an existing but empty cache file in OpenAIEmbeddingGeneratorAdapter (
7d7f18c) -
test: add test for cache creation on new adapter instance (
450d7b3)