Skip to content

Agent dev space#50

Open
CedricJouan wants to merge 2 commits intoOpenArchitectAI:mainfrom
CedricJouan:agent-dev-space
Open

Agent dev space#50
CedricJouan wants to merge 2 commits intoOpenArchitectAI:mainfrom
CedricJouan:agent-dev-space

Conversation

@CedricJouan
Copy link

Hi all,

Here's my Idea behind the dev Space.
The goal of the dev space is to ease contribution to the dspy models. As of now, if you want to work on the models you have to deal with the integrations with git and trello (+the coming complexities not implemented yet)..
I want each model to be isolated and the inputs/outputs of the models to point toward a common data dir.
I also want a lab notebook to play around the models.

In this PR I show an example of a dev space that I find convenient

I thought of different ways to achieve that and I'd like to have your feedback on those.

  • Refactor the code to be able to easily mirror the relevant packages in a dev folder.
    With a lite refactoring of the code, we can build a dev dir that just clone the relevant modules (containing the models) in a from src to dev. That way we can easily build the dev dir from the src dir. (This make the duplication of code maintainable)
  • Create an API between models and app.
    The other way I found is to isolate the models and create a API around the model. This way we don't have to deal with code duplication and the model are isolated and can be called from anywhere including your little notebook space in your branch...
  • Create a dev Branch...
    We can create a branch with a very simplified version of the app.. Basically containing what's needed for the models (like the folder in my PR). This method is pretty much like the first method I describe because we also need to make sure this branch mirrors the main...

Let me know your thoughts!

Implement a dev folder that allows to work on the models separately. it contains duplicates of the agents where the dependencies to git and trello have been removed... The agents have their lab notebook and the input/output of the models are pointed toward the data folder.
just a quick fix on the example .env file...
@axelpey
Copy link
Collaborator

axelpey commented Apr 19, 2024

Love it! Will take a look later today :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants