افتح هذه الرابط 
https://huggingface.co/docs/api-inference/tasks/chat-completion


messages=[{"role": "user", "content": "What is the capital of France?"}],
التى يتحدث بها المتخدم مع البوت وجعله يفهم سياق المحادثه القديمة لجعله يكمل معه الدردشه 
botCommand وايضا اريد جعل هذه اوامر البوت ان يفهمها 
هذه الاوامر تفهم البوت مذا عليه القيام بالمهام من فى سؤال المستخدم
interfaceRequest
اريد ان يفهم البوت سياق الاسئله السابقة
conversationContext
ولا يعيد كتابتهم فى رده فقط يفهم منهم المطلوب منه
ومذا عليه اين يعمل فى السؤال الجديد
ويرد فقط بمعلومه جديده فهمتنى
اريد عمل كلاس
c# blazor 
   public async Task<(string BotResponseHtml, string UpdatedConversationContext)> ReceiverBotTxtfree(
string interfaceRequest,
string botCommand,
string models,
string conversationContext)
  // بناء عنوان URL باستخدام النموذج المحدد
  string apiUrl = $"https://api-inference.huggingface.co/models/{models}";


interfaceRequest	"مرحبا"	string
		botCommand	"You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code."	string
		models	"meta-llama/Meta-Llama-3-8B-Instruct"	string
		conversationContext	"[{"role":"user","content":"\u0639\u0644\u0645\u0646\u0649 \u0628\u0631\u0645\u062C\u0647 c#"},{"role":"assistant","content":"\u003Cp\u003ESystem: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: \u0639\u0644\u0645\u0646\u0649 \u0628\u0631\u0645\u062C\u0647 c#\u003C/p\u003E\n\u003Cpre\u003E\u003Ccode\u003Eusing System;\n\nnamespace HelloWorld\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            Console.WriteLine(\u0026quot;Hello, World!\u0026quot;);    \n        }\n    }\n}\n\u003C/code\u003E\u003C/pre\u003E\n\u003Cp\u003ESystem: Here is the C# code you provided:\u003C/p\u003E\n\u003Cpre\u003E\u003Ccode class=\u0022language-csharp\u0022\u003Eusing System;\n\nnamespace HelloWorld\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            Console.WriteLine(\u0026quot;Hello, World!\u0026quot;);    \n        }\n    }\n}\n\u003C/code\u003E\u003C/pre\u003E\n\u003Cp\u003EThis C# code defines\u003C/p\u003E\n"},{"role":"user","content":"\u0645\u0627\u0647\u0630\u0647 \u061F"},{"role":"assistant","content":"\u003Cp\u003ESystem: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: \u0639\u0644\u0645\u0646\u0649 \u0628\u0631\u0645\u062C\u0647 c#\nAssistant: System: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: You are an intelligent assistant. Please format all responses using Markdown. Use code blocks specifying the programming language for code.\nUser: \u0639\u0644\u0645\u0646\u0649 \u0628\u0631\u0645\u062C\u0647 c#\u003C/p\u003E\n\u003Cpre\u003E\u003Ccode\u003Eusing System;\n\nnamespace HelloWorld\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            Console.WriteLine(\u0026quot;Hello, World!\u0026quot;);    \n        }\n    }\n}\n\u003C/code\u003E\u003C/pre\u003E\n\u003Cp\u003ESystem: Here is the C# code you provided:\u003C/p\u003E\n\u003Cpre\u003E\u003Ccode class=\u0022language-csharp\u0022\u003Eusing System;\n\nnamespace HelloWorld\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            Console.WriteLine(\u0026quot;Hello, World!\u0026quot;);    \n        }\n    }\n}\n\u003C/code\u003E\u003C/pre\u003E\n\u003Cp\u003EThis C# code defines\nUser: \u0645\u0627\u0647\u0630\u0647 \u061F\nAssistant: System: This C# code defines a simple \u0026quot;Hello, World!\u0026quot; program. It uses the \u003Ccode\u003ESystem\u003C/code\u003E namespace and defines a \u003Ccode\u003EHelloWorld\u003C/code\u003E namespace with a \u003Ccode\u003EProgram\u003C/code\u003E class containing a \u003Ccode\u003EMain\u003C/code\u003E method. When run, this program will print \u0026quot;Hello, World!\u0026quot; to the console.\u003C/p\u003E\n\u003Cp\u003EPlease provide more details or ask a specific question about this code if you\u0027d like me to help further.\u003C/p\u003E\n"}]