Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test different chat messages #4

Closed
bjwswang opened this issue Jun 13, 2023 · 1 comment
Closed

test different chat messages #4

bjwswang opened this issue Jun 13, 2023 · 1 comment

Comments

@bjwswang
Copy link
Owner

bjwswang commented Jun 13, 2023

Chat messages:

https://github.com/tmc/langchaingo/blob/main/schema/chat_messages.go#L15

  • AIChatMessage
  • SystemChatMessage
  • HumanChatMessage
  • GenericChatMessage
@bjwswang
Copy link
Owner Author

"The main difference between SystemChatMessage and HumanChatMessage in ChatGPT openai api is:\n\n1. SystemChatMessage: It is a message generated by an AI system or bot. These messages are usually designed to provide information, answer questions, or provide solutions to specific problems. These messages are generated by AI without any human intervention.\n\n2. HumanChatMessage: These messages are generated by humans who are engaged in the conversation. These messages are usually spontaneous, subjective, and can include emotions, opinions, and biases. HumanChatMessages are not generated by AI but by humans who are part of the conversation.\n\nIn summary, SystemChatMessage is created by an AI system, whereas HumanChatMessage is created by humans, and both are used in ChatGPT openai api for communication purposes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant