using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; //using LangChain.Chains.LLM; //using LangChain.DocumentLoaders; //using LangChain.Prompts; using LangChain.Providers; using LangChain.Providers.DeepSeek; using LangChain.Providers.DeepSeek.Predefined; using LangChain.Providers.OpenAI; using LangChain.Providers.OpenAI.Predefined; //using LangChain.Schema; namespace WPFUI.Test { /// /// CustomChatWindow.xaml 的交互逻辑 /// public partial class CustomChatWindow : Window { public CustomChatWindow() { InitializeComponent(); //ChatWithAI(); //ChatWithDeepSeek(); } private async void ChatWithDeepSeek() { try { var Response = await DeepSeekHttpClient.Run(); } catch (Exception) { throw; } } } }