fix: switch preciz dependency to main branch (cli-sdk no longer exists)
syntaxhacker
25ecf85
patch preciz SDK in Dockerfile to handle malformed XML tool calls
syntaxhacker
cdab93b
fix Dockerfile: run pip install as root before switching to user
syntaxhacker
ddc093c
trigger rebuild
syntaxhacker
1494675
install git in Dockerfile for preciz pip dependency
syntaxhacker
478f812
use preciz SDK from pip package instead of local path
syntaxhacker
af4937c
- Import _call_llm, _parse_tool_calls, execute_tool, _strip_tool_tags
from pip-installed preciz (summarizer.llm_client)
- Remove sys.path.insert hack for local redisum
- Register rag_qa handler in TOOL_HANDLERS at module level
- Add scripts/utils_shim.py + Dockerfile step to work around
missing utils module in preciz pip package
- Update requirements.txt with preciz git dependency
- Fix system prompt to match parser's expected XML format
(name wrapped in <longcat_arg_key>)
fix XML tool call parser for malformed key-value pairs
syntaxhacker
87285c1
handle XML-style tool calls for models without native function calling
syntaxhacker
8630c76
switch to openrouter/owl-alpha model, move model name to env var
syntaxhacker
431af70
refactor: use pronouns instead of name in system prompt
syntaxhacker
f53706b
fix: use onnxruntime directly without torch dependency
syntaxhacker
2925df7
feat: switch to ONNX runtime for embeddings
syntaxhacker
3f3aedf
fix: remove start.sh reference from Dockerfile
syntaxhacker
7bffc25
refactor: remove Google AI, switch to OpenRouter, improve service runner
syntaxhacker
59b7a59
prompts with emojis
rohit
6d5be16
add promtps to docker path
rohit
f9322c0
add fallback
rohit
01ec3c1
seperate prompts
rohit
b924bc1
update
rohit
b7b8e60
remove logs
rohit
8946f02
improved tool calling , prompt enhance
rohit
b5e33d3
Merge branch 'glm_integration'
rohit
b99f945
add tests
rohit
3e7266f
Add comprehensive unit tests for RAG application
rohit
4b43351
- Add test_app.py with full test coverage
- Test chat endpoint functionality (basic, tool calling, error handling)
- Test RAG pipeline components and methods
- Test rag_qa tool function with various scenarios
- Test tools configuration and structure
- Test legacy endpoints for backward compatibility
- Add pytest.ini configuration for test discovery
Test Coverage:
- 13 test cases covering all major functionality
- Tests for both happy path and error scenarios
- Mocking strategy to avoid external dependencies
- Verification of tool calling and RAG integration
Integrate OpenRouter GLM model with RAG tool calling
rohit
0a1d4cf
- Replace Google Gemini with OpenRouter GLM-4.5-air model
- Add intelligent tool calling for RAG pipeline access
- Implement new /chat endpoint with multi-turn conversation support
- Remove Google API key dependency
- Add comprehensive .gitignore for Python projects
- Maintain backward compatibility with existing /answer endpoint
Features:
- GLM model automatically decides when to use RAG vs general chat
- Tool calling architecture for extensible functionality
- Background dataset loading for faster startup
- Support for developer-portfolio and other datasets
clean libs
rohit
f2815c1
remove duplicate
rohit
e5ec944
Add /questions endpoint
rohit
6de22e1
Remove bolding from prompt examples
rohit
239a856
Add few-shot examples to prompt
rohit
89b80a1
Enhance prompt for better readability
rohit
8bf73b1
Merge branch 'main' of https://huggingface.co/spaces/syntaxhacker/developer-portfolio-rag
rohit
ee4ccf6
Refine prompt for developer portfolio
rohit
2e540d6
Deploy RAG Pipeline to Hugging Face Spaces
rohit
784f999
Deploy RAG Pipeline to Hugging Face Spaces
rohit
6f3f026
Create self-contained app.py with dynamic imports to fix module loading issues
rohit
cfa1426
Fix module import by moving FastAPI app to root main.py with proper imports
rohit
1d87783
Fix ASGI app loading error by renaming app.py to main.py to avoid module conflict
rohit
628bcda
Fix README.md with proper HF Spaces configuration and app_port
rohit
d096f0d
Add required app.py file for HF Spaces compatibility
rohit
d1432ed
Merge branch 'main' of https://huggingface.co/spaces/syntaxhacker/developer-portfolio-rag
rohit
7417d8a
Deploy RAG Pipeline with FastAPI and ML capabilities
rohit
91f974c
Deploy RAG Pipeline with FastAPI and ML capabilities