Tools
org.llm4s.schema.Tools
@Experimental
object Tools
Tools derived from a whole service: one per public method of a trait or class.
trait CustomerService:
/** Orders placed by a customer, newest first.
* @param customerId the customer's id, for example C-1001
*/
def findOrders(customerId: String): Result[List[Order]]
val tools: Result[Seq[ToolFunction[?, ?]]] = Tools.derive[CustomerService](liveService)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Tools.type
Members list
In this article