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

I should be able to generate OpenAI plugin from Kiota #4418

Closed
maisarissi opened this issue Mar 28, 2024 · 6 comments · Fixed by #4656
Closed

I should be able to generate OpenAI plugin from Kiota #4418

maisarissi opened this issue Mar 28, 2024 · 6 comments · Fixed by #4656
Assignees
Labels
enhancement New feature or request generator Issues or improvements relater to generation capabilities.
Milestone

Comments

@maisarissi
Copy link
Contributor

When trying to generate OpenAI plugin manifest from Kiota, I go the following error
image

I should be able to generate OpenAI plugin manifest.

@github-project-automation github-project-automation bot moved this to Todo in Kiota Mar 28, 2024
@baywet baywet added enhancement New feature or request generator Issues or improvements relater to generation capabilities. labels Mar 29, 2024
@baywet baywet added this to the Kiota v1.14 milestone Mar 29, 2024
@maisarissi
Copy link
Contributor Author

Also the generated plugin should be named ai-plugin.json. Spec was updated to cover the right naming: #4477

@baywet
Copy link
Member

baywet commented Apr 16, 2024

Can you link a specification to the format please?
Do we have a library support for the serialization aspect?

@maisarissi
Copy link
Contributor Author

Are you looking for something different than https://github.com/microsoft/kiota/blob/main/specs/cli/plugin-add.md?plain=1#L19-L30

Here is a format example of OpenAI plugin:

{
    "schema_version": "v1",
    "name_for_human": "TODO List (No Auth)",
    "name_for_model": "todo",
    "description_for_human": "Manage your TODO list. You can add, remove and view your TODOs.",
    "description_for_model": "Plugin for managing a TODO list, you can add, remove and view your TODOs.",
    "auth": {
        "type": "none"
    },
    "api": {
        "type": "openapi",
        "url": "PLUGIN_HOSTNAME/openapi.yaml"
    },
    "logo_url": "PLUGIN_HOSTNAME/logo.png",
    "contact_email": "[email protected]",
    "legal_info_url": "https://example.com/legal"
}

@baywet
Copy link
Member

baywet commented Apr 19, 2024

Thanks for the additional details. Do you happen to know if we have support for those in the plugins library yet? do we have an issue to track that?

@baywet baywet self-assigned this Apr 23, 2024
@baywet baywet moved this from Todo 📃 to In Progress 🚧 in Kiota Apr 23, 2024
@baywet
Copy link
Member

baywet commented Apr 23, 2024

Update from internal discussions:

  • the specification has an intentional gap, there is a 3rd plugin type (already implemented) which name is currently under embargo. Please consult the internal specification document for more details
  • the OpenAI plugin type is not currently implemented by the validation library, tracked by this issue https://github.com/microsoft/Microsoft.Plugins.Manifest/issues/116

@baywet baywet moved this from In Progress 🚧 to Blocked 🔒 in Kiota Apr 23, 2024
@baywet baywet removed their assignment Apr 23, 2024
@baywet baywet added the blocked This work can't be done until an external dependent work is done. label Apr 24, 2024
@baywet baywet modified the milestones: Kiota v1.14, Kiota v1.15 Apr 25, 2024
@baywet baywet moved this from Blocked 🔒 to Todo 📃 in Kiota May 13, 2024
@baywet
Copy link
Member

baywet commented May 13, 2024

Update: the format has been implemented in the parsing library, we should be able to move forward with implementation.

@andrueastman andrueastman self-assigned this May 14, 2024
@andrueastman andrueastman removed the blocked This work can't be done until an external dependent work is done. label May 14, 2024
@andrueastman andrueastman moved this from Todo 📃 to In Review 💭 in Kiota May 15, 2024
@github-project-automation github-project-automation bot moved this from In Review 💭 to Done ✔️ in Kiota May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request generator Issues or improvements relater to generation capabilities.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants