Skip to content

Allow instructor to ignore certain fields#108

Open
srcrip wants to merge 1 commit intothmsmlr:mainfrom
srcrip:add-llm-ignore-attribute
Open

Allow instructor to ignore certain fields#108
srcrip wants to merge 1 commit intothmsmlr:mainfrom
srcrip:add-llm-ignore-attribute

Conversation

@srcrip
Copy link
Copy Markdown

@srcrip srcrip commented Jun 6, 2025

This is my take at solving: #92

I came to the linked issue because I wanted to use the Gemini adapter with a schema I had that used regular map types. Unfortunately, you can't do that with Gemini.

In my case the field that was a map I didn't even care about returning from the llm, so I wanted a way to just make instructor ignore it--then I saw that there was an open issue requesting the same thing so I just went for it.

@srcrip
Copy link
Copy Markdown
Author

srcrip commented Jun 6, 2025

Still need to workshop this a bit because its not quite working yet

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