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

Adding the openai.json to actions in GPTs #7

Open
zhaolida98 opened this issue Nov 20, 2023 · 0 comments
Open

Adding the openai.json to actions in GPTs #7

zhaolida98 opened this issue Nov 20, 2023 · 0 comments

Comments

@zhaolida98
Copy link

I tried to add openai.json and openai.yaml to actions in GPTs. However, several errors occurred in both files.
In total, two types error messages are found.
The first is

In context=('components', 'schemas', 'NonSplittingTagCommaSeparatedList', 'allOf', '0'), reference to unknown component TagCommaSeparatedList; using empty schema

I have fixed this type of error by changing

"allOF": [
{
    "$ref": "#/components/schemas/TagCommaSeparatedList"
  }
]

to

"items": {
            "$ref": "#/components/schemas/TagCommaSeparatedList"
          },

However, I can't solve the second type of problem:

In path /document/{document_id}, method post, operationId getDocumentStatus, parameter {'$ref': '#/components/parameters/DocumentID'} is has missing or non-string name; skipping
In path /document/{document_id}, method post, operationId getDocumentStatus, skipping function due to errors
In path /glossaries/{glossary_id}, method get, operationId getGlossary, parameter {'$ref': '#/components/parameters/GlossaryID'} is has missing or non-string name; skipping
In path /glossaries/{glossary_id}, method get, operationId getGlossary, skipping function due to errors

Everything looks fine to me, I don't know why is this error occurring. I have already tried changing name "document_id" to "DocumentID".
Can any one help me on this?

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

1 participant