Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KannamSridharKumar opened this issue Aug 17, 2024 · 2 comments
Open

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

KannamSridharKumar opened this issue Aug 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KannamSridharKumar
Copy link

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)

@KannamSridharKumar KannamSridharKumar added the bug Something isn't working label Aug 17, 2024
@n400peanuts
Copy link

Hi, I have the same issue, see #21

@DennisKuijs
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants