Skip to content

Commit

Permalink
use text for jina extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliechti committed Sep 22, 2024
1 parent bebdc08 commit a4e209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/extractor/jina/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (c *Client) Extract(ctx context.Context, input extractor.File, options *ext

req, _ := http.NewRequestWithContext(ctx, "POST", c.url, jsonReader(body))
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-Return-Format", "markdown")
req.Header.Set("X-Return-Format", "text")

if c.token != "" {
req.Header.Set("Authorization", "Bearer "+c.token)
Expand Down

0 comments on commit a4e209a

Please sign in to comment.