Module: Exa::Instrumentation
- Defined in:
- lib/exa/instrumentation.rb,
lib/exa/instrumentation/events.rb,
lib/exa/instrumentation/cost_tracker.rb
Defined Under Namespace
Modules: Events Classes: BaseSubscriber, CostTracker, Endpoint, EventRegistry
Constant Summary collapse
- ResponseWithCost =
Type alias for responses that include cost information
T.type_alias do T.any( Exa::Responses::SearchResponse, Exa::Responses::FindSimilarResponse, Exa::Responses::ContentsResponse, Exa::Responses::AnswerResponse ) end
- AnyResponse =
Type alias for all response types
T.type_alias do T.any( Exa::Responses::SearchResponse, Exa::Responses::FindSimilarResponse, Exa::Responses::ContentsResponse, Exa::Responses::AnswerResponse, Exa::Responses::Research, Exa::Responses::ResearchListResponse ) end