Skip to content

Commit

Permalink
Merge pull request #442 from kreneskyp/update_ix_api
Browse files Browse the repository at this point in the history
Update IX API fixture
  • Loading branch information
kreneskyp authored Feb 8, 2024
2 parents 2f79211 + fbda313 commit 57f9328
Show file tree
Hide file tree
Showing 3 changed files with 448 additions and 93 deletions.
8 changes: 4 additions & 4 deletions ix/chains/fixtures/agent/schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"method": "get",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "get_schemas",
"description": "Get Schemas",
Expand All @@ -65,7 +65,7 @@
"method": "post",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "create_schema",
"description": "Create Schema:\n- value is the actual json schema, you must define this.\n- meta must be a dict. it stores key:value tags in the dict. Must be {} if no tags.\n- create json schema by default.",
Expand Down Expand Up @@ -118,7 +118,7 @@
"method": "put",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "update_schema",
"description": "Update Schema:\n- value is the actual json schema, you must reuse or define this.\n- meta must be a dict. it stores key:value tags in the dict. Must be {} if no tags.\n",
Expand Down Expand Up @@ -168,7 +168,7 @@
"method": "get",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "get_schema",
"description": "Get Schema",
Expand Down
10 changes: 5 additions & 5 deletions ix/chains/fixtures/agent/skills.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"method": "put",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d",
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9",
"instructions": "- Search for skill before trying to fetch it. \n- copy all field values in update data except: \"id\"\n\n- code is python with type hinting\n- code must include at least one function\n- code function args must have type hints\n- code function must have a docstring\n- input_schema is null\n- func_name is null\n- tags must be a list. [] if no values.\n\nShow your work after."
},
"name": "update_skill",
Expand All @@ -99,7 +99,7 @@
"prompt": "Create a new skill:\n- input_schema is null\n- func_name is null\n- skill.code is the code for a single python function\n- function must have type hints\n- function must have a docstring",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "get_skills",
"description": "Get Skills",
Expand All @@ -124,7 +124,7 @@
"method": "get",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d",
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9",
"instructions": "- Search for skill before trying to fetch it. \n- skill_id is required"
},
"name": "get_skill",
Expand All @@ -150,7 +150,7 @@
"method": "delete",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d"
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9"
},
"name": "delete_skill",
"description": "Delete Skill",
Expand Down Expand Up @@ -254,7 +254,7 @@
"prompt": "Create a new skill:\n- code is python with type hinting\n- input_schema is null\n- func_name is null\n- code must include at least one function\n- code function args must have type hints\n- code function must have a docstring",
"server": "http://172.17.0.1:8000/api",
"headers": {},
"schema_id": "67dcf17e-1464-48bd-ae94-2184b7ab6a0d",
"schema_id": "55290ca3-ea37-4000-bdcf-bea6933ad3d9",
"instructions": "Create a new skill:\n-write only python with type hinting\n- code must include at least one function\n- code function args must have type hints\n- code function must have a docstring\n- input_schema is null\n- func_name is null\n\nShow your work after."
},
"name": "create_skill",
Expand Down
Loading

0 comments on commit 57f9328

Please sign in to comment.