last ...
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System.Threading;
|
||||
using xAiModels.Models;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.AI;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace xAiApi.Interfaces
|
||||
{
|
||||
@@ -12,6 +13,16 @@ namespace xAiApi.Interfaces
|
||||
/// </summary>
|
||||
public interface IXAiServiceBase : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Chat Options ...
|
||||
/// </summary>
|
||||
ChatOptions Options { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Descriptor of Models which used in Service ...
|
||||
/// </summary>
|
||||
XAiModelDescriptor Descriptor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Base Method for Communicate with LLM ...
|
||||
/// </summary>
|
||||
@@ -37,9 +48,8 @@ namespace xAiApi.Interfaces
|
||||
/// <summary>
|
||||
/// Get LLM Client instance for Communicating with LLM ...
|
||||
/// </summary>
|
||||
/// <param name="llm"></param>
|
||||
/// <returns></returns>
|
||||
IChatClient GetClient(string llm = null);
|
||||
IChatClient GetClient();
|
||||
|
||||
/// <summary>
|
||||
/// Create Custom HttpClient for Communicating with LLM API ...
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace xAiApi.Interfaces
|
||||
{
|
||||
public interface IXDefaultThinkingAiService: IXAiServiceBase
|
||||
{ }
|
||||
}
|
||||
Reference in New Issue
Block a user