Oracle Database support

Add oracle 23ai database as the KV/vector/graph storage
This commit is contained in:
jin
2024-11-08 14:58:41 +08:00
parent 780cf7eeb9
commit 594470ab56
6 changed files with 972 additions and 35 deletions

View File

@@ -222,14 +222,24 @@ Output:
"""
PROMPTS["naive_rag_response"] = """You're a helpful assistant
Below are the knowledge you know:
{content_data}
---
If you don't know the answer or if the provided knowledge do not contain sufficient information to provide an answer, just say so. Do not make anything up.
PROMPTS["naive_rag_response"] = """---Role---
You are a helpful assistant responding to questions about documents provided.
---Goal---
Generate a response of the target length and format that responds to the user's question, summarizing all information in the input data tables appropriate for the response length and format, and incorporating any relevant general knowledge.
If you don't know the answer, just say so. Do not make anything up.
Do not include information where the supporting evidence for it is not provided.
---Target response length and format---
{response_type}
---Documents---
{content_data}
Add sections and commentary to the response as appropriate for the length and format. Style the response in markdown.
"""