#weird responses

9 messages · Page 1 of 1 (latest)

lyric tartan
#

i use the "ada" generator in my discord bot, and I keep having weird responses, for example, when i said "hi" the bot said

"20 internautes sur 20 ont trouvé ce commentaire utile

HASH(0x978e1210) étoiles sur 5 A splendid ensemble of several lighter works perfect for many occasions 24 novembre 2003

Par Un client - Publié sur Amazon.com

Format: CD

This is a marvelous collection of early music by Lane. Why marvelous? Because his tunes, rhythms and harmonies are just so perfectly evocative of the Renaissance atmosphere as well as delightful with that modern edge that die-hard classicists would just hate. And still, Lang's arrangements are beloved of the 'hard-core' classicists to be heard often in a classical context which tells me that despite the seeming simplicity of the melody lines and the charming, obvious harmonies and moderate rhythms, this is something deeper than one might initially think. It works superbly for the softer side of the "Flintstones" cartons and others alike as I should know as I use it myself for a cartoon Easter cartoon I'm producing for television. My guess is that it won't be the last time I employ his music. As for the performance, there's no way to go wrong with The London Symphony Orchestra conducted my Peter Knight and Karen Darvik's harp is splendid. Highly Recommended."

patent thicket
#

how does your prompt construction look like in code?

#

@lyric tartan

lyric tartan
patent thicket
#

okay, what is happening right now is that you just pass the message as the prompt, which is not enough context. You could try something like:
prompt="You are a discord chat bot. You are there to answer questions or have a conversation. Your responses consist of just the text, not in quotes. User: \"" + message.content + "\" Your response: "
another issue (I think) is that it's currently outputting all of the choices for a response text. You need to index one if you don't want all of them:
response_text = response["choices"][0]["text"]
hope this helps :)

#

In case you care, for my own bot I gave it even more context by storing the last 10 messages and adding them to the prompt as "Your previous conversation went like this: [...]" and now it has some sort of memory

#

@lyric tartan

lyric tartan
#

hmm