Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce Embedder interface #13

Merged
merged 2 commits into from
Dec 20, 2023
Merged

feat: introduce Embedder interface #13

merged 2 commits into from
Dec 20, 2023

Conversation

milosgajdos
Copy link
Owner

@milosgajdos milosgajdos commented Dec 20, 2023

This lets you make the API client generic when instantiated with NewEmbedder funcs.

This needs a bit more thinking and cleaning up. We should make the doRequest generic, too, to avoid duplication.

This lets you make the API client generic when instantiated NewEmbedder
funcs. This needs a bit more thinking and cleaning up.

Signed-off-by: Milos Gajdos <[email protected]>
@milosgajdos milosgajdos merged commit 103d79f into main Dec 20, 2023
4 checks passed
@milosgajdos milosgajdos deleted the embedder-interface branch December 20, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant