https://discord.gg/botpress logo
integration open ia
# 🤝help
g
Hi, I'd like some help configuring the “generate content” card for the OPEN IA integration. There are a lot of fields to fill in and I can't find any documentation on it. I want to have it parse {{conversation.SummaryAgent.transcript}}, translate it into French, and sort the user's responses into different parts, and add {{conversation.SummaryAgent.summary}} without modification in a last part Thanks a lot!
p
Hi! The documentation regarding generate content cards is in progress, however for your use case there are alternative approaches. For example, you can use the translation agent for the french translation and an execute code card that calls zai to sort the user's response into different parts. here's the link about zai for more info: https://www.npmjs.com/package/@botpress/zai Hope this helps!
r
you can set up system message like this:
Copy code
You are an assistant that receives conversation transcripts. Your tasks:
    1. Parse and translate the user's responses into French.
    2. Sort the user's responses into logical parts.
    3. Append the provided summary (do NOT modify it) as the last part.
    Format your answer clearly with headings for each part.
user mesage like this:
Copy code
Transcript:
    {{conversation.SummaryAgent.transcript}}

    Summary:
    {{conversation.SummaryAgent.summary}}
g
okay thank you !