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.
|
- using LLama.Common;
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace LLama
- {
- public interface IHistoryTransform
- {
- string HistoryToText(ChatHistory history);
- /// <summary>
- ///
- /// </summary>
- /// <param name="history">The existing history.</param>
- /// <param name="role"></param>
- /// <param name="text"></param>
- /// <returns>The updated history.</returns>
- ChatHistory TextToHistory(AuthorRole role, string text);
- }
- }
|