swarmauri / swarmauri-sdk

https://swarmauri.com
Apache License 2.0
10 stars 21 forks source link

[Test Case Failure]: Vector not defined #237

Open JustusOmbok opened 2 weeks ago

JustusOmbok commented 2 weeks ago

Test Case

./swarmauri/standard/vector_stores/concrete/SqliteVectorStore.py:91:25: F821

Pytest Logs

./swarmauri/standard/vector_stores/concrete/SqliteVectorStore.py:91:25: F821 undefined name 'Vector' embedding = Vector( ^ 1 F821 undefined name 'Vector' 1 Error: Process completed with exit code 1.

Root Cause

The test case is likely failing because the Vector class is not defined in the code.

Potential Solutions

Ensure that the Vector class is defined in the appropriate module and imported correctly by the MatplotlibTool.py file. If the Vector class is defined in a different file, ensure it is imported correctly.

Additional Context (optional)

No response

Type of Test Case

Unit

cobycloud commented 2 weeks ago

we should add from swarmauri.standard.vectors.concrete.Vector import Vector to ./swarmauri/standard/vector_stores/concrete/SqliteVectorStore.py