From 3b0b6f5f59d520bd2b7ebf4c183dff638cf248e0 Mon Sep 17 00:00:00 2001 From: Andreas Eberle Date: Mon, 4 Dec 2023 13:35:23 +0100 Subject: [PATCH] Fix dependencies shown in quickstart guide --- docs/modules/ROOT/pages/index.adoc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 24dcf1af0..923141748 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -20,31 +20,29 @@ image::llms-big-picture.png[width=600,align="center"] == Quick Overview -To incorporate this extension, add the `io.quarkiverse.langchain4j:quarkus-langchain4j` extension to your build file. - -For example, in Maven, add the following dependency to your POM file: +To incorporate Quarkus Langchain4j into your Quarkus project, add the following Maven dependency: [source,xml,subs=attributes+] ---- io.quarkiverse.langchain4j - quarkus-langchain4j + quarkus-langchain4j-openai {project-version} ---- -Depending on the specific LLM you're using, additional dependencies and configurations might be necessary. -For instance, with OpenAI: +or, to use hugging face: [source,xml,subs=attributes+] ---- io.quarkiverse.langchain4j - quarkus-langchain4j-openai + quarkus-langchain4j-huggingface {project-version} ---- + Then, include your OpenAI API key in your `application.properties` file (or any other mandatory configuration): [source,properties,subs=attributes+]