doberst commited on
Commit
eecb5f8
·
verified ·
1 Parent(s): fc0df25

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -3
README.md CHANGED
@@ -2,7 +2,7 @@
2
  license: apache-2.0
3
  ---
4
 
5
- # Model Card for Model ID
6
 
7
  <!-- Provide a quick summary of what the model is/does. -->
8
 
@@ -23,13 +23,17 @@ Load in your favorite GGUF inference engine, or try with llmware as follows:
23
 
24
  # to load the model and make a basic inference
25
  model = ModelCatalog().load_model("slim-sql-tool")
26
- response = model.function_call(text_sample)
 
 
 
 
27
 
28
  # this one line will download the model and run a series of tests
29
  ModelCatalog().tool_test_run("slim-sql-tool", verbose=True)
30
 
31
 
32
- Slim models can also be loaded even more simply as part of a multi-model, multi-step LLMfx calls:
33
 
34
  from llmware.agents import LLMfx
35
 
 
2
  license: apache-2.0
3
  ---
4
 
5
+ # SLIM-SQL-TOOL
6
 
7
  <!-- Provide a quick summary of what the model is/does. -->
8
 
 
23
 
24
  # to load the model and make a basic inference
25
  model = ModelCatalog().load_model("slim-sql-tool")
26
+
27
+ # sql_query_prompt is concatenation of sql_table_schema and a natural language query
28
+ # see config.json script for example
29
+
30
+ response = model.function_call(sql_query_prompt)
31
 
32
  # this one line will download the model and run a series of tests
33
  ModelCatalog().tool_test_run("slim-sql-tool", verbose=True)
34
 
35
 
36
+ Slim models can also be orchestrated as part of multi-model, multi-step LLMfx calls:
37
 
38
  from llmware.agents import LLMfx
39