- Add Documents/Docs/ChangeLogs/1405-08-04-v01.html; - Add Documents/Docs/ChangeLogs/CommitMessage-1405-08-04-v01.txt; - Record the XAIServiceBase fix and its successful build validation; - Record other currently modified submodules and uncommitted files; - Record the security warning for Documents/Resources/Json/Authenticate.json.
95 lines
4.5 KiB
Plaintext
95 lines
4.5 KiB
Plaintext
===============================================================================
|
|
Commit Message - xSaherelmWorkspace
|
|
تاریخ: ۱۴۰۵/۰۸/۰۴ (2026-10-26)
|
|
نسخه مستند: v01
|
|
نویسنده: Hadi Khazaee Asl
|
|
گزارش کامل: Documents/Docs/ChangeLogs/1405-08-04-v01.html
|
|
===============================================================================
|
|
|
|
ترتیب پیشنهادی کامیت: ابتدا تغییرات سابماژولها، سپس مخزن اصلی برای ثبت pointerهای جدید.
|
|
توجه: Authenticate.json شامل tokenهای حساس است و باید پیش از commit/push عمومی بررسی و پاکسازی شود.
|
|
|
|
-------------------------------------------------------------------------------
|
|
[1] xAiApi
|
|
-------------------------------------------------------------------------------
|
|
Fix Jinja Conversation Role Alternation in RAG Context History
|
|
|
|
- Merge Introduction prompt, RAG prompt and context block into one System message;
|
|
- Keep the user question as the following User message;
|
|
- Prevent consecutive System roles in AskWithContextAsync and AskWithContextAsEnumerable;
|
|
- Update the GetContextHistory XML documentation to describe the new message layout;
|
|
- Preserve the existing context retrieval and response flow.
|
|
|
|
Files:
|
|
M Providers/XAIServiceBase.cs
|
|
|
|
سایر تغییرات موجود در همین سابماژول که باید آگاهانه در همان یا کامیت جداگانه بررسی شوند:
|
|
M Providers/XInMemoryVectorStore.cs
|
|
A Controllers/AccountController.cs
|
|
A Controllers/TestIdentity.cs
|
|
|
|
-------------------------------------------------------------------------------
|
|
[2] Modules/xAiService
|
|
-------------------------------------------------------------------------------
|
|
Format VectorHelper Method Signature
|
|
|
|
- Reformat the CosineSimilarity method signature without changing its calculation logic.
|
|
|
|
Files:
|
|
M Helpers/VectorHelper.cs
|
|
|
|
-------------------------------------------------------------------------------
|
|
[3] xSaherelmWorkspace
|
|
-------------------------------------------------------------------------------
|
|
Document RAG Jinja Role Fix and Current Workspace Changes (۱۴۰۵/۰۸/۰۴ v01)
|
|
|
|
- Add Documents/Docs/ChangeLogs/1405-08-04-v01.html;
|
|
- Add Documents/Docs/ChangeLogs/CommitMessage-1405-08-04-v01.txt;
|
|
- Record the XAIServiceBase fix and its successful build validation;
|
|
- Record other currently modified submodules and uncommitted files;
|
|
- Record the security warning for Documents/Resources/Json/Authenticate.json.
|
|
|
|
Files:
|
|
M Documents/Resources/Json/Authenticate.json
|
|
M Modules/xAiService (submodule pointer/content)
|
|
M xAiApi (submodule pointer/content)
|
|
A Documents/Docs/ChangeLogs/1405-08-04-v01.html
|
|
A Documents/Docs/ChangeLogs/CommitMessage-1405-08-04-v01.txt
|
|
|
|
-------------------------------------------------------------------------------
|
|
دستورهای پیشنهادی
|
|
-------------------------------------------------------------------------------
|
|
# بررسی و کامیت سابماژول xAiApi
|
|
cd xAiApi
|
|
git diff --check
|
|
git add Providers/XAIServiceBase.cs
|
|
git commit -m "Fix Jinja Conversation Role Alternation in RAG Context History"
|
|
git push origin master
|
|
cd ..
|
|
|
|
# بررسی و کامیت سابماژول xAiService، در صورت تأیید تغییر مستقل
|
|
cd Modules/xAiService
|
|
git diff --check
|
|
git add Helpers/VectorHelper.cs
|
|
git commit -m "Format VectorHelper CosineSimilarity Signature"
|
|
git push origin master
|
|
cd ../..
|
|
|
|
# بررسی امنیتی فایل احراز هویت پیش از stage کردن
|
|
# Documents/Resources/Json/Authenticate.json
|
|
# tokenهای حساس را حذف/چرخش دهید و سپس وضعیت را بازبینی کنید.
|
|
|
|
# کامیت مخزن اصلی پس از ثبت pointerهای سابماژولها
|
|
git add xAiApi Modules/xAiService Documents/Docs/ChangeLogs/1405-08-04-v01.html Documents/Docs/ChangeLogs/CommitMessage-1405-08-04-v01.txt
|
|
# در صورت تأیید و پاکسازی فایل احراز هویت، آن را جداگانه stage کنید.
|
|
git commit -m "Document RAG Jinja Role Fix and Workspace Changes (1405-08-04 v01)"
|
|
git push origin master
|
|
|
|
-------------------------------------------------------------------------------
|
|
نکته نسخهگذاری
|
|
-------------------------------------------------------------------------------
|
|
برای مستندسازی تغییرات بعدی در همین تاریخ، عدد پسوند را افزایش دهید:
|
|
1405-08-04-v02.html
|
|
CommitMessage-1405-08-04-v02.txt
|
|
===============================================================================
|