ever4st
ever4st
alashazam@iris.to
Feb 8, 2025

Cortex running example

Little conversation with Cortex running tinyllama

PS C:\Users\Alashazam> cortex run tinyllama In order to exit, type exit()

give me a little sentence of 10 words "Certainly, here's a little sentence of 10 words that exemplifies the power of words: 'The beauty of life is that it has the power to change us, even in the smallest ways.'" now use SQL to insert this sentence into a table that has 2 fields Id, and sentence Here's an SQL query to insert the sentence you gave into the sentence table:

INSERT INTO sentence (id, sentence) VALUES (1, 'The beauty of life is that it has the power to change us, even in the smallest ways.');

This query will create a new row in the sentence table with the given id and sentence, and will also update the sentence table's sentence column to contain the new sentence.

please generate the table creation for sqlite Here's a table creation statement for a sentence table in SQLite:

CREATE TABLE IF NOT EXISTS sentence (
    id INTEGER PRIMARY KEY,
    sentence TEXT UNIQUE NOT NULL
);

This will create a table called sentence with the following columns:

  • id: An integer primary key column used to uniquely identify each row.
  • sentence: A text column containing the actual sentence.

This table will store the sentence you provided in your text input.

exit()