Skip to content

fix: OpenAI JSON Schema error with embeds and title field#99

Open
scottmessinger wants to merge 1 commit intothmsmlr:mainfrom
commoncurriculum:fix/open-ai-embeds-title-field-pr
Open

fix: OpenAI JSON Schema error with embeds and title field#99
scottmessinger wants to merge 1 commit intothmsmlr:mainfrom
commoncurriculum:fix/open-ai-embeds-title-field-pr

Conversation

@scottmessinger
Copy link
Copy Markdown

OpenAI throws an error if the embeds_one relation has title field in it. It can only have a $ref.

Removing the title field required changing how embeds are handled. Embeds are now handled not like fields but like associations.

OpenAI throws an error if the embeds_one relation has ` title` field in it. It can only have a `$ref`.

Removing the title field required changing how embeds are handled. Embeds are now handled not like fields but like associations.

logs

clean up
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.

1 participant