AI Prompt template to include document

Hi, I hope someone can help

I’m using this AI prompt template :backhand_index_pointing_right: Fibery

And I want to add a document to the prompt. I created a new field and tried this below but it doesn’t work:

[ai-agent]
{{Prompt}}
[Step 1 Prompt].[Documents]
[/ai-agent]

Is there a way to do this?

Also, which model does the ai-agent use? Can I change it?

It would also help if the button Activity shows the input and output i.e. I want to see the exact prompt (including the system prompt) which is actually sent to the model

What is Document here?

Its a PDF which is in a File field called “Documents”. I’m trying to attach all files which are uploaded to this field. The prompt effectively says “Summarise these reports” and I want to include the PDFs and send to the model

Fibery so far can’t read content of Files

OK thanks! At least its not just my poor formula writing.

I find that using files is a pretty big use case. Either as context with the prompt (if you don’t have a knowledge base) or the target of the prompt. For example, scrape info from this PDF and add to Entity data.

1 Like

Absolutely agree, this is in our roadmap

1 Like