-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Embedchain upgrade to latest version error #2027
Comments
The key problem is the version upgrade from 0.1.124 to 0.1.125 causing a TypeError with SegmentAPI's Here's a step-by-step resolution:
pip install chromadb>=0.4.13
from embedchain import App
# Option 1: Specify collection name explicitly
app = App(config={
"collection_name": "my_custom_collection"
})
# Option 2: If using a specific embedding function
from embedchain.embedder.openai import OpenAIEmbedder
embedder = OpenAIEmbedder()
app = App(embedder=embedder)
vectordb:
provider: chroma
config:
collection_name: 'my-app-collection'
Recommendations:
Would you like me to elaborate on any of these steps or do you need more specific guidance based on your exact implementation? |
@AbhigyaWangoo Thank you for your reply, but it doesn't work for me. |
What specifically won't work for you? |
🐛 Describe the bug
Using embedchain version 0.1.124 everything works fine, but when upgrading to 0.1.125, chroma errors occur.
TypeError: SegmentAPI.get_or_create_collection() got an unexpected keyword argument 'embedding_function'
The text was updated successfully, but these errors were encountered: