Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal API with AI #66

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open

Minimal API with AI #66

wants to merge 37 commits into from

Conversation

Koeng101
Copy link
Owner

My dream for DnaDesign is to integrate AI systems for designing DNA - the other API request is a means to this end. However, I want the end-to-end pipeline to exist, and then the rest of the functions can be added. This is meant to be an end-to-end example with deployment details:

  • Have an AI system that can look at a user prompt and decide how to add information to it
  • Have a chatbox system working with hyperscript/htmx (this should be as simple as possible)
  • Have the simplest code integration (just fasta reading with attachments)
  • Have actual deployment working (thinking just k3s with digitalocean)

I think after this point is where it gets interesting, because it can be used for things.

@Koeng101
Copy link
Owner Author

Koeng101 commented Mar 4, 2024

What is a minimally viable API here?

I would say:

  • Can open attachments
  • Can figure out if the user needs information or if the user needs code to be written
  • Can figure out what needs to be injected into context window for users code
  • Can generate code
  • Can execute generated code
  • Can return results to user

@Koeng101
Copy link
Owner Author

Koeng101 commented Mar 4, 2024

  • Can open attachments
  • Can figure out if the user needs information or if the user needs code to be written
  • Can figure out what needs to be injected into context window for users code
  • Can generate code
  • Can execute generated code
  • Can return results to user

@Koeng101
Copy link
Owner Author

Koeng101 commented Mar 7, 2024

The biggest problem here is that I have to do a crap ton of massaging and prompt engineering to get a proper output. I think I really just need a fine tune for my desired output (lua using the library, with the particular output I'm looking for). This just takes a lot of examples, which I think would be healthy to make.

@Koeng101
Copy link
Owner Author

As an update: figured more of this out in a separate repo, going to merge soon. Got lua generation working reliably.

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.

None yet

1 participant