Skip to content

chore: Refactor embeddings instantiation to use a singleton pattern

Codecov / codecov/patch succeeded Jun 14, 2024 in 0s

60.00% of diff hit (target 21.58%)

View this Pull Request on Codecov

60.00% of diff hit (target 21.58%)

Annotations

Check warning on line 18 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L18

Added line #L18 was not covered by tests

Check warning on line 31 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L31

Added line #L31 was not covered by tests

Check warning on line 50 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L50

Added line #L50 was not covered by tests

Check warning on line 60 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L60

Added line #L60 was not covered by tests

Check warning on line 66 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L66

Added line #L66 was not covered by tests

Check warning on line 72 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L72

Added line #L72 was not covered by tests

Check warning on line 77 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L77

Added line #L77 was not covered by tests

Check warning on line 79 in application/vectorstore/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

application/vectorstore/base.py#L79

Added line #L79 was not covered by tests