Skip to content

Conversation

CuddlyBunion341
Copy link
Owner

@CuddlyBunion341 CuddlyBunion341 commented Dec 13, 2024

Scripts to automatically generate ECS documentation using GPT4o mini.

Todo

  • Make it work
  • Link to docs in README.md
  • Make the doc generation part of the release CI

@CuddlyBunion341 CuddlyBunion341 self-assigned this Dec 13, 2024
@CuddlyBunion341 CuddlyBunion341 marked this pull request as ready for review December 13, 2024 20:07
@CuddlyBunion341 CuddlyBunion341 changed the title Autodoc Generate project specific documentation using GPT Dec 13, 2024
exit 1
fi

MODEL="gpt-4o-mini"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably quite expensive 😓

@@ -0,0 +1,108 @@
#!/bin/bash
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#!/bin/bash
#!/usr/bin/env bash
image

Comment on lines +44 to +46
-d "{
\"model\": \"$MODEL\",
\"messages\": [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use heredoc, so that you don't have to escape the dblquotes?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

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