cicboy commited on
Commit
8b28e9a
·
1 Parent(s): 2237728

update hybrid_retriever_tool

Browse files
Files changed (1) hide show
  1. tools/hybrid_retriever_tool.py +1 -1
tools/hybrid_retriever_tool.py CHANGED
@@ -110,7 +110,7 @@ class HybridRetrieverTool(RagTool):
110
  ],
111
  temperature=0
112
  )
113
- content = response.choices[0].message.conten.strip()
114
  try:
115
  ranked = json.loads(response.choices[0].message.content)
116
  # Keep only valid strings
 
110
  ],
111
  temperature=0
112
  )
113
+ content = response.choices[0].message.content.strip()
114
  try:
115
  ranked = json.loads(response.choices[0].message.content)
116
  # Keep only valid strings