Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance extraction service with caching capabilities for testing purposes #1074

Open
wants to merge 3 commits into
base: nsc/semantic-index-extract
Choose a base branch
from

Conversation

tomkosm
Copy link
Collaborator

@tomkosm tomkosm commented Jan 20, 2025

No description provided.

apps/api/src/lib/extract/extraction-service.ts Outdated Show resolved Hide resolved
apps/api/src/lib/extract/extraction-service.ts Outdated Show resolved Hide resolved
apps/api/src/lib/extract/extraction-service.ts Outdated Show resolved Hide resolved
@rafaelsideguide
Copy link
Collaborator

rafaelsideguide commented Jan 28, 2025

I tested with the request.http example and it returned internal server error

POST {{baseUrl}}/v1/extract HTTP/1.1
Authorization: Bearer {{$dotenv TEST_API_KEY}}
Content-Type: application/json

{
  "cacheMode":"load",
  "cacheKey":"testt",
  "urls": [
  ...
{
 "success": false,
 "error": "Internal server error"
}

@tomkosm
Copy link
Collaborator Author

tomkosm commented Jan 28, 2025

I tested with the request.http example and it returned internal server error

POST {{baseUrl}}/v1/extract HTTP/1.1
Authorization: Bearer {{$dotenv TEST_API_KEY}}
Content-Type: application/json

{
  "cacheMode":"load",
  "cacheKey":"testt",
  "urls": [
  ...
{
 "success": false,
 "error": "Internal server error"
}

Did you first run it with save?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants