Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated last year
0
Follow
I cannot for the life of me find where
I cannot for the life of me find where
Inactive
0
Follow
D
Drewzy
last year
Β·
I cannot for the life of me find where to allow remote code for the embedding model. Can anybody point me in a good direction?
W
D
L
8 comments
Share
Open in Discord
W
WhiteFang_Jr
last year
Do you want to use embedding model via API?
D
Drewzy
last year
Using a local model
W
WhiteFang_Jr
last year
Is it self hosted or you wanna use embedding model from HF?
You can checkout how to use self hosted embedding model here:
https://docs.llamaindex.ai/en/stable/examples/embeddings/custom_embeddings.html
L
Logan M
last year
Do you mean trust remote code?
https://github.com/run-llama/llama_index/blob/9672370a2a0c87dee77195f4a518db7b511fc2ed/llama_index/embeddings/huggingface.py#L56
L
Logan M
last year
Just have to enable it on the embedding class constructor
D
Drewzy
last year
Thank you so much was looking everywhere. I must have overlooked this line about 10 times lol
L
Logan M
last year
lol no worries!
W
WhiteFang_Jr
last year
Ah trust remote code. I was thinking it's a remote model π
Add a reply
Sign up and join the conversation on Discord
Join on Discord