Alexandre Gazola commited on
Commit
72846b4
·
1 Parent(s): 2322c7c
convert_chessboard_image_to_fen_tool.py CHANGED
@@ -9,7 +9,7 @@ def convert_chessboard_image_to_fen(chessboard_image_base64_path: str, current_p
9
  Given the path to a file with a chessboard image in base64, returns the FEN description of the chessboard.
10
 
11
  Args:
12
- image_path: Path to the image file.
13
  current_player: Whose turn it is to play. Must be either 'black' or 'white'.
14
  Returns:
15
  JSON with FEN (Forsyth-Edwards Notation) string representing the current board position.
 
9
  Given the path to a file with a chessboard image in base64, returns the FEN description of the chessboard.
10
 
11
  Args:
12
+ image_path: Path to the image file with the chessboard.
13
  current_player: Whose turn it is to play. Must be either 'black' or 'white'.
14
  Returns:
15
  JSON with FEN (Forsyth-Edwards Notation) string representing the current board position.
excel_parser_tool.py CHANGED
@@ -3,8 +3,7 @@ from langchain_core.tools import tool
3
  import io
4
  import pandas as pd
5
  import base64
6
- from utils import get_base64
7
-
8
 
9
  @tool
10
  def parse_excel(base64_filepath: str) -> str:
 
3
  import io
4
  import pandas as pd
5
  import base64
6
+ from utils import get_base64, get_text_file_contents
 
7
 
8
  @tool
9
  def parse_excel(base64_filepath: str) -> str: