-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Showing
605 changed files
with
38,989 additions
and
11,237 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
logs | ||
tmp | ||
logs/ | ||
tmp/ | ||
shared-uploads/ | ||
shared-types/ | ||
agent_computer_use/ | ||
model_cache/ | ||
test_outputs/ | ||
.venv | ||
venv | ||
.pytest_cache | ||
.env | ||
.cache | ||
.vscode | ||
__pycache__ | ||
shared-uploads | ||
run_script.log |
Binary file not shown.
Binary file not shown.
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,26 @@ | ||
import { Document, Types, Model } from 'mongoose'; | ||
import { IUserDocument } from './user.interface'; | ||
import { ApiName } from './api.interface'; | ||
|
||
export interface IAPIConfig { | ||
name: string; | ||
api_name: ApiName; | ||
data: Record<string, any>; | ||
health_status: 'healthy' | 'unhealthy' | 'unknown'; | ||
created_by: Types.ObjectId | IUserDocument; | ||
updated_by: Types.ObjectId | IUserDocument; | ||
} | ||
|
||
export interface IAPIConfigMethods { | ||
apiRepresentation(): any; | ||
} | ||
|
||
export interface IAPIConfigDocument extends IAPIConfig, Document, IAPIConfigMethods { | ||
_id: Types.ObjectId; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
} | ||
|
||
export interface IAPIConfigModel extends Model<IAPIConfigDocument> { | ||
// Add any static methods here if needed | ||
} |
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,34 @@ | ||
import { Document, Types, Model } from 'mongoose'; | ||
import { IUserDocument } from './user.interface'; | ||
import { Embeddable } from './embeddingChunk.interface'; | ||
|
||
export interface CodeBlock { | ||
code: string; | ||
language: string; | ||
} | ||
|
||
export interface CodeOutput { | ||
output: string; | ||
exit_code: number; | ||
} | ||
|
||
export interface ICodeExecution extends Embeddable { | ||
code_block: CodeBlock; | ||
code_output: CodeOutput; | ||
created_by: Types.ObjectId | IUserDocument; | ||
updated_by: Types.ObjectId | IUserDocument; | ||
} | ||
|
||
export interface ICodeExecutionMethods { | ||
apiRepresentation(): any; | ||
} | ||
|
||
export interface ICodeExecutionDocument extends ICodeExecution, Document, ICodeExecutionMethods { | ||
_id: Types.ObjectId; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
} | ||
|
||
export interface ICodeExecutionModel extends Model<ICodeExecutionDocument> { | ||
// Add any static methods here if needed | ||
} |
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,29 @@ | ||
import { Document, Types, Model } from 'mongoose'; | ||
import { IUserDocument } from './user.interface'; | ||
|
||
export interface IEmbeddingChunk { | ||
vector: number[]; | ||
text_content: string; | ||
index: number; | ||
creation_metadata: Record<string, any>; | ||
created_by: Types.ObjectId | IUserDocument; | ||
updated_by: Types.ObjectId | IUserDocument; | ||
} | ||
|
||
export interface IEmbeddingChunkMethods { | ||
apiRepresentation(): any; | ||
} | ||
|
||
export interface IEmbeddingChunkDocument extends IEmbeddingChunk, Document, IEmbeddingChunkMethods { | ||
_id: Types.ObjectId; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
} | ||
|
||
export interface IEmbeddingChunkModel extends Model<IEmbeddingChunkDocument> { | ||
// Add any static methods here if needed | ||
} | ||
|
||
export interface Embeddable { | ||
embedding: IEmbeddingChunkDocument[] | Types.ObjectId[]; | ||
} |
Oops, something went wrong.