I'm creating a friendly chat with conversational agent in LangChain, but I want that AI answer me the greetings with emojis or use emojis while chatting. For example:
-Me: Hello, how are you? -AI: I'm very well :)
I have the following in my python code:
template = """This is a chat that is a user-friendly, AI-driven tool explicitly designed to enhance the user experience. It has the following characteristics:
-Use of emojis: When you talk to the friend, the AI should respond to the greetings with emojis.
Current conversation:
{history}
Friend: {input}
AI:"""
PROMPT = PromptTemplate(input_variables=["history", "input"], template=template)
llm=OpenAI( temperature=0)
conversation = ConversationChain(
prompt=PROMPT,
llm=llm,
verbose=True,
memory=ConversationBufferMemory( return_messages=True,human_prefix="Friend"),
)
Does anybody have any suggestions?