-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Documentation fix for Custom Embedding Functions #1886
base: main
Are you sure you want to change the base?
Conversation
Added OpenAiEmbeddingFunction as an allowed type to be in line with the documentation and to accept custom OAI-like embedder
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #1886OverviewThe changes implemented in this PR address documentation alignment and type definitions for the embedding functions in the CrewAI framework. Overall, the updates are beneficial as they enhance the clarity and usability of the embedder configurations. Code Quality Findings1.
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #1886OverviewThe proposed changes to 1.
|
Motivation
When I tried to set up custom embedder, I could not pass the OAI embedding funct like it is said in the documentation, it would gave
Even by setting a custom config it would still only route to the default OAI url, not using the user-defined base url, with no possibility of having a custom one.
Added OpenAiEmbeddingFunction as an allowed type to be in line with the documentation and to accept custom OAI-like embedder.
EDIT: I later found the part where you use the custom fn, SO i changed this PR to a documentation fix pull request