Skip to content

Commit

Permalink
fix configuration setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Mar 21, 2024
1 parent 740228d commit 11c1f3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import io.smallrye.config.WithDefault;
import io.smallrye.config.WithName;

@ConfigMapping
@ConfigMapping(prefix = "camel.assistant")
public interface AssistantConfiguration {

Qdrant qdrant();
Expand Down
6 changes: 3 additions & 3 deletions assistant-backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
quarkus.banner.enabled=false

qdrant.collection.name=camel
qdrant.host=${QDRANT_HOST:localhost}
qdrant.grpc.port=${QDRANT_GRPC_PORT:6334}
camel.assistant.qdrant.collection.name=camel
camel.assistant.qdrant.host=${QDRANT_HOST:localhost}
camel.assistant.qdrant.grpc.port=${QDRANT_GRPC_PORT:6334}

# Override this for using with a different AI service
quarkus.langchain4j.chat-model.provider=ollama
Expand Down

0 comments on commit 11c1f3d

Please sign in to comment.