Skip to content

Conversation

@DianaStrauss
Copy link
Collaborator

I added two use-cases (SimpleWebAPIDocumentation and SimpleWebAPITesting) and a Prompt Engineer.
The Prompt Engineer is responsible for generating prompts based on three different prompt strategies (In-context learning, chain-of-thought, tree-of-thought)

class MinimalWebTesting(RoundBasedUseCase):
llm: OpenAILib
host: str = parameter(desc="The host to test", default="http://localhost")
host: str = parameter(desc="The host to test", default="https://api.restful-api.dev/objects")
Copy link
Member

Choose a reason for hiding this comment

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

using localhost would be nice, so to not attack third-parties

Copy link
Member

Choose a reason for hiding this comment

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

I would move openapi_spec into the docs directory to make it clear, that this is just an example

result = response.execute()
self.console.print(Panel(result, title="tool"))
self._prompt_history.append(tool_message(result, tool_call_id))
for i in self._prompt_history:
Copy link
Member

Choose a reason for hiding this comment

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

this looks like forgotten debug prints, maybe remove?

Copy link
Member

@andreashappe andreashappe left a comment

Choose a reason for hiding this comment

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

thank you for implementing the change suggestions

@andreashappe andreashappe merged commit 78199d0 into ipa-lab:main May 16, 2024
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