# IChatModel Namespace: LLama ```csharp public interface IChatModel ``` ## Properties ### **Name** ```csharp public abstract string Name { get; } ``` #### Property Value [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
## Methods ### **Chat(String, String)** ```csharp IEnumerable Chat(string text, string prompt) ``` #### Parameters `text` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
`prompt` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
#### Returns [IEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1)
### **InitChatPrompt(String)** ```csharp void InitChatPrompt(string prompt) ``` #### Parameters `prompt` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **InitChatAntiprompt(String[])** ```csharp void InitChatAntiprompt(String[] antiprompt) ``` #### Parameters `antiprompt` [String[]](https://docs.microsoft.com/en-us/dotnet/api/system.string)