You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

LLamaChatMessage.cs 494 B

123456789101112131415161718192021
  1. using System.Runtime.InteropServices;
  2. namespace LLama.Native;
  3. /// <summary>
  4. ///
  5. /// </summary>
  6. /// <remarks>llama_chat_message</remarks>
  7. [StructLayout(LayoutKind.Sequential)]
  8. public unsafe struct LLamaChatMessage
  9. {
  10. /// <summary>
  11. /// Pointer to the null terminated bytes that make up the role string
  12. /// </summary>
  13. public byte* role;
  14. /// <summary>
  15. /// Pointer to the null terminated bytes that make up the content string
  16. /// </summary>
  17. public byte* content;
  18. }