初始化一些参考的接口
This commit is contained in:
parent
a003820952
commit
3ec94c7fa1
@ -96,6 +96,19 @@
|
||||
<CopyLocal>False</CopyLocal>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="client\" />
|
||||
<Folder Include="resource\" />
|
||||
<Folder Include="server\" />
|
||||
<Folder Include="ui\preference\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Update="ui\Dockpane1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<XamlRuntime>Wpf</XamlRuntime>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<Import Project="C:\Users\PeterZhong\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('C:\Users\PeterZhong\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
||||
</Project>
|
||||
|
||||
14
host/llm/Llm.cs
Normal file
14
host/llm/Llm.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LinkToolAddin.host.llm;
|
||||
|
||||
public interface Llm
|
||||
{
|
||||
public string model { get; set; }
|
||||
public string temperature { get; set; }
|
||||
public string top_p { get; set; }
|
||||
public string max_tokens { get; set; }
|
||||
|
||||
public IAsyncEnumerable<string> SendChatStreamAsync(string message);
|
||||
public IAsyncEnumerable<string> SendApplicationStreamAsync(string message);
|
||||
}
|
||||
7
ui/message/MessageListItem.cs
Normal file
7
ui/message/MessageListItem.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace LinkToolAddin.message;
|
||||
|
||||
public interface MessageListItem
|
||||
{
|
||||
string role { get; set; }
|
||||
string content { get; set; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user