-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
4 changed files
with
237 additions
and
51 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,61 @@ | ||
# yaml-language-server: $schema=https://app.stainlessapi.com/config.schema.json | ||
|
||
organization: | ||
name: Qredence | ||
docs: https://docs.qredence.ai | ||
contact: [email protected] | ||
github_org: Qredence | ||
resources: | ||
root: | ||
methods: | ||
retrieve: get / | ||
$client: | ||
methods: | ||
process_local_query: post /process_local_query/ | ||
process_global_query: post /process_global_query/ | ||
add_message: post /add_message/ | ||
chat_history: | ||
methods: | ||
list: get /get_chat_history/ | ||
delete: delete /clear_chat_history/ | ||
targets: | ||
node: | ||
package_name: graphfleet | ||
production_repo: null | ||
publish: | ||
npm: false | ||
python: | ||
package_name: graphfleet | ||
production_repo: null | ||
publish: | ||
pypi: false | ||
settings: | ||
license: Apache-2.0 | ||
client_settings: | ||
opts: {} | ||
omit_platform_headers: false | ||
default_headers: {} | ||
default_timeout: PT60S | ||
default_retries: | ||
max_retries: 2 | ||
initial_delay_seconds: 0.5 | ||
max_delay_seconds: 8 | ||
environments: | ||
production: https://localhost:8080/test-api | ||
query_settings: | ||
nested_format: brackets | ||
array_format: comma | ||
readme: | ||
example_requests: | ||
default: | ||
type: request | ||
endpoint: post /add_message/ | ||
params: &ref_0 {} | ||
headline: | ||
type: request | ||
endpoint: post /add_message/ | ||
params: *ref_0 | ||
pagination: | ||
type: request | ||
endpoint: get /get_chat_history/ | ||
params: {} |
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,155 @@ | ||
openapi: '3.1.0' | ||
info: | ||
title: 'GraphFleet' | ||
version: '0.4.0' | ||
paths: | ||
'/': | ||
get: | ||
summary: 'Read Root' | ||
operationId: 'read_root__get' | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
'/process_local_query/': | ||
post: | ||
summary: 'Process Local Query Endpoint' | ||
operationId: 'process_local_query_endpoint_process_local_query__post' | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/QueryRequest' | ||
required: true | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
'422': | ||
description: 'Validation Error' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/HTTPValidationError' | ||
'/process_global_query/': | ||
post: | ||
summary: 'Process Global Query Endpoint' | ||
operationId: 'process_global_query_endpoint_process_global_query__post' | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/QueryRequest' | ||
required: true | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
'422': | ||
description: 'Validation Error' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/HTTPValidationError' | ||
'/add_message/': | ||
post: | ||
summary: 'Add Message' | ||
operationId: 'add_message_add_message__post' | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/ChatMessage' | ||
required: true | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
'422': | ||
description: 'Validation Error' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/HTTPValidationError' | ||
'/get_chat_history/': | ||
get: | ||
summary: 'Get Chat History' | ||
operationId: 'get_chat_history_get_chat_history__get' | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
'/clear_chat_history/': | ||
delete: | ||
summary: 'Clear Chat History' | ||
operationId: 'clear_chat_history_clear_chat_history__delete' | ||
responses: | ||
'200': | ||
description: 'Successful Response' | ||
content: | ||
application/json: | ||
schema: {} | ||
components: | ||
schemas: | ||
ChatMessage: | ||
type: 'object' | ||
title: 'ChatMessage' | ||
required: | ||
- role | ||
- content | ||
properties: | ||
role: | ||
type: 'string' | ||
title: 'Role' | ||
content: | ||
type: 'string' | ||
title: 'Content' | ||
HTTPValidationError: | ||
type: 'object' | ||
title: 'HTTPValidationError' | ||
properties: | ||
detail: | ||
type: 'array' | ||
title: 'Detail' | ||
items: | ||
$ref: '#/components/schemas/ValidationError' | ||
QueryRequest: | ||
type: 'object' | ||
title: 'QueryRequest' | ||
required: | ||
- query | ||
properties: | ||
query: | ||
type: 'string' | ||
title: 'Query' | ||
ValidationError: | ||
type: 'object' | ||
title: 'ValidationError' | ||
required: | ||
- loc | ||
- msg | ||
- type | ||
properties: | ||
loc: | ||
type: 'array' | ||
title: 'Location' | ||
items: | ||
anyOf: | ||
- type: 'string' | ||
- type: 'integer' | ||
msg: | ||
type: 'string' | ||
title: 'Message' | ||
type: | ||
type: 'string' | ||
title: 'Error Type' |
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "graphfleet" | ||
version = "0.4.0" | ||
version = "0.4.1" | ||
description = "Build upon GraphRAG, provide a quick solution setup and is part of the overall Qredence System like AgenticFleet and FleetUI" | ||
authors = ["Zachary <[email protected]>"] | ||
license = "Apache-2.0" | ||
|