wandb-GPT
wandb-GPT · GPT Actions
Weights & Biases documentation bot
A support bot to help with questions about the Weights & Biases AI developer platform
POST /queryQueryGet support answers related to Weights & Biases, the wandb python library and the weave python library.
Original API schema
{
"openapi": "3.1.0",
"info": {
"title": "Weights & Biases documentation bot",
"description": "A support bot to help with questions about the Weights & Biases AI developer platform",
"version": "1.0"
},
"servers": [
{
"url": "https://wandbot.replit.app"
}
],
"paths": {
"/query": {
"post": {
"summary": "Query",
"description": "Get support answers related to Weights & Biases, the wandb python library and the weave python library.",
"operationId": "QueryWandbot",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/APIQueryRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/APIQueryResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"APIFeedbackRequest": {
"properties": {
"rating": {
"anyOf": [
{
"$ref": "#/components/schemas/Rating"
},
{
"type": "null"
}
]
},
"feedback_id": {
"type": "string",
"title": "Feedback Id"
},
"question_answer_id": {
"type": "string",
"title": "Question Answer Id"
}
},
"type": "object",
"required": [
"feedback_id",
"question_answer_id"
],
"title": "APIFeedbackRequest"
},
"APIFeedbackResponse": {
"properties": {
"rating": {
"anyOf": [
{
"$ref": "#/components/schemas/Rating"
},
{
"type": "null"
}
]
}
},
"type": "object",
"title": "APIFeedbackResponse"
},
"APIGetChatThreadResponse": {
"properties": {
"question_answers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/QuestionAnswer-Output"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Question Answers",
"default": []
},
"application": {
"type": "string",
"title": "Application"
}
},
"type": "object",
"required": [
"application"
],
"title": "APIGetChatThreadResponse"
},
"APIQueryRequest": {
"properties": {
"question": {
"type": "string",
"title": "Question"
},
"chat_history": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/QuestionAnswer-Input"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Chat History"
},
"application": {
"type": "string",
"title": "Application"
},
},
"type": "object",
"required": [
"question", "application"
],
"title": "APIQueryRequest"
},
"APIQueryResponse": {
"properties": {
"system_prompt": {
"type": "string",
"title": "System Prompt"
},
"question": {
"type": "string",
"title": "Question"
},
"answer": {
"type": "string",
"title": "Answer"
},
"model": {
"type": "string",
"title": "Model"
},
"sources": {
"type": "string",
"title": "Sources"
},
"source_documents": {
"type": "string",
"title": "Source Documents"
},
"total_tokens": {
"type": "integer",
"title": "Total Tokens"
},
"prompt_tokens": {
"type": "integer",
"title": "Prompt Tokens"
},
"completion_tokens": {
"type": "integer",
"title": "Completion Tokens"
},
"time_taken": {
"type": "number",
"title": "Time Taken"
},
"start_time": {
"type": "string",
"format": "date-time",
"title": "Start Time"
},
"end_time": {
"type": "string",
"format": "date-time",
"title": "End Time"
}
},
"type": "object",
"required": [
"system_prompt",
"question",
"answer",
"model",
"sources",
"source_documents",
"total_tokens",
"prompt_tokens",
"completion_tokens",
"time_taken",
"start_time",
"end_time"
],
"title": "APIQueryResponse"
},
"APIQuestionAnswerRequest": {
"properties": {
"system_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System Prompt"
},
"question": {
"type": "string",
"title": "Question"
},
"answer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Answer"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"sources": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sources"
},
"source_documents": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Documents"
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens"
},
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens"
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens"
},
"time_taken": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Time Taken"
},
"start_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Time"
},
"feedback": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Feedback"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Feedback",
"default": []
},
"question_answer_id": {
"type": "string",
"title": "Question Answer Id"
},
"thread_id": {
"type": "string",
"title": "Thread Id"
}
},
"type": "object",
"required": [
"question",
"question_answer_id",
"thread_id"
],
"title": "APIQuestionAnswerRequest"
},
"APIQuestionAnswerResponse": {
"properties": {
"system_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System Prompt"
},
"question": {
"type": "string",
"title": "Question"
},
"answer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Answer"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"sources": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sources"
},
"source_documents": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Documents"
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens"
},
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens"
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens"
},
"time_taken": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Time Taken"
},
"start_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Time"
},
"feedback": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Feedback"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Feedback",
"default": []
}
},
"type": "object",
"required": [
"question"
],
"title": "APIQuestionAnswerResponse"
},
"Feedback": {
"properties": {
"rating": {
"anyOf": [
{
"$ref": "#/components/schemas/Rating"
},
{
"type": "null"
}
]
}
},
"type": "object",
"title": "Feedback"
},
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"QuestionAnswer-Input": {
"properties": {
"system_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System Prompt"
},
"question": {
"type": "string",
"title": "Question"
},
"answer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Answer"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"sources": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sources"
},
"source_documents": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Documents"
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens"
},
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens"
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens"
},
"time_taken": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Time Taken"
},
"start_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Time"
},
"feedback": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Feedback"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Feedback",
"default": []
}
},
"type": "object",
"required": [
"question",
],
"title": "QuestionAnswer"
},
"QuestionAnswer-Output": {
"properties": {
"system_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System Prompt"
},
"question": {
"type": "string",
"title": "Question"
},
"answer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Answer"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"sources": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sources"
},
"source_documents": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Documents"
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens"
},
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens"
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens"
},
"time_taken": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Time Taken"
},
"start_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Time"
},
"feedback": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Feedback"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Feedback",
"default": []
}
},
"type": "object",
"required": [
"question"
],
"title": "QuestionAnswer"
},
"Rating": {
"type": "integer",
"enum": [
1,
-1,
0
],
"title": "Rating"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
}
}
}
}