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

Update OpenAI.jl to add provider based embeddings like in create_chat #67

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

Roeya
Copy link
Contributor

@Roeya Roeya commented Nov 23, 2024

Add create_embedding function that receives a provider instead of API_KEY, like the create_chat variant.
this enables easy customization to use other open ai compatible models like llamafiler

Add  create_embedding function that receives a provider instead of API_KEY
@roryl23
Copy link
Collaborator

roryl23 commented Nov 23, 2024

Thanks for the PR! I'll review by end of this weekend

@roryl23 roryl23 merged commit 5935334 into JuliaML:main Nov 29, 2024
1 of 2 checks passed
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