Skip to content

Need documentation on how to use custom models #1005

Closed

Description

@mckeeh3

There is very little documentation on how to use custom agent models. There is a single sentence at the end of the Configuring the model section:

It is also possible to plug in a custom model by implementing the ModelProvider.Custom interface and use it with ModelProvider.custom.

In prior versions of the documentation, there was more detailed documentation, but that is no longer available.

Activity

  1. patriknw commented on Sep 29, 2025

    @patriknw
    Contributor

    The intention is that this is a rather advanced and rarely used feature, but we can add some more words. In the end you have to implement the linked interface, and that means implementing a langchain4j chat model.
    https://doc.akka.io/java/_attachments/api/akka/javasdk/agent/ModelProvider.Custom.html

  2. mckeeh3 commented on Sep 29, 2025

    @mckeeh3
    Author

    In previous versions of the documentation, more detailed information was provided for using custom models, including a sample custom configuration.

    What do you think about documentation that provides more detail on how to integrate with LangChain4J?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions