alihmaou commited on
Commit
b6ba79e
·
verified ·
1 Parent(s): 17d9a60

Some use cases for tests

Browse files
Files changed (1) hide show
  1. assets/Examples.MD +51 -0
assets/Examples.MD ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ## Classic Strawberry counter
3
+ Look at the MCEPTION tools and use them to create an mcp server in alihmaou/mceptiondemo with an example tool called 'strawberry' that counts and returns the occurences of a letter in a submitted word.
4
+
5
+ ### Test after tools loading
6
+ Look at your tools the have been refreshed.
7
+ How many r in strawberrrrrrrrrries ?
8
+
9
+ ## Pokemon info from API
10
+ Look at the MCEPTION tools and add a tool in alihmaou/mceptiondemo with an example tool called 'pokemon' that connects to the pokemon api and gives info about a pokemon.
11
+
12
+ ### Test after tools loading
13
+ Look at your tools the have been refreshed and use them.
14
+ What type of pokemon is Pikachu
15
+
16
+ ## Geocoding with Open street maps
17
+ Look at the MCEPTION tools and add a tool in alihmaou/mceptiondemo with an example tool called 'locate' that connects to openstreetmap apis to find a position from an adress.
18
+
19
+ ### Test after tools loading
20
+ Look at your tools the have been refreshed and use them.
21
+ What are the coordinates of Paris ?
22
+
23
+ ## Advance calculation with duck dbb
24
+ Look at the MCEPTION tools and add a tool in alihmaou/mceptiondemo with an example tool called 'distance' that uses duckdb, installs and load the spatial extension to calculate the distance in meters betweend two points (lat,lon, lat,lon). Conversion to geography might be needed to answer in meters.
25
+
26
+ ### Test after tools loading (Agent should mix tool calling to answer)
27
+ Look at your tools the have been refreshed and use them.
28
+ What is the distance between 37 rue Buzenval in Paris and Sydney ?
29
+
30
+ ## Autonomous open data explorations
31
+
32
+ ### PROMPT TOOL 1
33
+ Look at the MCEPTION tools and use them to create an mcp server in alihmaou/opendataexplorer.
34
+
35
+ Tool 1 : getdatasetinfo : fetches datastet from url and download file locally, uses the right duckdb reader according to the dataset type (csv, json, parquet), uses safe mode (all varchar for csvs) and applies duckdb describe function to return a description. Describe the tool as a part of a natural language explorer MCP server for open datasets.
36
+
37
+ URL example for opendatasoft syntax : https://noisylegrand.opendatasoft.com/api/explore/v2.1/catalog/datasets/fichier-consolide-des-bornes-de-recharge-pour-vehicules-electriques-irve-a-noisy/exports/parquet?lang=fr&timezone=Europe%2FBerlin
38
+
39
+ ### TEST PROMPT TOOL 1
40
+
41
+ A tool has been loaded in your environment in the mceptiondemo server, check it to explore this example dataset : https://noisylegrand.opendatasoft.com/api/explore/v2.1/catalog/datasets/fichier-consolide-des-bornes-de-recharge-pour-vehicules-electriques-irve-a-noisy/exports/parquet?lang=fr&timezone=Europe%2FBerlin
42
+
43
+ ### PROMPT TOOL 2
44
+
45
+ Tool 2 : runsqlonfile : fetches datastet from url and download file locally, uses the right duckdb reader according to the dataset type (csv, json, parquet), uses safe mode (all varchar for csvs) and applies duckdb describe function to return a description. Describe the tool as a part of a natural language explorer MCP server for open datasets.
46
+
47
+ ### PROMPT TO CONTROL AFTER TOOLS CREATION
48
+
49
+ Look at the tools of the server alihmaou/mceptiondemo and use them on https://opendata.paris.fr/api/explore/v2.1/catalog/datasets/les-arbres/exports/parquet?lang=fr&timezone=Europe%2FBerlin.
50
+
51
+ What are the 10 most represented kind of trees in Paris ?