Skip to content
Snippets Groups Projects
Commit 81df9590 authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

fix: get embed_model from base model

parent a9af6c5d
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ def create_service_context(): ...@@ -8,6 +8,7 @@ def create_service_context():
base = create_base_context() base = create_base_context()
return ServiceContext.from_defaults( return ServiceContext.from_defaults(
llm=base.llm, llm=base.llm,
embed_model=base.embed_model,
chunk_size=CHUNK_SIZE, chunk_size=CHUNK_SIZE,
chunk_overlap=CHUNK_OVERLAP, chunk_overlap=CHUNK_OVERLAP,
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment