Skip to content

Commit

Permalink
Merge pull request #2 from Ashi803/master
Browse files Browse the repository at this point in the history
Expanded the provanance chain to add more metadata
  • Loading branch information
rob-metalinkage authored Nov 20, 2024
2 parents a73876f + efc2e6f commit 2335b49
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions _sources/examples/example-llm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,34 @@
"generated": {
"id": "output",
"type": "Entity",
"response": "\u001b[0mLLM Generated Code: \u001b[96mgdf.to_crs(epsg=7856).set_index('name').loc['UNSW Village'].geometry.distance(gdf.to_crs(epsg=7856)[gdf.amenity == 'hospital'].geometry).min()\n\u001b[0mRaw Response: \u001b[96m511.8048618048641\n\u001b[0mResponse:\u001b[92mThe closest hospital to UNSW Village is approximately 512 meters away."
"AgentType": "SoftwareAgent",
"response": [
{
"id": "LLM Generated Code",
"type": "Entity",
"wasGeneratedBy": "gemini-1.5-pro-001",
"data": "gdf.to_crs(epsg=7856).set_index('name').loc['UNSW Village'].geometry.distance(gdf.to_crs(epsg=7856)[gdf.amenity == 'hospital'].geometry).min()"
},
{
"id": "Code Output",
"type": "Entity",
"data": "511.8048618048641"
},
{
"id": "Final Output",
"type": "Entity",
"wasGeneratedBy": "gemini-1.5-flash-001",
"data": "The closest hospital to UNSW Village is approximately 512 meters away."
}
]
},
"endedAtTime": "2024-11-18T06:44:33.504798Z",
"startedAtTime": "2024-11-19T05:07:22.927913Z",
"endedAtTime": "2024-11-19T05:07:34.304708Z",
"used": [
{
"id": "file",
"type": "Entity",
"AgentType": "Person",
"data": [
{
"id": "osmdata.shp",
Expand Down

0 comments on commit 2335b49

Please sign in to comment.