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

[Go] change embedder plugins to use Init and New #276

Merged
merged 2 commits into from
May 29, 2024
Merged

Conversation

ianlancetaylor
Copy link
Contributor

Change the pinecone and localvec plugins to use a New function that returns an ai.Retriever, and an Init function that registers one with genkit.

This makes the pinecone and localvec plugins consistent with each other, and with other plugins such as googleai.

Change the pinecone and localvec plugins to use a New function that
returns an ai.Retriever, and an Init function that registers one with genkit.

This makes the pinecone and localvec plugins consistent with each other,
and with other plugins such as googleai.
@ianlancetaylor ianlancetaylor merged commit 82aa75f into main May 29, 2024
5 checks passed
@ianlancetaylor ianlancetaylor deleted the iant2 branch May 29, 2024 17:44
@ianlancetaylor
Copy link
Contributor Author

Argh, I did not mean to include the menu samples.

ianlancetaylor added a commit that referenced this pull request May 29, 2024
Accidentally committed in #276.
ianlancetaylor added a commit that referenced this pull request May 29, 2024
Accidentally committed in #276.
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.

2 participants