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

Example scenarios in documentation #62

Open
nalbion opened this issue Sep 18, 2023 · 4 comments
Open

Example scenarios in documentation #62

nalbion opened this issue Sep 18, 2023 · 4 comments

Comments

@nalbion
Copy link
Contributor

nalbion commented Sep 18, 2023

It would be useful to have examples of various scenarios included in the documentation:

  • Write Washington to a text file (end of task in one line)
  • Create a chat app (user begins conversation)
  • Agent starts with "Hi, would you like to book a flight or accommodation?" (Optional output in POST /agent/tasks #63)
  • GitHub action triggers a new task, sends Issue title (and body & comments? ) as input, agent does some tasks synchronously, also waits for user response through Slack
  • Optional additional_input/config used to provide auth token, model name, task/step type...
@nalbion
Copy link
Contributor Author

nalbion commented Sep 18, 2023

...I'm really curious to see how the "Write Washington to a text file (end of task in one line)" scenario would be implemented.

  • Is "Write Washington to a text file (end of task in one line)" the input for Task or Step?
  • If for Task, how can the agent provide a response message "Ok, the file has been created"?

@thomafred
Copy link

It would be create to have a "hello world"-like example too. An Echo-example for example.

@jzanecook
Copy link
Collaborator

It would be create to have a "hello world"-like example too. An Echo-example for example.

The example for the Python SDK (here https://github.com/AI-Engineers-Foundation/agent-protocol-sdk-python/blob/main/examples/minimal.py) is essentially an echo example.

I think some more examples would be good to have. And if anybody creates working examples, it would be great to add them to the docs as a reference!

@hackgoofer
Copy link
Contributor

Lemme take a stab at creating some examples. Will update here.

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

No branches or pull requests

4 participants