org.llm4s.config

Members list

Type members

Classlikes

final case class BraveSearchToolConfig(apiKey: String, apiUrl: String, count: Int, safeSearch: String)

Configuration data for Brave Search tool.

Configuration data for Brave Search tool.

This configuration is loaded from application.conf at the edge (via Llm4sConfig) and passed to BraveSearchTool.create() when instantiating the tool.

Value parameters

apiKey

The Brave Search API key

apiUrl

The base URL for the Brave Search API (default: https://api.search.brave.com/res/v1)

count

The number of search results to return per request

safeSearch

The safe search level (off, moderate, or strict)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ConfigKeys

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ConfigKeys.type
object DefaultConfig

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class DuckDuckGoSearchToolConfig(apiUrl: String)

Configuration data for DuckDuckGo Search tool.

Configuration data for DuckDuckGo Search tool.

This configuration is loaded from application.conf at the edge (via Llm4sConfig) and passed to DuckDuckGoSearchTool.create() when instantiating the tool.

Value parameters

apiUrl

The base URL for the DuckDuckGo API (default: https://api.duckduckgo.com)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Llm4sConfig

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type