Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
-
#
|
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 |
-
|
|
|
|
|
|
|
|
|
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
|
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 |
|