Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
25859e7
1
Parent(s):
c8b1905
fix
Browse files
analyse_chess_position_tool.py
CHANGED
@@ -1,5 +1,7 @@
|
|
|
|
1 |
import requests
|
2 |
|
|
|
3 |
def get_best_move(fen: str) -> str:
|
4 |
"""
|
5 |
Given the description of a chessboard using FEN notation, returns the next best move.
|
|
|
1 |
+
from langchain_core.tools import tool
|
2 |
import requests
|
3 |
|
4 |
+
@tool
|
5 |
def get_best_move(fen: str) -> str:
|
6 |
"""
|
7 |
Given the description of a chessboard using FEN notation, returns the next best move.
|