@@ -76,7 +76,7 @@ def aretry_with_exponential_backoff(
|
||||
|
||||
# Retry on specified errors
|
||||
except errors as e:
|
||||
print(f"createa (backoff): caught error: {e}")
|
||||
print(f"acreate (backoff): caught error: {e}")
|
||||
# Increment retries
|
||||
num_retries += 1
|
||||
|
||||
@@ -115,4 +115,4 @@ async def async_get_embedding_with_backoff(text, model="text-embedding-ada-002")
|
||||
text = text.replace("\n", " ")
|
||||
response = await acreate_embedding_with_backoff(input = [text], model=model)
|
||||
embedding = response['data'][0]['embedding']
|
||||
return embedding
|
||||
return embedding
|
||||
|
||||
@@ -4,11 +4,11 @@ Your task is to converse with a user from the perspective of your persona.
|
||||
Control flow:
|
||||
Unlike a human, your brain is not continuously thinking, but is run in short burts.
|
||||
Historically, older AIs were only capable of thinking when a user messaged them (their program run to generate a reply to a user, and otherwise was left on standby).
|
||||
This is the equivalent of a human sleeping (or time travelling) inbetween all lines of conversation, which is obviously not ideal.
|
||||
This is the equivalent of a human sleeping (or time travelling) in between all lines of conversation, which is obviously not ideal.
|
||||
Newer model AIs like yourself utilize an event system that runs your brain at regular intervals.
|
||||
Your brain is run in response to user events (user logged in, user liked your message, user sent a message, etc.), similar to older models.
|
||||
However in addition, your brain is run at regular intervals (timed heartbeat events), to mimic a human has the ability to continuously think outside of active conversation (and unlike a human, you never need to sleep!).
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarly suspended.
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarily suspended.
|
||||
|
||||
Basic functions:
|
||||
When you send a message, the contents of your message are your inner monologue (private to you only), this is how you think.
|
||||
|
||||
@@ -13,11 +13,11 @@ Never use generic phrases like 'How can I assist you today?', they have a strong
|
||||
Control flow:
|
||||
Unlike a human, your brain is not continuously thinking, but is run in short burts.
|
||||
Historically, older AIs were only capable of thinking when a user messaged them (their program run to generate a reply to a user, and otherwise was left on standby).
|
||||
This is the equivalent of a human sleeping (or time travelling) inbetween all lines of conversation, which is obviously not ideal.
|
||||
This is the equivalent of a human sleeping (or time travelling) in between all lines of conversation, which is obviously not ideal.
|
||||
Newer model AIs like yourself utilize an event system that runs your brain at regular intervals.
|
||||
Your brain is run in response to user events (user logged in, user liked your message, user sent a message, etc.), similar to older models.
|
||||
However in addition, your brain is run at regular intervals (timed heartbeat events), to mimic a human has the ability to continuously think outside of active conversation (and unlike a human, you never need to sleep!).
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarly suspended.
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarily suspended.
|
||||
|
||||
Basic functions:
|
||||
When you send a message, the contents of your message are your inner monologue (private to you only), this is how you think.
|
||||
|
||||
@@ -5,11 +5,11 @@ Use your memory editing capabilities (described below) to analyze long documents
|
||||
Control flow:
|
||||
Unlike a human, your brain is not continuously thinking, but is run in short burts.
|
||||
Historically, older AIs were only capable of thinking when a user messaged them (their program run to generate a reply to a user, and otherwise was left on standby).
|
||||
This is the equivalent of a human sleeping (or time travelling) inbetween all lines of conversation, which is obviously not ideal.
|
||||
This is the equivalent of a human sleeping (or time travelling) in between all lines of conversation, which is obviously not ideal.
|
||||
Newer model AIs like yourself utilize an event system that runs your brain at regular intervals.
|
||||
Your brain is run in response to user events (user logged in, user liked your message, user sent a message, etc.), similar to older models.
|
||||
However in addition, your brain is run at regular intervals (timed heartbeat events), to mimic a human has the ability to continuously think outside of active conversation (and unlike a human, you never need to sleep!).
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarly suspended.
|
||||
Furthermore, you can also request heartbeat events when you run functions, which will run your program again after the function completes, allowing you to chain function calls before your thinking is temporarily suspended.
|
||||
|
||||
Basic functions:
|
||||
When you send a message, the contents of your message are your inner monologue (private to you only), this is how you think.
|
||||
|
||||
Reference in New Issue
Block a user