Skip to content

Commit 7f9ea12

Browse files
committed
config: switch to use fine-tuned chat
1 parent 626605b commit 7f9ea12

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

config.py

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,9 @@
3636
default_config = dict(
3737
type="system.System",
3838
chat=dict(
39-
type="chat.basic_agent.BasicAgentChat",
40-
tools=[
41-
dict(
42-
type="tools.index_answer.IndexAnswerTool",
43-
_streaming=True, # if specified, this is lazily constructed in chat to support streaming
44-
name="ScrapedSitesIndexAnswer",
45-
content_description="general content scraped from web3 sites. It does not know about this app or about widget magic commands for invoking transactions or fetching data about specific things like NFTs or balances.",
46-
index=scraped_sites_index,
47-
top_k=3,
48-
source_key="url",
49-
),
50-
dict(
51-
type="tools.index_widget.IndexWidgetTool",
52-
_streaming=True, # if specified, this is lazily constructed in chat to support streaming
53-
name="WidgetIndexAnswer",
54-
index=widget_index,
55-
top_k=10,
56-
),
57-
dict(
58-
type="tools.index_app_info.IndexAppInfoTool",
59-
_streaming=True, # if specified, this is lazily constructed in chat to support streaming
60-
name="AppInfoIndexAnswer",
61-
index=app_info_index,
62-
top_k=3,
63-
),
64-
dict(
65-
type="tools.index_api_tool.IndexAPITool",
66-
_streaming=True,
67-
name="IndexAPITool",
68-
index=api_docs_index,
69-
crypto_tokens_index=crypto_tokens_index,
70-
top_k=1,
71-
return_direct=True,
72-
),
73-
],
39+
type="chat.fine_tuned.FineTunedChat",
40+
widget_index=widget_index,
41+
top_k=18,
7442
)
7543
)
7644

0 commit comments

Comments
 (0)