共用方式為


深入探討語意核心

如果您想要深入瞭解語意核心,並瞭解如何使用學習檔中未明確涵蓋的更進階功能,建議您查看我們個別示範如何在 SDK 中使用特定功能的概念範例。

每個 SDK(Python、C# 和 Java)都有自己的範例集,可逐步解說 SDK。 每個範例都會模型化為主要存放庫中的測試案例,因此您一律保證範例將搭配最新夜間版本的 SDK 運作! 以下是您在概念專案中可以找到的大部分範例。

在 GitHub 上運用核心語法範例

類別 範例名稱 連結
代理程式 ComplexChat_NestedShopper 連結
Legacy_AgentAuthoring 連結
Legacy_AgentCharts 連結
Legacy_AgentCollaboration 連結
Legacy_AgentDelegation 連結
Legacy_AgentTools 連結
Legacy_Agents 連結
Legacy_ChatCompletionAgent 連結
MixedChat_Agents 連結
OpenAIAssistant_ChartMaker 連結
OpenAIAssistant_CodeInterpreter 連結
OpenAIAssistant_Retrieval 連結
音訊到文字 OpenAI_AudioToText 連結
自動呼叫函式 Gemini_FunctionCalling 連結
OpenAI_FunctionCalling 連結
語意快取 SemanticCachingWithFilters 連結
聊天完成 AzureOpenAIWithData_ChatCompletion 連結
ChatHistoryAuthorName 連結
ChatHistorySerialization 連結
Connectors_CustomHttpClient 連結
Connectors_KernelStreaming 連結
Connectors_WithMultipleLLMs 連結
Google_GeminiChatCompletion 連結
Google_GeminiChatCompletionStreaming 連結
Google_GeminiGetModelResult 連結
Google_GeminiVision 連結
OpenAI_ChatCompletion 連結
OpenAI_ChatCompletionMultipleChoices 連結
OpenAI_ChatCompletionStreaming 連結
OpenAI_ChatCompletionStreamingMultipleChoices 連結
OpenAI_ChatCompletionWithVision 連結
OpenAI_CustomAzureOpenAIClient 連結
OpenAI_UsingLogitBias 連結
OpenAI_FunctionCalling 連結
MistralAI_ChatPrompt 連結
MistralAI_FunctionCalling 連結
MistralAI_StreamingFunctionCalling 連結
相依性插入 HttpClient_Registration 連結
HttpClient_Resiliency 連結
Kernel_Building 連結
Kernel_Injecting 連結
篩選 AutoFunctionInvocationFiltering 連結
FunctionInvocationFiltering 連結
Legacy_KernelHooks 連結
PromptRenderFiltering 連結
RetryWithFilters 連結
PIIDetectionWithFilters 連結
外掛程式函式 引數 連結
FunctionResult_Metadata 連結
FunctionResult_StronglyTyped 連結
MethodFunctions 連結
MethodFunctions_Advanced 連結
MethodFunctions_Types 連結
PromptFunctions_Inline 連結
PromptFunctions_MultipleArguments 連結
影像到文字 HuggingFace_ImageToText 連結
本機模型 HuggingFace_ChatCompletionWithTGI 連結
MultipleProviders_ChatCompletion 連結
記憶體 HuggingFace_EmbeddingGeneration 連結
MemoryStore_CustomReadOnly 連結
SemanticTextMemory_Building 連結
TextChunkerUsage 連結
TextChunkingAndEmbedding 連結
TextMemoryPlugin_GeminiEmbeddingGeneration 連結
TextMemoryPlugin_MultipleMemoryStore 連結
規劃 FunctionCallStepwisePlanning 連結
HandlebarsPlanning 連結
外掛程式 ApiManifestBasedPlugins 連結
ConversationSummaryPlugin 連結
CreatePluginFromOpenAI_AzureKeyVault 連結
CreatePluginFromOpenApiSpec_Github 連結
CreatePluginFromOpenApiSpec_Jira 連結
CustomMutablePlugin 連結
DescribeAllPluginsAndFunctions 連結
GroundednessChecks 連結
ImportPluginFromGrpc 連結
OpenAIPlugins 連結
提示範本 ChatCompletionPrompts 連結
ChatWithPrompts 連結
LiquidPrompts 連結
MultiplePromptTemplates 連結
PromptFunctionsWithChatGPT 連結
TemplateLanguage 連結
PromptyFunction 連結
擷取增強世代 WithFunctionCallingStepwisePlanner 連結
WithPlugins 連結
搜尋 BingAndGooglePlugins 連結
MyAzureAISearchPlugin 連結
WebSearchQueriesPlugin 連結
文字產生 Custom_TextGenerationService 連結
HuggingFace_TextGeneration 連結
OpenAI_TextGenerationStreaming 連結
文字到音訊 OpenAI_TextToAudio 連結
文字到影像 OpenAI_TextToImage 連結
功能 描述 連結
AutoFunctionCalling 使用 Auto Function Calling 來允許函式調用支援模型自動叫用核心函式 連結
ChatCompletion 搭配模型使用 ChatCompletion 支援傳訊的服務 連結
篩選 建立及使用篩選 連結
函式 使用叫用 或 PromptMethodKernel 連結
接地 如何執行 LLM 地面的範例 連結
記錄 示範如何設定記錄 連結
記憶體 使用 Memory AI 概念 連結
基於自有資料 使用 AzureOpenAI 的範例 On Your Data 連結
規劃工具 顯示的用法 Planners 連結
外掛程式 建立和使用的不同方式 Plugins 連結
PromptTemplates 使用 Templates 搭配參數化進行 Prompt 轉譯 連結
RAG 不同方式 RAG (擷取增強世代) 連結
搜尋 使用搜尋服務資訊 連結
服務選取器 示範如何建立和使用自定義服務選取器類別。 連結
設定 如何設定語意核心的環境變數 連結
TextGeneration 搭配模型使用 TextGeneration 可用的服務 連結