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

Add support for testing OpenAI plugins using URL #5

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hootanht
Copy link

@hootanht hootanht commented Sep 2, 2024

Fixes #1

Add support for testing OpenAI plugins using their URL.

  • README.md:
    • Add a section explaining how to test OpenAI plugins using their URL.
    • Include an example of testing a plugin using its URL.
  • src/skUnit/Asserts/SemanticKernelAssert_Chat.cs:
    • Add a new method CheckPluginByUrlAsync to test chat scenarios using a plugin URL.
    • Implement the method to load the plugin from the URL and run the chat scenario.
  • src/skUnit/Asserts/SemanticKernelAssert_Function.cs:
    • Add a new method CheckPluginByUrlAsync to test function scenarios using a plugin URL.
    • Implement the method to load the plugin from the URL and run the function scenario.
  • src/skUnit/Asserts/SemanticKernelAssert_Initialize.cs:
    • Add a new constructor to initialize SemanticKernelAssert with a plugin URL.
    • Implement the constructor to load the plugin from the URL and initialize the kernel.

Fixes mehrandvd#1

Add support for testing OpenAI plugins using their URL.

* **README.md**:
  - Add a section explaining how to test OpenAI plugins using their URL.
  - Include an example of testing a plugin using its URL.
* **src/skUnit/Asserts/SemanticKernelAssert_Chat.cs**:
  - Add a new method `CheckPluginByUrlAsync` to test chat scenarios using a plugin URL.
  - Implement the method to load the plugin from the URL and run the chat scenario.
* **src/skUnit/Asserts/SemanticKernelAssert_Function.cs**:
  - Add a new method `CheckPluginByUrlAsync` to test function scenarios using a plugin URL.
  - Implement the method to load the plugin from the URL and run the function scenario.
* **src/skUnit/Asserts/SemanticKernelAssert_Initialize.cs**:
  - Add a new constructor to initialize `SemanticKernelAssert` with a plugin URL.
  - Implement the constructor to load the plugin from the URL and initialize the kernel.
@mehrandvd
Copy link
Owner

Thank you @hootanht
Have you managed to test it with a real plugin to check if it actually works?

@hootanht
Copy link
Author

hootanht commented Sep 2, 2024

Thank you @hootanht
Have you managed to test it with a real plugin to check if it actually works?

Not at the moment, that's why this pull request is in draft status. I'll notify you once I've tested it.

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.

Add support for testing OpenAI plugins.
2 participants