Skip to content

Commit

Permalink
remove persona artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
vintrocode committed Jun 27, 2023
1 parent b0e36ae commit d60a0e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ async def chat_and_save(self, local_chain: ConversationCache, input: str) -> tup
thought_chain = globals.OBJECTIVE_THOUGHT_CHAIN
response_chain = globals.OBJECTIVE_RESPONSE_CHAIN # if local_chain.conversation_type == "discuss" else globals.WORKSHOP_RESPONSE_CHAIN
# response_chain = local_chain.conversation_type == "discuss" ? globals.DISCUSS_RESPONSE_CHAIN : globals.WORKSHOP_RESPONSE_CHAIN
persona = globals.PERSONA


thought = await chat(
inp=input,
persona=persona,
thought_chain=thought_chain,
thought_memory=local_chain.thought_memory
)
response = await chat(
inp=input,
persona=persona,
thought=thought,
response_chain=response_chain,
response_memory=local_chain.response_memory
Expand Down

0 comments on commit d60a0e5

Please sign in to comment.