public virtual Task<DetectIntentResponse> DetectIntent(DetectIntentRequest request, ServerCallContext context)
Processes a natural language query and returns structured, actionable data
as a result. This method is not idempotent, because it may cause session
entity types to be updated, which in turn might affect results of future
queries.
public virtual Task<FulfillIntentResponse> FulfillIntent(FulfillIntentRequest request, ServerCallContext context)
Fulfills a matched intent returned by
[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
called after
[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
input from
[MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
Otherwise, the behavior is undefined.
public virtual Task ServerStreamingDetectIntent(DetectIntentRequest request, IServerStreamWriter<DetectIntentResponse> responseStream, ServerCallContext context)
Processes a natural language query and returns structured, actionable data
as a result through server-side streaming. Server-side streaming allows
Dialogflow to send partial
responses
earlier in a single request.
public virtual Task StreamingDetectIntent(IAsyncStreamReader<StreamingDetectIntentRequest> requestStream, IServerStreamWriter<StreamingDetectIntentResponse> responseStream, ServerCallContext context)
Processes a natural language query in audio format in a streaming fashion
and returns structured, actionable data as a result. This method is only
available via the gRPC API (not REST).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSessions.SessionsBase\u003c/code\u003e class in the Dialogflow v3 API is 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessions.SessionsBase\u003c/code\u003e serves as the base class for implementing server-side functionality within the Dialogflow v3 API for managing sessions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectIntent\u003c/code\u003e method allows processing natural language queries, returning structured data, but it's not idempotent, impacting future queries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamingDetectIntent\u003c/code\u003e method, exclusive to the gRPC API, enables processing audio-formatted queries in a streaming manner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubmitAnswerFeedback\u003c/code\u003e method is used for updating user feedback on a single bot response.\u003c/p\u003e\n"]]],[],null,["# Dialogflow v3 API - Class Sessions.SessionsBase (2.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.23.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.22.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.21.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.20.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.19.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.18.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.17.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.16.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.15.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.14.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.13.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.12.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.11.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.10.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.9.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.8.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.7.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.6.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.5.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.4.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.3.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.2.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.1.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.0.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.13.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.12.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.11.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.10.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.9.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.8.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.7.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.6.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.5.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.4.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.3.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.2.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.1.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.0.0/Google.Cloud.Dialogflow.Cx.V3.Sessions.SessionsBase) \n\n [BindServiceMethod(typeof(Sessions), \"BindService\")]\n public abstract class Sessions.SessionsBase\n\nReference documentation and code samples for the Dialogflow v3 API class Sessions.SessionsBase.\n\nBase class for server-side implementations of Sessions \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Sessions.SessionsBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dialogflow.Cx.V3](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.Cx.V3.dll\n\nMethods\n-------\n\n### DetectIntent(DetectIntentRequest, ServerCallContext)\n\n public virtual Task\u003cDetectIntentResponse\u003e DetectIntent(DetectIntentRequest request, ServerCallContext context)\n\nProcesses a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https://cloud.google.com/dialogflow/cx/docs/concept/version).\n\n### FulfillIntent(FulfillIntentRequest, ServerCallContext)\n\n public virtual Task\u003cFulfillIntentResponse\u003e FulfillIntent(FulfillIntentRequest request, ServerCallContext context)\n\nFulfills a matched intent returned by\n\\[MatchIntent\\]\\[google.cloud.dialogflow.cx.v3.Sessions.MatchIntent\\]. Must be\ncalled after\n\\[MatchIntent\\]\\[google.cloud.dialogflow.cx.v3.Sessions.MatchIntent\\], with\ninput from\n\\[MatchIntentResponse\\]\\[google.cloud.dialogflow.cx.v3.MatchIntentResponse\\].\nOtherwise, the behavior is undefined.\n\n### MatchIntent(MatchIntentRequest, ServerCallContext)\n\n public virtual Task\u003cMatchIntentResponse\u003e MatchIntent(MatchIntentRequest request, ServerCallContext context)\n\nReturns preliminary intent match results, doesn't change the session\nstatus.\n\n### ServerStreamingDetectIntent(DetectIntentRequest, IServerStreamWriter\\\u003cDetectIntentResponse\\\u003e, ServerCallContext)\n\n public virtual Task ServerStreamingDetectIntent(DetectIntentRequest request, IServerStreamWriter\u003cDetectIntentResponse\u003e responseStream, ServerCallContext context)\n\nProcesses a natural language query and returns structured, actionable data\nas a result through server-side streaming. Server-side streaming allows\nDialogflow to send [partial\nresponses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)\nearlier in a single request.\n\n### StreamingDetectIntent(IAsyncStreamReader\\\u003cStreamingDetectIntentRequest\\\u003e, IServerStreamWriter\\\u003cStreamingDetectIntentResponse\\\u003e, ServerCallContext)\n\n public virtual Task StreamingDetectIntent(IAsyncStreamReader\u003cStreamingDetectIntentRequest\u003e requestStream, IServerStreamWriter\u003cStreamingDetectIntentResponse\u003e responseStream, ServerCallContext context)\n\nProcesses a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https://cloud.google.com/dialogflow/cx/docs/concept/version).\n\n### SubmitAnswerFeedback(SubmitAnswerFeedbackRequest, ServerCallContext)\n\n public virtual Task\u003cAnswerFeedback\u003e SubmitAnswerFeedback(SubmitAnswerFeedbackRequest request, ServerCallContext context)\n\nUpdates the feedback received from the user for a single turn of the bot\nresponse."]]