ragflow/rag
Tuan Le 1c77b4ed9b
fix: Correctly format message parts in GoogleChat (#8596)
### What problem does this PR solve?

This PR addresses an incompatibility issue with the Google Chat API by
correcting the message content format in the `GoogleChat` class.
Previously, the content was directly assigned to the "parts" field,
which did not align with the API's expected format. This change ensures
that messages are properly formatted with a "text" key within a
dictionary, as required by the API.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-01 14:06:07 +08:00
..
app Fix parser_config access for layout_recognize in presentation.py (#8492) 2025-06-26 11:54:43 +08:00
llm fix: Correctly format message parts in GoogleChat (#8596) 2025-07-01 14:06:07 +08:00
nlp Refa: improve GraphRAG similarity sensitivity to numeric differences (#8479) 2025-06-25 16:20:59 +08:00
res Perf: ignore concate between rows. (#8507) 2025-06-26 14:55:37 +08:00
svr Trivals. (#8597) 2025-07-01 14:05:18 +08:00
utils Fix: the output log is incorrect (#8577) 2025-07-01 10:49:43 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
benchmark.py Refactor embedding batch_size (#3825) 2024-12-03 16:22:39 +08:00
prompts.py Fix: rank feature score should be greater than 0. (#8416) 2025-06-23 14:10:13 +08:00
raptor.py Refa: limit embedding concurrency and fix chat_with_tool (#8543) 2025-06-27 19:28:41 +08:00
settings.py Feat: make document parsing and embedding batch sizes configurable via environment variables (#8266) 2025-06-16 13:40:47 +08:00