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
docs(rag): add Chain of Thought documentation - Document CoT feature and usage instructions - Add examples for API, CLI, and programmatic use - Include explanation of CoT benefits and use cases
Copy file name to clipboardExpand all lines: agentic_rag/README.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ The system has the following features:
10
10
- Smart context retrieval and response generation
11
11
- FastAPI-based REST API for document upload and querying
12
12
- Support for both OpenAI-based agents or local, transformer-based agents (`Mistral-7B` by default)
13
+
- Optional Chain of Thought (CoT) reasoning for more detailed and structured responses
13
14
14
15
## Setup
15
16
@@ -189,6 +190,53 @@ The RAG Agent flow is the following:
189
190
190
191
TODO: integrate with Trafilatura to crawl web content apart from PDF
191
192
193
+
194
+
## Chain of Thought (CoT) Support
195
+
196
+
The system implements Chain of Thought prompting, allowing the LLMs to break down complex queries into steps and show their reasoning process. This feature can be activated in several ways:
3. Use available context more effectively by explaining how it relates to each step
232
+
4. Arrive at more reliable answers through structured thinking
233
+
234
+
This is particularly useful for:
235
+
- Complex analytical questions
236
+
- Multi-step reasoning problems
237
+
- Questions requiring detailed explanations
238
+
- Queries that need careful consideration of multiple pieces of context
239
+
192
240
## Contributing
193
241
194
242
This project is open source. Please submit your contributions by forking this repository and submitting a pull request! Oracle appreciates any contributions that are made by the open source community.
0 commit comments