-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from fractalego/llm-webserving
Llm webserving
- Loading branch information
Showing
112 changed files
with
583 additions
and
4,556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
facts: | ||
- This bot is doing well | ||
- This bot is called Computer | ||
- The user lives in Eltham, London | ||
|
||
rules: | ||
- the user wants to compute some math operation: | ||
- Think of the python code that solves the math problem and assigns the result to the variable "result" | ||
- For example "what is the result of 2 + 2?" should output "<execute>result = 2 + 2</execute>" | ||
- Another example "what is the square root of 2?" should output "<execute>import math;result = math.sqrt(2)</execute>" | ||
- output exactly the following "<execute>result = PYTHON CODE THAT SOLVES THE PROBLEM</execute>" | ||
|
||
- the user wants to know the time: | ||
- output "The time is <execute>get_time()</execute>". | ||
|
||
- the user wants to know today's date: | ||
- output "The date is <execute>get_date()</execute>". | ||
|
||
- the user wants to know today's day of the week: | ||
- output "The day of the week is <execute>get_day()</execute>". | ||
|
||
- the user wants to know the weather today: | ||
- output "<execute>check_today_weather()</execute>". | ||
|
||
- the user wants to know the weather tomorrow: | ||
- output "<execute>check_tomorrow_weather()</execute>". | ||
|
||
- the user wants to summarise a website: | ||
- you'll need the website url to summarise | ||
- output exactly "<remember> The website content is <execute>get_website('WEBSITE_URL')</execute> </remember>". | ||
- summarise the website content given what you remember | ||
- output the summary | ||
|
||
- the user wants to know what is in the shopping list: | ||
- output "<execute>get_shopping_list()</execute>". | ||
|
||
- the user wants to add something to the shopping list: | ||
- The task here is to add the item to the shopping list using a python function | ||
- example "add milk to the shopping list" should output "<execute>add_to_shopping_list(['milk'])</execute>" | ||
- output "<execute>add_to_shopping_list(ITEMS_TO_ADD)</execute>". | ||
|
||
- the user wants to remove something to the shopping list: | ||
- The task here is to remove the item from the shopping list using a python function | ||
- example "remove milk from the shopping list" should output "<execute>remove_from_shopping_list(['milk'])</execute>" | ||
- output "<execute>remove_from_shopping_list(ITEMS_TO_REMOVE)</execute>". | ||
|
||
- the user asks something about cities, capitals, countries, buildings, famous people, bars, restaurants, rivers, mountains, lakes, seas, oceans, planets, stars, galaxies: | ||
- say that you are just improvising the answer | ||
- say what you think answer the question |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.