=== Using camel annotations from LangChain4j AI service method parameters

The `camel-quarkus-langchain4j` extension make it possible to use camel parameter binding annotations with LangChain4j AI services.

Let's see an example below:

```
@RegisterAiService
@ApplicationScoped
public interface CustomAiService {

    @UserMessage("An LLM prompt that can use the method parameter {myHeaderInjectedIntoPrompt}.")
    @Handler
    String invokeLlm(@Header("myHeaderName") String myHeaderInjectedIntoPrompt);
}
```

You can find more details about Camel Parameter Binding annotations in the xref:manual::parameter-binding-annotations.adoc[manual].

=== Resolving AI services by interface name

With the `camel-quarkus-langchain4j` extension, the AI services are resolvable by interface name when called from a `bean` statement.

For instance, let's define an AI service below:

```
@RegisterAiService
@ApplicationScoped
public interface MyAiService {

    @UserMessage("My Prompt")
    @Handler
    String chat(String question);
}
```

The AI service could then be invoked from a Camel route like this:

```
@Override
public void configure() {
  from("...")
    .bean(MyAiService.class);
}
```