#Is there a way to customize the bot's personality in python?

1 messages ยท Page 1 of 1 (latest)

knotty rock
#

I can't find a way, even with just the regular openai library.

faint quarry
knotty rock
#

thanks!

high mason
#

@faint quarry Is there a way to somehow personalize a model to some context? Like send it message once and remember it forever?

#

I'm thinking of sending it something like small form docs

high mason
#

How long does it remember that for though?

faint quarry
high mason
#

Mhm, then I need to resend.

#

Thanks man.

faint quarry
# high mason Mhm, then I need to resend.

It's based on how you code it. You can set the system message to be fixed so that it sends with all the requests. This way, you don't have to send it as a user message. First, you need to learn more about how the OpenAI API works. Then, you will easily understand how it can be done.

high mason
#

That being said, I think I once saw an OpenAI feature where you could pay to train your own model or something like that.

high mason
high mason
faint quarry
# high mason Mhm, but that equals more tokens right

It's the same; even if you resend it as a user's message, it still uses tokens. It's even worse because you confuse the model about which part is the user's question and which is the context. As I said, first read and learn how the OpenAI Chat Completion API works, then you will understand how to do it.

high mason
#

Like the chatbots on websites

faint quarry
high mason
#

I see what about stuff like inkeep?

#

How do they do that

faint quarry
# high mason How do they do that

The same way perplexity.ai did it, I think it's just searching and collecting all the info online, using embedding to filter the specific info for answering the question, then using the filtered info as the model's context to answer the user's question.

high mason
#

OO

#

nice