Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
bachng2017 committed Jan 7, 2023
1 parent b9c4efa commit 7459da8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ mindsdb:
)
}}
```
- Other database configuration
- prefix - will be added prior to the database name connected by "_"

- To create predictor add dbt model with "predictor" materialization:
Name of the model is used as name of predictor.
Expand Down Expand Up @@ -101,11 +103,13 @@ If you need to specify schema you can do it with dot separator: schema_name.tabl
Parameters:
- predictor_name - name of using predictor.
It has to be created in mindsdb
- origin_data - name of the data to bind with (which may include fields other than predicted results)
- integration - name of used integration to get data from and save result to.
In has to be created in mindsdb beforehand
- filter - condition to filter
```
{{ config(materialized='table', predictor_name='TEST_PREDICTOR_NAME', integration='int1') }}
select a, bc from ddd where name > latest
{{ config(materialized='table', origin_data='ddd as d', integration='int1', filter='where d.name > latest) }}
select a, bc from TEST_PREDICTOR_NAME
```

## Testing
Expand Down

0 comments on commit 7459da8

Please sign in to comment.