Comments (2)
Hey @pratikkotian04 thanks for reporting the issue.
I just checked the code and realized that this is happening because we dont have support for embeddings model via Cohere. (Issue #1248 for tracking)
For now, can you please try any other embedding model provider like hugging face or together ai?
Here is the complete config file. It includes cohere as the llm and hugging face as the embedding model.
llm:
provider: cohere
config:
model: large
temperature: 0.5
max_tokens: 1000
top_p: 1
embedder:
provider: huggingface
config:
model: 'sentence-transformers/all-mpnet-base-v2'
Let me know if it doesnt work for you.
from embedchain.
from embedchain.
Related Issues (20)
- Add support for embedding model from Cohere HOT 3
- AttributeError: type object 'App' has no attribute 'from_config' HOT 3
- Integrate Infinity Framework for Enhanced Embedding Inference Speed
- DOC: Following Quick Start and Im facing a lot of issues HOT 9
- PDF File requires extra dependencies. Install with pip install --upgrade "embedchain[dataloaders]" HOT 2
- DOC: Following Quick Start with Hugging Face and no answer HOT 1
- Session factory is not initialized HOT 4
- DOC: Following Quick Start with Hugging Face and error (Python 3.12.2, embedchain 0.1.84) HOT 2
- Add support to pass Callback Handlers HOT 1
- Try to share app.config.id with two programs with no success with huggingface (embedchain 0.1.88)
- data source model uses "type" not "data_type" HOT 2
- Introduction of alembic caused regression HOT 2
- Facing issue with quick start guide HOT 2
- Add support for providing certificate files for the websites HOT 1
- query returns the prompt and document? HOT 3
- [qdrant] is not a valid point ID, valid values are either an unsigned in
- Add support for Azure AI Search Vector Store
- Unable to install embedchain on manjaro HOT 1
- Request to make where clause optional in queries
- Audio Files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embedchain.