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

enhance: add Outlook Mail code tools #32

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

g-linville
Copy link
Collaborator

@g-linville g-linville commented Aug 27, 2024

Much like the Outlook Calendar code tools, these aren't being used anywhere yet. I want to get them merged first, and then switch the existing manage and read tools over to using these.

@g-linville g-linville marked this pull request as ready for review August 27, 2024 17:37
Comment on lines 6 to 7
ReadOnlyScopes = []string{"TODO"}
AllScopes = []string{"TODO"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these need to be replaced with something else? If not, can we add a comment explaining?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Whoops lol. Yeah this proves that we probably don't need to specify scopes. I think I'll add them in anyway, in case we for some reason change how we handle authn/z.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

Signed-off-by: Grant Linville <[email protected]>
#!${GPTSCRIPT_TOOL_DIR}/bin/gptscript-go-tool listMailFolders

---
Name: listMessages
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you use the word message instead of email throug out this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

An individual email is referred to as a message in the Graph API, which is why I stuck with that naming. Though I could see how it could be less helpful to the LLM. I can just update the naming within the tool.gpt file if you want, since that's all the LLM will see.

@g-linville g-linville merged commit d647e5b into obot-platform:main Aug 29, 2024
@g-linville g-linville deleted the outlook-mail-code-tool branch August 29, 2024 00:21
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.

4 participants