Commit graph

206 commits

Author SHA1 Message Date
9a4f2a8b30 violent python activity21.yaml
modified:   ../app.py
	new file:   activity21.yaml
2024-08-10 15:42:31 -04:00
058b0161df allow increment to go backward with n-1 and also support any int c for the
increment or decrement.

	modified:   ../app.py
	modified:   guarded_ai.py
2024-08-10 15:00:28 -04:00
e3d3bf0303 n+1 in yaml to accumulate integers.
modified:   ../app.py
	new file:   activity20-n-plus-1.yaml
	modified:   guarded_ai.py
2024-08-10 14:39:37 -04:00
87faba6379 modified: guarded_ai.py 2024-08-10 13:40:22 -04:00
4f7caffe17 guarded_ai.py can also play rock-paper-scissors.yaml 2024-08-10 13:36:31 -04:00
0d908b65d4 fully functional activity19-rock-paper-scissors.yaml
modified:   ../app.py
	new file:   activity19-rock-paper-scissors.yaml
	modified:   ../templates/base.html
2024-08-10 13:24:26 -04:00
b979d31b40 more help text 2024-08-10 11:15:14 -04:00
884450dda2 modified: ../README.rst 2024-08-10 11:03:28 -04:00
920f0e931d /help
modified:   ../app.py
2024-08-10 11:02:05 -04:00
cebb2c2ec7 prompt engineering 2024-08-10 10:22:54 -04:00
4132afe9d1 prompt engineering
modified:   ../app.py
	modified:   activity0.yaml
2024-08-09 19:32:04 -04:00
af60dd8045 limited_effort for activity0.yaml example
modified:   activity0.yaml
2024-08-09 09:13:18 -04:00
3b8309a432 all languages translation to simulated gaurded_ai
modified:   guarded_ai.py
2024-08-09 08:41:46 -04:00
17777d727d support all the languages!
modified:   app.py
	modified:   research/activity0.yaml
2024-08-09 08:20:48 -04:00
3b542285f6 counts_as_attempt implemented and we caught up guarded_ai to have
metadata

	modified:   app.py
	modified:   research/guarded_ai.py
2024-08-08 08:59:20 -04:00
Russell Ballestrini
b0fa97ffc3 gpt-4o-2024-08-06 is the cheapest version of gpt-4 yet!
modified:   README.rst
	modified:   app.py
2024-08-07 18:59:18 -04:00
Russell Ballestrini
5bc19e5488 use aws profile when it's given in s3 client sessions
modified:   app.py
2024-08-07 13:10:32 -04:00
Russell Ballestrini
371984bc04 pyyaml
modified:   requirements.txt
2024-08-07 12:52:41 -04:00
eabf16a45a special string for saving user_response to metadata.
modified:   app.py
2024-08-05 09:10:47 -04:00
b4684a8e6d metadata_random is a new way to randomly assign metadata when a play
reaches this category.

	modified:   app.py
	modified:   research/activity17-choose-adventure.yaml
2024-08-04 15:15:42 -04:00
1ff5a364d3 prompt engineering.
modified:   research/activity17-choose-adventure.yaml
2024-08-04 12:08:33 -04:00
5217092e39 f
modified:   app.py
2024-08-04 11:37:04 -04:00
c4df19132f support both vllm and openai at the same time.
modified:   app.py
2024-08-04 11:35:12 -04:00
7a433bfccb pass activity_state.json_metadata to feedback for additional context.
modified:   app.py
	modified:   research/activity17-choose-adventure.yaml
2024-08-04 11:01:31 -04:00
36abf1590e /activity info on --local-activities
modified:   app.py
	modified:   research/activity17-choose-adventure.yaml
2024-08-04 10:42:14 -04:00
90964f2800 prize room and offering pit
new file:   research/activity17-choose-adventure.yaml
2024-08-04 09:02:13 -04:00
7ceb9303ea metadata_add and metadata_remove to allow for items to be consumed.
modified:   app.py
	modified:   research/activity14-choose-adventure.yaml
	modified:   research/activity15-choose-adventure.yaml
	modified:   research/activity16.yaml
2024-08-04 08:33:55 -04:00
7198f2109e a prize room for fun.
modified:   app.py
	modified:   research/activity15-choose-adventure.yaml
2024-08-03 18:21:43 -04:00
847f609b4a supply username to feedback routine so llm knows that context
remove dupe content and unessasary ai_feedback from different paths.

	modified:   app.py
	modified:   research/activity15-choose-adventure.yaml
2024-08-03 14:55:43 -04:00
018671a8c1 remove print debug statement
modified:   app.py
2024-08-03 13:07:42 -04:00
8cca256c89 prompt engineering activity 15
modified:   app.py
	modified:   research/activity15-choose-adventure.yaml
2024-08-03 09:29:53 -04:00
65404a4ecd now you can load local activities via --local-activities
modified:   app.py
	modified:   research/activity15-choose-adventure.yaml
2024-08-03 09:03:32 -04:00
257e5a6a04 /activity metadata
modified:   README.rst
	modified:   app.py
	modified:   research/activity16.yaml
2024-08-02 18:49:50 -04:00
ea082ad1ff migrate all activities, there should always be a step without a question
as last step.
	modified:   research/activity.yaml
	modified:   research/activity2.yaml
	modified:   research/activity4.yaml
	modified:   research/activity5.yaml
	modified:   research/activity6.yaml
	modified:   research/activity7.yaml
2024-08-01 18:03:00 -04:00
ade6bfed18 fix guarded_ai feedback issue 2024-07-31 17:15:07 -04:00
7953815e9d fix missing fstring ai tokens now actually sent to ai during feedback! 2024-07-31 09:08:06 -04:00
a6d188f3c7 this activity16 lets student explore 3 topics and exit after doing all 3
to the end.

	new file:   research/activity16.yaml
2024-07-31 08:22:22 -04:00
63b9bb18b5 display ending info when activity finishes
modified:   app.py
2024-07-31 07:40:22 -04:00
7fe320a958 refactor looping until a question is found to reduce code duplication
modified:   app.py
2024-07-30 22:20:18 -04:00
78f369d917 get rid of redundant content_block transitions 2024-07-30 21:10:41 -04:00
75812a8f37 this version of the safe room has secret items and rooms.
modified:   app.py
	new file:   research/activity15-choose-adventure.yaml
2024-07-30 20:48:36 -04:00
645a48a2dd allow open source to work with vllm
modified:   app.py
2024-07-29 10:26:49 -04:00
dbe7e0bd6a some steps don't have questions, try to do the right thing.
modified:   app.py
	modified:   research/activity0.yaml
2024-07-29 07:38:52 -04:00
94283a0377
Merge pull request #2 from russellballestrini/ai-guarded
Ai guarded
2024-07-29 06:34:51 -04:00
9f3c5fb3a7 hcanges per rabbit feedback
modified:   app.py
	modified:   research/guarded_ai.py
2024-07-29 06:34:05 -04:00
dd13bce82b
Update research/guarded_ai.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-29 06:17:48 -04:00
aa783ded70 modified: guarded_ai.py 2024-07-28 20:53:00 -04:00
602039ca71 play tested and working
modified:   app.py
2024-07-28 20:37:31 -04:00
5d10296f1f escape room mechanics with json_metadata for temporarily collecting data
based on where the user has went we can for example set a key: true if
they collected a key needed to access a section's steps.

	modified:   app.py
	new file:   migrations/versions/d737de68d6fa_add_metadata_field_to_activitystate.py
	new file:   research/activity14-choose-adventure.yaml
2024-07-28 19:14:54 -04:00
e3b3ddb007 allow player to go back if they change their minds, less "rails".
modified:   research/activity13-choose-adventure.yaml
2024-07-28 15:07:34 -04:00