Skip to content

chore: add short documentation for the SDKs #281

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

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

thedadams
Copy link
Contributor

The examples and documentation is limited because the READMEs in the individual repos contain the more thorough documentation. Links to the individual repos are included throughout.


async function execFile() {
try {
const out = await foo.execFile('./hello.gpt', "--input World", opts);
Copy link
Member

Choose a reason for hiding this comment

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

imo we should change this example a little bit. I really don't like when we do --arg-name some-value in our examples because I think it is misleading.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

DisableCache: &[]bool{true}[0],
}

return gptscript.ExecFile(ctx, "./hello.gpt", "--input World", opts)
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

The examples and documentation is limited because the READMEs in the
individual repos contain the more thorough documentation. Links to the
individual repos are included throughout.

Signed-off-by: Donnie Adams <donnie@acorn.io>
@thedadams thedadams merged commit 1b1a437 into gptscript-ai:main Apr 25, 2024
@thedadams thedadams deleted the sdk-docs branch April 25, 2024 19:56
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.

3 participants