Adds auto-configuration and a starter for Ollama.
Resolves #68
Comment From: shakuzen
I've rebased on the latest main
but I'm getting errors in the tests of Transformers Embedding, which I haven't touched with my changes, so I don't think the failures are related. Does CI not run against pull requests?
Comment From: tzolov
Hi @shakuzen , thank you for the contribution. I will have a look shortly. Can you share the Transformers Embedding error and what OS are running on?
Comment From: tzolov
Rebased, squashed and merged at 6bdea65cd50759249db509fbaa3f5393be741f95
Comment From: shakuzen
Can you share the Transformers Embedding error and what OS are running on?
I'm on an apple silicon MBP.
[ERROR] Failures:
[ERROR] TransformersEmbeddingClientTests.embed:38
expected: -0.19744634628295898
but was: -0.19744601845741272
[ERROR] TransformersEmbeddingClientTests.embedDocument:48
expected: -0.19744634628295898
but was: -0.19744601845741272
[ERROR] TransformersEmbeddingClientTests.embedForResponse:78
expected: -0.19744634628295898
but was: -0.19744601845741272
[ERROR] TransformersEmbeddingClientTests.embedList:59
expected: -0.19744634628295898
but was: -0.19744601845741272
[INFO]
[ERROR] Tests run: 9, Failures: 4, Errors: 0, Skipped: 0
Comment From: tzolov
thanks @shakuzen ,
Apparently, there is a rounding discrepancy, after the 6th digit, for the different platforms.
Have to adjust the tests
Comment From: tzolov
should be fixed now.
Comment From: shakuzen
The tests are passing for me now.
Comment From: tzolov
Cool! Thanks. Now the thread is officially closed.