Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich authored Feb 6, 2024
1 parent 6fa3171 commit d08422a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama_hub/llama_packs/rag_cli_local/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def init_local_rag_cli(
print("> Chroma collection initialized")
llm = Ollama(model=llm_model_name, request_timeout=30.0)
print("> LLM initialized")
embed_model = HuggingFaceEmbedding(model_name=embed_model_name)
embed_model = HuggingFaceEmbedding(model_name=embed_model_name, pooling="mean")
print("> Embedding model initialized")

ingestion_pipeline = IngestionPipeline(
Expand Down

0 comments on commit d08422a

Please sign in to comment.