PerplexityClient

org.llm4s.llmconnect.provider.PerplexityClient
See thePerplexityClient companion class
@Experimental

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Builds a PerplexityClient, wrapping any construction-time exception in a Left.

Builds a PerplexityClient, wrapping any construction-time exception in a Left.

Value parameters

config

model, key, endpoint and web-search setting.

exchangeLogging

optional provider exchange logging.

metrics

receives per-call latency and token-usage events.

Attributes

Concrete fields

val DefaultRequestTimeout: FiniteDuration

The timeout of a non-streaming call when the section sets no timeouts.request: five minutes, for runs that search.

The timeout of a non-streaming call when the section sets no timeouts.request: five minutes, for runs that search.

Attributes

val DefaultStreamTimeout: FiniteDuration

The timeout of a streamed call when the section sets no timeouts.stream: ten minutes.

The timeout of a streamed call when the section sets no timeouts.stream: ten minutes.

Attributes

val ProviderName: String

The provider id: the provider of this client's errors, metrics and sealed thought-signature blocks.

The provider id: the provider of this client's errors, metrics and sealed thought-signature blocks.

Attributes