Skip to content

Bug: Invalid Error: [json.exception.type_error.302] type must be string, but is null when running completion query #245

Description

@ju-klein

Flock version: v0.7.0

DuckDB version: v1.4.4

Steps to reproduce:
Dataset: https://amazon-reviews-2023.github.io/
Query:

WITH playground AS (  
 SELECT * FROM reviews LIMIT 1250 OFFSET 0),  
 enhanced_reviews AS (  
 SELECT rating,  
 title,  
 text,  
 llm_complete(
 {'model_name': 'base'},
 {'prompt_name': 'summarize-content', 'version': 1, 'context_columns': [{'data': text}]}
 ) AS summary_text
 FROM playground
 ),
 ghostvalues AS (
 SELECT rating, title, text, summary_text
 FROM enhanced_reviews
 ) SELECT * FROM ghostvalues;

Expected behavior:
Query returns some output.

Actual behavior:


Invalid Error:
[json.exception.type_error.302] type must be string, but is null

Please let me know if I can give any further info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions