Add options support to PostgresMlEmbeddingClient

- Add postgremaddmbedding adoc page.
- Auto-configuration:
  - add missing  boot-starter.
  - refactor autoconf class and properties to accomodate the PostgresMlEmbeddingOptions.
- PostgesMlEmbeddingClient
  - Add the (default) options field and remove old fields.
  - Implement default and request options merging.
  - Add tests for options and merging.
- Remove redundant code.
- Code style fixes.
This commit is contained in:
Christian Tzolov
2024-02-06 18:19:00 +01:00
parent 7b58f426ec
commit ed6a464ba8
16 changed files with 759 additions and 255 deletions

View File

@@ -340,4 +340,4 @@ public class TransformersEmbeddingClient extends AbstractEmbeddingClient impleme
return new DefaultResourceLoader().getResource(uri);
}
}
}