support generating embeddings on the fly

This commit is contained in:
Vivian Fang
2023-10-18 19:30:15 -07:00
parent bdcc4d79a4
commit b2d491d5e7
5 changed files with 138 additions and 31 deletions

View File

@@ -10,6 +10,9 @@ init(autoreset=True)
# DEBUG = True # puts full message outputs in the terminal
DEBUG = False # only dumps important messages in the terminal
def important_message(msg):
print(f'{Fore.MAGENTA}{Style.BRIGHT}{msg}{Style.RESET_ALL}')
async def internal_monologue(msg):
# ANSI escape code for italic is '\x1B[3m'
print(f'\x1B[3m{Fore.LIGHTBLACK_EX}💭 {msg}{Style.RESET_ALL}')