-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae1b3c3
commit 558f51c
Showing
7 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mutation ExtractText($prompt: String!, $text: String!, $textType: TextTypes, $specification: EntityReferenceInput!, $tools: [ToolDefinitionInput!]!, $correlationId: String) { | ||
extractText(prompt: $prompt, text: $text, textType: $textType, specification: $specification, tools: $tools, correlationId: $correlationId) { | ||
specification { | ||
id | ||
} | ||
content { | ||
id | ||
} | ||
name | ||
value | ||
startTime | ||
endTime | ||
pageNumber | ||
error | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generated by ariadne-codegen | ||
# Source: ./documents | ||
|
||
from typing import Any, List, Optional | ||
|
||
from pydantic import Field | ||
|
||
from .base_model import BaseModel | ||
|
||
|
||
class ExtractText(BaseModel): | ||
extract_text: Optional[List[Optional["ExtractTextExtractText"]]] = Field( | ||
alias="extractText" | ||
) | ||
|
||
|
||
class ExtractTextExtractText(BaseModel): | ||
specification: "ExtractTextExtractTextSpecification" | ||
content: Optional["ExtractTextExtractTextContent"] | ||
name: str | ||
value: str | ||
start_time: Optional[Any] = Field(alias="startTime") | ||
end_time: Optional[Any] = Field(alias="endTime") | ||
page_number: Optional[int] = Field(alias="pageNumber") | ||
error: Optional[str] | ||
|
||
|
||
class ExtractTextExtractTextSpecification(BaseModel): | ||
id: str | ||
|
||
|
||
class ExtractTextExtractTextContent(BaseModel): | ||
id: str | ||
|
||
|
||
ExtractText.model_rebuild() | ||
ExtractTextExtractText.model_rebuild() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters