You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something in the text returned from GPT 4o can't be logged to the database.
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 3310, in insert_all
self.insert_chunk(
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 3068, in insert_chunk
result = self.db.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 524, in execute
return self.conn.execute(sql, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc81' in position 14511: surrogates not allowed
Work around: Disable logs and run the prompt again.
PS> cat .\transcript.csv | llm -m 4o -s "Extract each place name."
The text was updated successfully, but these errors were encountered:
Something in the text returned from GPT 4o can't be logged to the database.
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 3310, in insert_all
self.insert_chunk(
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 3068, in insert_chunk
result = self.db.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\hudson\Lib\site-packages\sqlite_utils\db.py", line 524, in execute
return self.conn.execute(sql, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc81' in position 14511: surrogates not allowed
Work around: Disable logs and run the prompt again.
The text was updated successfully, but these errors were encountered: