Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Clarification on ConversationalSearchServiceClient vs SearchServiceClient

Hello,

I am currently using the Google Python SDK and have come across two classes: discoveryengine.ConversationalSearchServiceClient and discoveryengine.SearchServiceClient. I am trying to understand the differences between these two clients, particularly in the context of their capabilities and use cases (and what they do under the hood).

From my understanding:

ConversationalSearchServiceClient seems to support multi-turn search, allowing for a conversational experience by maintaining session context across multiple queries.
SearchServiceClient, on the other hand, appears to be used for standard search operations without the conversational context.
Given that both clients can perform search operations (with the same capabilities if I'm not wrong), I am curious about the specific scenarios or advantages of using one over the other when multi-turn features are not required. Is there any additional documentation or guidance on when to use each client?

Additionally, is there are any resources or examples that provide a deeper insight into these clients, I would greatly appreciate it.

Thank you!

0 0 94
0 REPLIES 0