You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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."""
extraction_schema = await extractor.acreate_schema("Test Schema", ResumeMetadata)
The text was updated successfully, but these errors were encountered: