https://discord.gg/botpress logo
No 'content' field in Messages array for Generate ...
# 🤝help
r
Hi, in the current Botpress Cloud UI, the "content" field is missing when adding messages to the Messages array in the "Generate Content" card (OpenAI/LLM). I can only set "role" and "type" – but not the essential "content". Tested on multiple browsers, new bots and workspaces. This blocks all LLM card usage. Other users report the same, see screenshot attached. Please advise or fix. Thanks! https://cdn.discordapp.com/attachments/1387150497852690542/1387150498208940192/Screenshot_2025-06-24_201703.png?ex=685c4c12&is=685afa92&hm=77778eb932d1cacd4338d4ca79fd5bb495942a22e41889caf76d5660a63cae3c&
p
Can you elaborate on what you are trying to do?
r
Hi, I want to write a standard chatbot for my homepage. I want to create an answer to the first question, but I don't get the "content" Button. I want to create a text from GPT from a Knowledge Base. https://cdn.discordapp.com/attachments/1387150497852690542/1387172722081009814/Screenshot_2025-06-24_223937.png?ex=685c60c5&is=685b0f45&hm=e9698c660c53e2743955bca29d9bf55a6a75b6115a7ea2d88546d7519398aaba&
p
You do not need the generate content card for this. You can use the query kb card instead and pick one of the openAI models.
r
p
The model is not assigned to the knowledge base but to your bot and used by Ai cards and nodes. But you can modify the models in your bot settings. https://cdn.discordapp.com/attachments/1387150497852690542/1387480824814764173/Screenshot_2025-06-25_at_1.12.36_PM.png?ex=685d7fb6&is=685c2e36&hm=6ad9508f9db1d9b018864be6e1790ac600be7381206e8dcef9a4ac10ec119b9d&
r
Hi Leanne, since hours I try to find a solution to get the right answers to the test-questions (I know, in German, but these are only 2 test-questions; "Is the glass green?" -> "No, the glass is red-green."; "Can I also operate it manually?" -> "Yes, it can also be operated manually." The complete process is running well, but no answer is found. I tried it a word document (yellow "Document"), Table and Rich Text, nothing worked well. Can you maybe help me? https://cdn.discordapp.com/attachments/1387150497852690542/1387815161913540639/Screenshot_2025-06-26_171134.png?ex=685eb716&is=685d6596&hm=c20c6649e4bd90fa576e21d10ce2ae02cbc7b6714aa480d9f9a03e93ac5d28e1& https://cdn.discordapp.com/attachments/1387150497852690542/1387815162257342597/Screenshot_2025-06-26_171255.png?ex=685eb717&is=685d6597&hm=6628d299149b11fee015c9e4803bfe2b5bf075d7142e7b12490f7492e244f839& https://cdn.discordapp.com/attachments/1387150497852690542/1387815162530107583/Screenshot_2025-06-26_171341.png?ex=685eb717&is=685d6597&hm=7defbd2fe516294e8ebe31a15d71e4862dd74fa3ac55d0572fcf773c186ca9b7& https://cdn.discordapp.com/attachments/1387150497852690542/1387815162769178654/Screenshot_2025-06-26_171435.png?ex=685eb717&is=685d6597&hm=47213161fa550ffeda22c2e8b6e4795c8e961a42918809c3b72c192d2061bd89& https://cdn.discordapp.com/attachments/1387150497852690542/1387815162987413514/Screenshot_2025-06-26_171507.png?ex=685eb717&is=685d6597&hm=91ccbd00290fe35de1e5fdfeff4767cb785f29a92fcf3001219810425088a96b& https://cdn.discordapp.com/attachments/1387150497852690542/1387815163272499300/Screenshot_2025-06-26_171628.png?ex=685eb717&is=685d6597&hm=895016560072a78de69fde4963addf2b3e188ee4177766fc3cecfb638e11f1fc& https://cdn.discordapp.com/attachments/1387150497852690542/1387815163503317204/Screenshot_2025-06-26_171740.png?ex=685eb717&is=685d6597&hm=f1117b4aaf5831729a7aa4bc6699740a467c77f875a3425a5fd42b90df6923d1&
p
Can you try writing {{workflow.userquestion }} in the query KB Query cell?
p
Glad you found a solution!
r
Thank you very much, ich have changed the text in the query into "{{workflow.userquestion}}". Can I perhaps ask you something else? If several questions/answers run through, I can only record and export the last pair of conversations, not the previous ones. Is there a card to write away and export the entire conversation history? Thank you very much! https://cdn.discordapp.com/attachments/1387150497852690542/1387821330128179341/Screenshot_2025-06-26_174506.png?ex=685ebcd5&is=685d6b55&hm=358508c0b36be5847706e64cb0be80608fee9e03170ece3799604c6933ee3aca&
Hi Leanne, one question, can you tell me where I can see if my Botpress is connected to OpenAI via an API key? Thank you!
5 Views