Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Commit 
							
							·
						
						56d7f8c
	
1
								Parent(s):
							
							71c6432
								
Ignore next
Browse files- .DS_Store +0 -0
- ingestion_js/test_local.sh +5 -5
    	
        .DS_Store
    CHANGED
    
    | Binary files a/.DS_Store and b/.DS_Store differ | 
|  | 
    	
        ingestion_js/test_local.sh
    CHANGED
    
    | @@ -9,12 +9,12 @@ echo "======================================" | |
| 9 | 
             
            # BACKEND_URL="https://study-buddy-ingestion1.vercel.app/api"
         | 
| 10 | 
             
            BACKEND_URL="http://localhost:3001/api"
         | 
| 11 | 
             
            USER_ID="44e65346-8eaa-4f95-b17a-f6219953e7a8"
         | 
| 12 | 
            -
            PROJECT_ID=" | 
| 13 |  | 
| 14 | 
             
            # Test files
         | 
| 15 | 
             
            SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
         | 
| 16 | 
            -
            FILE1="$SCRIPT_DIR/../exefiles/ | 
| 17 | 
            -
            FILE2="$SCRIPT_DIR/../exefiles/ | 
| 18 |  | 
| 19 | 
             
            DEBUG=${DEBUG:-0}
         | 
| 20 | 
             
            TRACE=${TRACE:-0}
         | 
| @@ -211,9 +211,9 @@ echo "-------------------------------" | |
| 211 | 
             
            json_with_status GET "$BACKEND_URL/files?user_id=$USER_ID&project_id=$PROJECT_ID" -H "Accept: application/json" | sed 's/^/  /'
         | 
| 212 |  | 
| 213 | 
             
            echo ""
         | 
| 214 | 
            -
            echo "🔍 Step 7: Get File Chunks for  | 
| 215 | 
             
            echo "-----------------------------------------------"
         | 
| 216 | 
            -
            json_with_status GET "$BACKEND_URL/files/chunks?user_id=$USER_ID&project_id=$PROJECT_ID&filename= | 
| 217 |  | 
| 218 | 
             
            echo ""
         | 
| 219 | 
             
            echo "🎉 Test completed!"
         | 
|  | |
| 9 | 
             
            # BACKEND_URL="https://study-buddy-ingestion1.vercel.app/api"
         | 
| 10 | 
             
            BACKEND_URL="http://localhost:3001/api"
         | 
| 11 | 
             
            USER_ID="44e65346-8eaa-4f95-b17a-f6219953e7a8"
         | 
| 12 | 
            +
            PROJECT_ID="ccd9d49d-3a07-43e7-afce-5e8cfc42c8d4"
         | 
| 13 |  | 
| 14 | 
             
            # Test files
         | 
| 15 | 
             
            SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
         | 
| 16 | 
            +
            FILE1="$SCRIPT_DIR/../exefiles/Lecture 1.pdf"
         | 
| 17 | 
            +
            FILE2="$SCRIPT_DIR/../exefiles/Lecture 2.pdf"
         | 
| 18 |  | 
| 19 | 
             
            DEBUG=${DEBUG:-0}
         | 
| 20 | 
             
            TRACE=${TRACE:-0}
         | 
|  | |
| 211 | 
             
            json_with_status GET "$BACKEND_URL/files?user_id=$USER_ID&project_id=$PROJECT_ID" -H "Accept: application/json" | sed 's/^/  /'
         | 
| 212 |  | 
| 213 | 
             
            echo ""
         | 
| 214 | 
            +
            echo "🔍 Step 7: Get File Chunks for Lecture 1.pdf"
         | 
| 215 | 
             
            echo "-----------------------------------------------"
         | 
| 216 | 
            +
            json_with_status GET "$BACKEND_URL/files/chunks?user_id=$USER_ID&project_id=$PROJECT_ID&filename=Lecture 1.pdf&limit=5" -H "Accept: application/json" | sed 's/^/  /'
         | 
| 217 |  | 
| 218 | 
             
            echo ""
         | 
| 219 | 
             
            echo "🎉 Test completed!"
         | 

