Added Float type to the function parameter values (#77)

This commit is contained in:
Sampreeth Sarma 2024-09-25 13:29:20 -07:00 committed by GitHub
parent 7505a0fc1f
commit 7f0fcb372b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 1505 additions and 45 deletions

View file

@ -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 theyve 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