Twilio.Knowledge.V2.KnowledgeBase.SearchService (twilio_elixir v0.1.3)

Copy Markdown View Source

Service for Search API operations.

Operations: update

Summary

Functions

Perform semantic search across knowledge sources within a knowledge base to find the most relevant content chunks based on a natural language query. Returns ranked chunks with similarity scores, allowing you to retrieve contextually relevant information for AI applications, chatbots, or information retrieval systems. You can filter results by specific knowledge sources.

Functions

update(client, kb_id, params \\ %{}, opts \\ [])

@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Knowledge.V2.KnowledgeBase.Search.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Perform semantic search across knowledge sources within a knowledge base to find the most relevant content chunks based on a natural language query. Returns ranked chunks with similarity scores, allowing you to retrieve contextually relevant information for AI applications, chatbots, or information retrieval systems. You can filter results by specific knowledge sources.

Operation: CreateKnowledgeSearch | Tags: Knowledge