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+]