Spaces:
Runtime error
Runtime error
Download src/genai/analytics_chatbot/utils/schemas.py from subashdvorak/trygithubactions: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/src/genai/analytics_chatbot/utils/schemas.py
- Command line
-
hf download hf://spaces/subashdvorak/trygithubactions/src/genai/analytics_chatbot/utils/schemas.py
-
curl -L -o schemas.py https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/src/genai/analytics_chatbot/utils/schemas.py
455 Bytes
| from pydantic import BaseModel, Field | |
| class ResponseFormatter(BaseModel): | |
| endpoint: str = Field(description='Return the exact endpoint from the knowledge base of endpoints.') | |
| method: str = Field(description='Return the exact request type from the knowledge base of endpoints. GET or POST ') | |
| parameters: dict = Field(description='Return the dictionary of parameters to pass to the endpoint.') | |
| class InfluencerNames(BaseModel): | |
| names: list |