Overview
An agent meant to define infrastruture
Members
get_architecture
Project Step: architecture
First tries to find if this step has already been run, and if so rehydrate that result and return it.
Otherwise creates a new AgentConvo with the technologies.prompt
. The prompt describes an architect being given project details. It passes in the current project description, user stories, the OS being leveraged, and some project templates like an express app using node.
The response to that prompt is a JSON object describing the environment dependencies, project dependencies, architecture overview, and a template to base the project on if applicable.
Function calling
This is the first time we see a function definition being passed to the agent.
It defines a function called
process_architecture
which retrieves the architecture and dependencies required for a project. The arguments are a general description of the app, the system dependencies, the package dependencies, and a template if applicable.
Function calling observation
It seems like the function definition added to the request is not a traditional “tool” like function to be executed within the application, but a request to treat the LLM completion as a function.
Given X prompt, and Y schema, respond to the prompt generating a valid Y schema.