mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 20:01:37 +00:00
Replaced provider specific text message data models by the OpenAI data model
This commit is contained in:
parent
e775d65ae3
commit
633ed622a3
@ -1,13 +0,0 @@
|
||||
namespace AIStudio.Provider.Fireworks;
|
||||
|
||||
/// <summary>
|
||||
/// Chat message model.
|
||||
/// </summary>
|
||||
/// <param name="Content">The text content of the message.</param>
|
||||
/// <param name="Role">The role of the message.</param>
|
||||
public record TextMessage(string Content, string Role) : IMessage<string>
|
||||
{
|
||||
public TextMessage() : this(string.Empty, string.Empty)
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
namespace AIStudio.Provider.Mistral;
|
||||
|
||||
/// <summary>
|
||||
/// Text chat message model.
|
||||
/// </summary>
|
||||
/// <param name="Content">The text content of the message.</param>
|
||||
/// <param name="Role">The role of the message.</param>
|
||||
public record TextMessage(string Content, string Role) : IMessage<string>
|
||||
{
|
||||
public TextMessage() : this(string.Empty, string.Empty)
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
namespace AIStudio.Provider.SelfHosted;
|
||||
|
||||
/// <summary>
|
||||
/// Chat message model.
|
||||
/// </summary>
|
||||
/// <param name="Content">The text content of the message.</param>
|
||||
/// <param name="Role">The role of the message.</param>
|
||||
public record TextMessage(string Content, string Role) : IMessage<string>
|
||||
{
|
||||
public TextMessage() : this(string.Empty, string.Empty)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user