Can I make the information split across multiple l...
# 🤝help
q
Hey! The AI's response is always one line. Can I make the AI split the answer into several lines?

https://cdn.discordapp.com/attachments/1132984712122617927/1132984712315539597/image.png

a
You could try formatting it using code in an execute code card. ChatGPT could probably write that code for you 😅 . It might also work if you put it through an AI task with a prompt asking for better formatting, too.
q
Do you have any prompt templates? 👀
Already tried a few, doesn't work
a
What prompt are you using now? I can offer some tips
q
btw I have this problem

https://cdn.discordapp.com/attachments/1132984712122617927/1132987370355040266/image.png

Make the format easy to read. Break the text into several different lines. Use the format of this database.
a
The
@nextAssistantMessage
thing is due to rate limits from OpenAI. We're working on getting them to give us more API access but it's a process
For you prompt, you could try getting more specific like:
Copy code
Format the message contained in `messgeVar` into a schedule. Each activity should use the following format:
{day of the week}
{start time} - {end time} : {activity description}
q
it didn't work
😦
a
Have you tried putting an example in the "Task example" part of the AI task?

https://cdn.discordapp.com/attachments/1132984712122617927/1133008274074124399/image.png

q
Should I write only the question or I can add the desired answer?
a
the desired answer
q
I can use only one row here, so it didn't work

https://cdn.discordapp.com/attachments/1132984712122617927/1133021233047408707/image.png

a
huh, that seems like a bug. I'll file soemthing internally. You can also use an escape char
\n
for newlines
q
got it, thanks
2 Views