Skip to content

Latest commit

 

History

History
224 lines (150 loc) · 14.9 KB

api.md

File metadata and controls

224 lines (150 loc) · 14.9 KB

Shared Types

from dataherald.types import (
    GoldenSqlResponse,
    InstructionResponse,
    NlGenerationResponse,
    SqlGenerationResponse,
)

DatabaseConnections

Types:

from dataherald.types import DBConnectionResponse, DatabaseConnectionListResponse

Methods:

Drivers

Types:

from dataherald.types.database_connections import DriverResponse, DriverListResponse

Methods:

Finetunings

Types:

from dataherald.types import FinetuningResponse, FinetuningListResponse

Methods:

GoldenSqls

Types:

from dataherald.types import (
    AdminConsoleGoldenSqlResponse,
    GoldenSqlListResponse,
    GoldenSqlDeleteResponse,
    GoldenSqlUploadResponse,
)

Methods:

Instructions

Types:

from dataherald.types import InstructionListResponse, InstructionDeleteResponse

Methods:

First

Methods:

Generations

Types:

from dataherald.types import GenerationListItem, GenerationResponse, GenerationListResponse

Methods:

Prompts

Types:

from dataherald.types import PromptResponse, PromptListResponse

Methods:

SqlGenerations

Types:

from dataherald.types.prompts import SqlGenerationRetrieveResponse

Methods:

SqlGenerations

Types:

from dataherald.types import SqlGenerationListResponse, SqlGenerationExecuteResponse

Methods:

NlGenerations

Types:

from dataherald.types.sql_generations import NlGenerationRetrieveResponse

Methods:

NlGenerations

Types:

from dataherald.types import NlGenerationListResponse

Methods:

TableDescriptions

Types:

from dataherald.types import (
    TableDescriptionResponse,
    TableDescriptionListResponse,
    TableDescriptionSyncSchemasResponse,
)

Methods:

Heartbeat

Types:

from dataherald.types import HeartbeatRetrieveResponse

Methods:

Engine

Types:

from dataherald.types import EngineHeartbeatResponse

Methods: