ragflow/rag
Ran Tavory 19396998eb
Fix Bedrock system prompt (#2062)
### What problem does this PR solve?

Bugfix: usage of Bedrock models require the system prompt (for models
that support it) to be provided in the API in a different way, at least
that was my experience with it just today. This PR fixes it.


https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-08-23 11:44:37 +08:00
..
app add support for markdown file in one parse way (#2052) 2024-08-22 15:32:35 +08:00
llm Fix Bedrock system prompt (#2062) 2024-08-23 11:44:37 +08:00
nlp filter out + in es query (#2046) 2024-08-22 10:02:04 +08:00
res Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
svr add taskexecutor status check (#2038) 2024-08-21 17:48:00 +08:00
utils fix: Fix return type annotation in truncate function (#2044) 2024-08-22 09:29:02 +08:00
__init__.py build python version rag-flow (#21) 2024-01-15 08:46:22 +08:00
raptor.py fix raptor bugs (#928) 2024-05-27 11:01:20 +08:00
settings.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00