mirror of
https://github.com/katanemo/plano.git
synced 2026-05-09 07:42:43 +02:00
Added Float type to the function parameter values (#77)
This commit is contained in:
parent
7505a0fc1f
commit
7f0fcb372b
26 changed files with 1505 additions and 45 deletions
|
|
@ -149,7 +149,7 @@ prompt_targets:
|
|||
|
||||
# 5. Employees with Highest Average Project Performance
|
||||
- type: function_resolver
|
||||
name: avg_project_performance
|
||||
name: project_performance
|
||||
description: |
|
||||
Fetch employees with the highest average performance across all projects they have worked on over time. You can filter by minimum project count, department, and minimum performance score.
|
||||
parameters:
|
||||
|
|
@ -161,13 +161,14 @@ prompt_targets:
|
|||
description: Minimum performance score to filter employees.
|
||||
required: true
|
||||
type: float
|
||||
default: 4.0
|
||||
- name: department
|
||||
description: Department to filter by (optional).
|
||||
required: false
|
||||
type: string
|
||||
endpoint:
|
||||
cluster: api_server
|
||||
path: /avg_project_performance
|
||||
path: /project_performance
|
||||
system_prompt: |
|
||||
You are responsible for fetching employees with the highest average performance across all projects they’ve worked on. Apply filters for minimum project count, performance score, and department.
|
||||
|
||||
|
|
@ -190,6 +191,7 @@ prompt_targets:
|
|||
description: Department to filter employees by (optional).
|
||||
required: false
|
||||
type: string
|
||||
default: "Engineering"
|
||||
endpoint:
|
||||
cluster: api_server
|
||||
path: /certifications_experience
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue