How do I get this to actually create what I want?

Joined
Sep 4, 2024
Messages
1
Reaction score
0
I'm very new, so excuse my ignorance. I have hardly coded at all. My goal is to have the assistant either ask for more context when I say edit or to give me a language objective that is related to the topic in the LO I gave it.

Here's the code:

answer = ask_the_user_a_question("Do you want me to edit your objective or do you want me to guide you?")
if answer.lower() == "edit my language objective" or answer.lower() == "edit" or answer.lower() == "i have a language objective":
answer = ask_the_user_a_question("Can you send me your objective, please?")

send_the_assistant_a_message("Please ask for more information if you need it.")

send_the_assistant_a_message("Create language objective.")
answer = ask_the_user_a_question("Is this ok? Yes or No")

while answer.lower() == "no":
send_the_assistant_a_message("Adjust language objective for user.")
answer = ask_the_user_a_question("Is this ok? Yes or No")

exit()

It's producing this:

Do you want me to edit your objective or do you want me to guide you? edit
Can you send me your objective, please? students will introduce themselves.


ASSISTANT RESPONSE

-------

What information do you need?




ASSISTANT RESPONSE

-------

What specific language objective would you like me to create?


Is this ok? Yes or No
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,039
Messages
2,570,376
Members
47,031
Latest member
AndreBucki

Latest Threads

Top