๐Advanced Usage
Python Implementation:
from genai_stack.model import OpenAIGpt35Model
model = OpenAIGpt35Model.from_kwargs(
fields={"openai_api_key": "Paste your Open AI key"}
)
# This does the ETL underneath but supports only the default 5 data types
model.add_source("csv", "valid_csv_path_or_url")
model.predict("<Some question whose answer is could be found in the csv>")CLI Implementation
Last updated