Created
August 26, 2024 20:08
-
-
Save everythingpython/d2fc27b41a17497466621b7e25c924fa to your computer and use it in GitHub Desktop.
data models for llm_scraper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydantic import BaseModel | |
| class AIResponse(BaseModel): | |
| name: str | |
| url: str | |
| topic: str | |
| class AIResponseList(BaseModel): | |
| responses: list[AIResponse] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment