Create a message. Messages are attached to topics in order to coordinate memory of gen-AI chat sessions.Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example:
constdata = awaittrieve.createMessage({ topic_id:"3c90c3cc-1d76-27198-8888-8dd25736052a", new_message_content:"a new message" });
Create a message. Messages are attached to topics in order to coordinate memory of gen-AI chat sessions.Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example: