Skip to content

Can you add a user_prompt_processor to the agent? #3190

@zhcn000000

Description

@zhcn000000

Description

Can you add a user_prompt_processor to the agent? I hope to be able to add DocumentURL to the user message list. However, the LLM model actually does not support processing documents. I can use the user_prompt_processor to convert the documents into text before sending them to the model , but when storing historical records, DocumentURL user_prompt are still stored, it is also possible to cache the user prompts that have been processed by the user_prompt_processor for use in message_history

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions