Skip to content

Commit

Permalink
feat: support chat with document
Browse files Browse the repository at this point in the history
  • Loading branch information
t-benze committed Nov 4, 2024
1 parent 2dd9499 commit 7fb3be9
Show file tree
Hide file tree
Showing 47 changed files with 2,614 additions and 43 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ AWS_REGION="us-east-1"
AWS_COGNITO_USER_POOL_ID="us-east-1_1234567890"
AWS_COGNITO_USER_POOL_CLIENT_ID="1234567890abcdefghijklmnopqrst"
AWS_INTELLIGENCE_ENDPOINT="https://api.inkstain.com/intelligence"
OPENAI_API_KEY="sk-test123"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ InkStain is a comprehensive document management tool designed to serve and inter
- **Document Organization**: Tagging, custom metadata, and notes to improve file management.
- **Search**: Look up documents by tags, custom data, and attached notes.
- **Data I integrity**: Annotations, highlights, and custom data are stored in a way that does not alter the original documents.
- **Document Management Directory**: `.inkstain` folders encapsulating documents and their metadata for easy management and potential cloud syncing.
- **Document Management Directory**: `.ink` folders encapsulating documents and their metadata for easy management and potential cloud syncing.
- **Scalability**: Designed to manage a growing number of documents and users.

## License
Expand Down
4 changes: 2 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ export default defineConfig({
targetPath
);
const meta = await fs.readFile(
path.join(targetPath, '.inkstain'),
path.join(targetPath, '.inkstain', 'space.json'),
'utf-8'
);
const spaceMeta = JSON.parse(meta);
spaceMeta.name = spaceName;
await fs.writeFile(
path.join(targetPath, '.inkstain'),
path.join(targetPath, '.inkstain', 'space.json'),
JSON.stringify(spaceMeta),
'utf-8'
);
Expand Down
1 change: 0 additions & 1 deletion cypress/fixtures/test-space/.inkstain

This file was deleted.

1 change: 1 addition & 0 deletions cypress/fixtures/test-space/.inkstain/space.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "My Test Space for Importing" }
6 changes: 6 additions & 0 deletions lib/client-api/src/lib/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apis/AuthApi.ts
apis/ChatApi.ts
apis/DocumentsApi.ts
apis/IntelligenceApi.ts
apis/SearchApi.ts
Expand All @@ -13,6 +14,10 @@ models/Annotation.ts
models/AnnotationData.ts
models/BaseResponse.ts
models/BookmarkData.ts
models/ChatMessage.ts
models/ChatNewMessageRequest.ts
models/ChatNewSession200Response.ts
models/ChatNewSessionRequest.ts
models/ConfirmForgotPasswordRequest.ts
models/ConfirmSignUpRequest.ts
models/CreateSpace201Response.ts
Expand All @@ -28,6 +33,7 @@ models/DocumentTag.ts
models/DocumentTextDetectionData.ts
models/DrawingData.ts
models/ForgotPasswordRequest.ts
models/GetChatSession200Response.ts
models/GetSpaceOverview200Response.ts
models/GetSpaceOverview200ResponseData.ts
models/HighlightData.ts
Expand Down
Loading

0 comments on commit 7fb3be9

Please sign in to comment.