This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Hi The code snippet provided in
I assume using OpenAI models is not mandatory |
Beta Was this translation helpful? Give feedback.
Answered by
fcakyon
Jan 6, 2024
Replies: 1 comment 1 reply
-
You'll need to provide a local embedding model as well. Example: import os
from autollm import AutoQueryEngine
os.environ['HUGGINGFACE_API_KEY'] = ""
AutoQueryEngine.from_defaults(
...,
embed_model='huggingface/BAAI/bge-large-zh',
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fcakyon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll need to provide a local embedding model as well.
Example: