Stores Azure OpenAI LLMs that have been deployed in Azure AI. The chatbot_configurations table references this table to indicate which LLM the configuration uses.
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| context_size | integer | false | The length of the LLM’s context window in tokens. | |||
| created_at | timestamp with time zone | now() | false | Timestamp when the record was created. | ||
| default_model | boolean | false | false | The default model to use on new chatbot_configurations. | ||
| 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 | public.application_task_default_language_models | A unique, stable identifier for the record. | |
| model | varchar(255) | false | The model name of the LLM. Used for indicating which OpenAI model is in question. | |||
| model_type | model_type | false | The model type tells which parameters the model accepts, for example parameters related to reasoning. | |||
| 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 |
|---|---|---|
| chatbot_configurations_models_context_size_not_null | n | NOT NULL context_size |
| chatbot_configurations_models_created_at_not_null | n | NOT NULL created_at |
| chatbot_configurations_models_default_model_not_null | n | NOT NULL default_model |
| chatbot_configurations_models_id_not_null | n | NOT NULL id |
| chatbot_configurations_models_model_not_null | n | NOT NULL model |
| chatbot_configurations_models_model_type_not_null | n | NOT NULL model_type |
| chatbot_configurations_models_pkey | PRIMARY KEY | PRIMARY KEY (id) |
| chatbot_configurations_models_updated_at_not_null | n | NOT NULL updated_at |
| Name | Definition |
|---|---|
| chatbot_configurations_models_only_one_default | CREATE UNIQUE INDEX chatbot_configurations_models_only_one_default ON public.chatbot_configurations_models USING btree (default_model, deleted_at) NULLS NOT DISTINCT WHERE (default_model IS TRUE) |
| chatbot_configurations_models_pkey | CREATE UNIQUE INDEX chatbot_configurations_models_pkey ON public.chatbot_configurations_models USING btree (id) |
| Name | Definition |
|---|---|
| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.chatbot_configurations_models FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() |
Generated by tbls