Skip to content

Commit

Permalink
fixed typo on prompt use case
Browse files Browse the repository at this point in the history
  • Loading branch information
manufy committed Jun 6, 2024
1 parent ae02c84 commit f48f6d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

chat_prompt = ChatPromptTemplate.from_messages([system_message_prompt, human_message_prompt])

response = chat(chat_prompt.prompt = "may the {subject} be with you" chat_message_prompt=ChatMessagePromptTemplate(role="jedi", template=prompt) ¿ es correcto ?(movie_title="Inception").to_messages())
response = chat(chat_prompt.format_prompt(movie_title="Inception").to_messages())

from termcolor import colored

Expand Down

0 comments on commit f48f6d1

Please sign in to comment.