Open Softdev1 opened 3 months ago
For unit tests on the IQ GPT backend, focus on validating the accuracy of responses related to topics like celebrities IQ, ensuring consistent performance under various conditions, and checking integration with external data sources for reliability.
We need to implement unit tests for various components of the IQ GPT Backend to ensure robustness and reliability. This issue focuses on setting up and writing unit tests for the following TypeScript files:
src/core/domain/dataFilter/LLMDataFilter.ts
src/core/domain/tool/DocumentSearch.ts
src/core/domain/tool/APISearch.ts
src/core/domain/endpointSelector/llmEndpointSelector/LLMEndpointSelector.ts
src/core/domain/endpointSelector/vectorEndpointsSelector/VectorEndpointsSelector.ts
src/core/domain/endpointSelector/EndpointSelector.ts
src/core/domain/endpointSelector/enumFetcher/EnumFetcher.ts
src/core/infrastructure/aiModels/GPT4O.ts
src/core/infrastructure/tracer/LangfuseTracer.ts
src/core/infrastructure/vectorDB/QdrantDB.ts
Tasks
LLMDataFilter.ts
.DocumentSearch.ts
.APISearch.ts
.LLMEndpointSelector.ts
.EndpointSelector.ts
.EnumFetcher.ts
.LangfuseTracer.ts
.QdrantDB.ts
.SourceCollector.ts
ToolManager.ts