WindmillWWindmill
Powered by
Stefan-neoS
Windmill•2y ago•
4 replies
Stefan-neo

GraphQL schema length causes token limit to be exceeded

Hi, I'm trying to write GraphQL queries via GPT-4 code generation but run into an issue caused by the size of the GraphQL schema (from Linear) that is automatically used as context in the prompt. The size of the GraphQL schema bloats the prompt, resulting in a token size of is 138134 tokens, thereby exceeding the GPT-4 12k token limit.

Any ideas how the context size can be adjusted?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Quota exceeded: Email trigger usage limit of 100 per day has been reached
pascalPpascal / help
15mo ago
How to handle a paginated graphQL request?
RicoRRico / help
3y ago
GraphQL Documentation in Windmill
biggedy.Bbiggedy. / help
3y ago
We have lots of flows failing with: Quota exceeded: Workspace *** has exceeded
patrick.nueserPpatrick.nueser / help
4mo ago