prithivMLmods commited on
Commit
cc08fa6
·
verified ·
1 Parent(s): 48a03d3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -1
README.md CHANGED
@@ -13,4 +13,46 @@ tags:
13
  - trl
14
  - agent
15
  - tool_calling
16
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  - trl
14
  - agent
15
  - tool_calling
16
+ ---
17
+
18
+ ## sample inference.
19
+
20
+ ```
21
+ Solve 2**2
22
+ ```
23
+
24
+ ```py
25
+ [{"name": "power", "description": "Calculates the power of a number with a specified exponent.",
26
+ "parameters": {"number": {"description": "The base for which the power is calculated.", "type": "int"},
27
+ "exponent": {"description": "The exponent to which the number should be raised.", "type": "int"}}}]
28
+ ```
29
+
30
+ ```
31
+ solve for 'x' in the equation 2x + 5 = 11?
32
+ ```
33
+
34
+ ```py
35
+ [{"name": "solving_equation", "description": "Solves a linear equation for a variable.",
36
+ "parameters": {"equation": {"description": "The equation to solve. The format is 'a*x + b = c'.
37
+ For example, '5x + 2 = 10' or '3x - 7 = 1'.", "type": "str"}, "operation": {"description": "The operation (add, sub, etc.) to perform the solving.",
38
+ "type": "str, optional"}, "variable": {"description": "The variable to solve for. Defaults to 'x' if not provided.", "default": "x"}}}]
39
+ ```
40
+
41
+ ```
42
+ What is the volume of a sphere with a radius of 6 cm?
43
+ ```
44
+
45
+ ```py
46
+ [{"name": "volume_of_sphere", "description": "Calculates the volume of a sphere given its radius using the formula (4/3)πr³.",
47
+ "parameters": {"radius": {"description": "The radius of the sphere.", "type": "int"}}}]
48
+ ```
49
+
50
+ ```
51
+ In an examination 80% of the candidates passed in Urdu and 85% in Hindi, while 75% passed in both . If 45 candidates failed in both. Then the total number of candidates was ?
52
+ ```
53
+
54
+ ```py
55
+ [{"name": "passing_percentage", "description": "Calculates the passing percentage for an exam given the percentage of students who passed each subject, and the intersection percentage of passing subjects.",
56
+ "parameters": {"subject1_percent": {"description": "Percentage of students who passed the first subject (e.g., 85% if Hindi).", "type": "int"},
57
+ "subject2_percent": {"description": "Percentage of students who passed the second subject (e.g., 80% if Urdu).", "type": "int"}, "passed_both_percent": {"description": "Percentage of students who passed both subjects.", "type": "int"}}}]
58
+ ```