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

Removed Jsonne-demo #278

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added JS/edgechains/examples/.DS_Store
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"68c0d032-e95e-4c66-8ea5-9659b55eff69","pid":4484,"argv":["/opt/homebrew/Cellar/node/20.6.1/bin/node","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/test/app.e2e-spec.ts"],"execArgv":["-r","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/node_modules/ts-node/register/index.js"],"cwd":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples","time":1701185866417,"ppid":4480,"coverageFilename":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/.nyc_output/3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2.json","externalId":"test/app.e2e-spec.ts","uuid":"3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","files":["/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.module.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.controller.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.service.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/hydeExample/hydeExample.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/OpenAiEndpoint.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/PostgresClient.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/testGeneration/TestGenerator.ts"]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":null,"pid":4480,"argv":["/opt/homebrew/Cellar/node/20.6.1/bin/node","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/node_modules/.bin/tap","--ts"],"execArgv":[],"cwd":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples","time":1701185865738,"ppid":4479,"coverageFilename":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/.nyc_output/68c0d032-e95e-4c66-8ea5-9659b55eff69.json","externalId":"","uuid":"68c0d032-e95e-4c66-8ea5-9659b55eff69","files":[]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"68c0d032-e95e-4c66-8ea5-9659b55eff69","pid":4483,"argv":["/opt/homebrew/Cellar/node/20.6.1/bin/node","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.controller.spec.ts"],"execArgv":["-r","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/node_modules/ts-node/register/index.js"],"cwd":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples","time":1701185866417,"ppid":4480,"coverageFilename":"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/.nyc_output/779f69a4-3b9d-42b4-95f6-c78fbcc36846.json","externalId":"src/app.controller.spec.ts","uuid":"779f69a4-3b9d-42b4-95f6-c78fbcc36846","files":["/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.controller.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.service.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/hydeExample/hydeExample.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/OpenAiEndpoint.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/PostgresClient.ts","/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/testGeneration/TestGenerator.ts"]}
1 change: 1 addition & 0 deletions JS/edgechains/examples/.nyc_output/processinfo/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"processes":{"3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2":{"parent":"68c0d032-e95e-4c66-8ea5-9659b55eff69","externalId":"test/app.e2e-spec.ts","children":[]},"68c0d032-e95e-4c66-8ea5-9659b55eff69":{"parent":null,"children":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"]},"779f69a4-3b9d-42b4-95f6-c78fbcc36846":{"parent":"68c0d032-e95e-4c66-8ea5-9659b55eff69","externalId":"src/app.controller.spec.ts","children":[]}},"files":{"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.module.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.controller.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/app.service.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/hydeExample/hydeExample.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/OpenAiEndpoint.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/lib/PostgresClient.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"],"/Users/harshvardhanparmar/Github-Projects/EdgeChains/JS/edgechains/examples/src/testGeneration/TestGenerator.ts":["3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","779f69a4-3b9d-42b4-95f6-c78fbcc36846"]},"externalIds":{"test/app.e2e-spec.ts":{"root":"3ecaa54b-6bc3-4e9a-b8e3-d7fa8ffb5da2","children":[]},"src/app.controller.spec.ts":{"root":"779f69a4-3b9d-42b4-95f6-c78fbcc36846","children":[]}}}
76 changes: 76 additions & 0 deletions JS/edgechains/examples/dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"name": "examples",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"clean": "rm -rf coverage dist .nyc_output",
"format": "prettier --list-different .",
"format:fix": "prettier --write .",
"lint": "eslint",
"lint:fix": "eslint --fix",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "tap --ts",
"test:cov": "tap --ts --coverage",
"test:dev": "tap --ts --watch --coverage"
},
"dependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/typeorm": "^10.0.0",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@hanazuki/node-jsonnet": "^2.1.0",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@rbicker/jsonnet": "^0.1.1-0.12.1",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"tap": "^16.3.8",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
11 changes: 11 additions & 0 deletions JS/edgechains/examples/dist/src/app.controller.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { AppService } from './app.service';
export declare class AppController {
private readonly appService;
constructor(appService: AppService);
getHello(): string;
hydeSearch(params: any, query: any): Promise<{
wordEmbeddings: any;
finalAnswer: any;
}>;
testGenerator(): Promise<void>;
}
70 changes: 70 additions & 0 deletions JS/edgechains/examples/dist/src/app.controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions JS/edgechains/examples/dist/src/app.controller.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions JS/edgechains/examples/dist/src/app.module.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare class AppModule {
}
23 changes: 23 additions & 0 deletions JS/edgechains/examples/dist/src/app.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions JS/edgechains/examples/dist/src/app.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions JS/edgechains/examples/dist/src/app.service.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare class AppService {
getHello(): string;
}
20 changes: 20 additions & 0 deletions JS/edgechains/examples/dist/src/app.service.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions JS/edgechains/examples/dist/src/app.service.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions JS/edgechains/examples/dist/src/config.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { AppConfig } from '../typings';
declare const _default: () => AppConfig;
export default _default;
42 changes: 42 additions & 0 deletions JS/edgechains/examples/dist/src/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions JS/edgechains/examples/dist/src/config.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions JS/edgechains/examples/dist/src/hydeExample/hydeExample.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ArkRequest } from '../types/ArkRequest';
export declare function hydeSearchAdaEmbedding(arkRequest: ArkRequest): Promise<{
wordEmbeddings: any;
finalAnswer: any;
}>;
Loading
Loading