run-llama / llama_extract

MIT License
103 stars 16 forks source link

status_code: 500, correlation ID: *******-********* #30

Open KannamSridharKumar opened 2 months ago

KannamSridharKumar commented 2 months ago

Running the example code provided in the documentation or notebooks using pedantic or json schema is giving the error: status_code: 500, correlation ID: *-***

Only the default schema created by the llama_extract is working.

For example this code isn't working

from pydantic import BaseModel, Field

extractor = LlamaExtract()

class ResumeMetadata(BaseModel): """Resume metadata."""

years_of_experience: int 
highest_degree: str 
professional_summary: str 

extraction_schema = await extractor.acreate_schema("Test Schema", ResumeMetadata)

n400peanuts commented 2 months ago

Hi, I have the same issue, see #21

DennisKuijs commented 2 months ago

Yup, I also experience the same error when using the cURL commands to interact with the REST API