Anthropic Examples/Readme Guide Created and Proper Reference Noted. #466
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
📘 Description
_Changed link on Anthropic example to an anthropic readme I created; aside from the pre existing barebones example, I also included three examples showing how the async, sync and tool function could be used.
The sync example shows a case where a sentence generated by simple mixing and connecting is given as context to create a story. The async example has the LLM generate a script line based off the game "TitanFall", depending on the state of the Titan and the personality. At the same time, 4 UUIDs are generated on async as a simple example. Finally, the tool function gives a piece of "Cyberware" based off the user's requested company. Then with the job role the user wants, the LLM says if it is a good or bad fit.
I purposefully made the examples connect to different media as when starting out, lesser experienced developers often have issues following along without a greater level of explanation and focus is an issue as well. By connecting it to better known medias, it remains more engaging while allowing the reader to possibly create parallels between the instructions being shown and the base concepts they're already aware of.
I am also requesting that I am allowed to use AgentOps to show how to do a few things such as setting up a history to keeping it small but with context through summarization when needed. Then, a few use case examples could be shown to help newer developers both understand how to develop with LLMs and how to do so with AgentOps!_
🧪 Testing
Ran journals on Kaggle piece by piece (Which is why the async example is changed so much aside from having a little more meaningful example) before sending it over to a friend to test as well.