Send a query to the feature group code generator tool to generate code for the query.
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | query | str | A natural language query which specifies what the user wants out of the feature group or its code. |
Yes | language | str | The language in which code is to be generated. One of 'sql' or 'python'. |
No | projectId | str | A unique string identifier of the project in context of which the query is. |
KEY | TYPE | DESCRIPTION | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
success | Boolean | true if the call succeeded, false if there was an error | |||||||||||||||||||||||||||||||||||||||||||||
result | LlmResponse |
|
TYPE | WHEN |
---|---|
DataNotFoundError |
|
InvalidEnumParameterError | An invalid value is passed for |
Coming Soon!