Info about the model and context utilization for LLMs to be used in application tasks, like cleaning course material content and generating chatbot suggested messages.
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| context_utilization | real | false | The fraction of the LLM’s context size to be utilized. Filling the whole context can have a negative effect on the model’s performance. The best fraction to choose depends on the model and the task. | |||
| created_at | timestamp with time zone | now() | false | Timestamp when the record was created. | ||
| deleted_at | timestamp with time zone | true | Timestamp when the record was deleted. If null, the record is not deleted. | |||
| id | uuid | uuid_generate_v4() | false | A unique, stable identifier for the record. | ||
| model_id | uuid | false | public.chatbot_configurations_models | The id of the LLM model that is associated with the task specified in this record. | ||
| task | application_task | false | The task that the settings in this record are associated with. | |||
| updated_at | timestamp with time zone | now() | false | Timestamp when the record was last updated. The field is updated automatically by the set_timestamp trigger. |
| Name | Type | Definition |
|---|---|---|
| application_task_default_language__context_utilization_not_null | n | NOT NULL context_utilization |
| application_task_default_language_models_created_at_not_null | n | NOT NULL created_at |
| application_task_default_language_models_id_not_null | n | NOT NULL id |
| application_task_default_language_models_model_id_fkey | FOREIGN KEY | FOREIGN KEY (model_id) REFERENCES chatbot_configurations_models(id) |
| application_task_default_language_models_model_id_not_null | n | NOT NULL model_id |
| application_task_default_language_models_pkey | PRIMARY KEY | PRIMARY KEY (id) |
| application_task_default_language_models_task_deleted_at_key | UNIQUE | UNIQUE NULLS NOT DISTINCT (task, deleted_at) |
| application_task_default_language_models_task_not_null | n | NOT NULL task |
| application_task_default_language_models_updated_at_not_null | n | NOT NULL updated_at |
| valid_context_utilization | CHECK | CHECK (((context_utilization > (0.0)::double precision) AND (context_utilization < (1.0)::double precision))) |
| Name | Definition |
|---|---|
| application_task_default_language_models_pkey | CREATE UNIQUE INDEX application_task_default_language_models_pkey ON public.application_task_default_language_models USING btree (id) |
| application_task_default_language_models_task_deleted_at_key | CREATE UNIQUE INDEX application_task_default_language_models_task_deleted_at_key ON public.application_task_default_language_models USING btree (task, deleted_at) NULLS NOT DISTINCT |
| Name | Definition |
|---|---|
| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.application_task_default_language_models FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls