private_gpt_api

Creator: coderz1093

Last updated:

0 purchases

private_gpt_api Image
private_gpt_api Images
Add to Cart

Description:

private gpt api

openapi #
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:

API version: 0.1.0
Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements #
Dart 2.12 or later
Installation & Usage #
Github #
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
openapi:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
copied to clipboard
Local #
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
openapi:
path: /path/to/openapi
copied to clipboard
Tests #
TODO
Getting Started #
Please follow the installation procedure and then run the following:
import 'package:private_gpt_api/api.dart';


final api_instance = ContextChunksApi();
final chunksBody = ChunksBody(); // ChunksBody |

try {
final result = api_instance.chunksRetrievalV1ChunksPost(chunksBody);
print(result);
} catch (e) {
print('Exception when calling ContextChunksApi->chunksRetrievalV1ChunksPost: $e\n');
}

copied to clipboard
Documentation for API Endpoints #
All URIs are relative to http://localhost



Class
Method
HTTP request
Description




ContextChunksApi
chunksRetrievalV1ChunksPost
POST /v1/chunks
Chunks Retrieval


ContextualCompletionsApi
chatCompletionV1ChatCompletionsPost
POST /v1/chat/completions
Chat Completion


ContextualCompletionsApi
promptCompletionV1CompletionsPost
POST /v1/completions
Completion


EmbeddingsApi
embeddingsGenerationV1EmbeddingsPost
POST /v1/embeddings
Embeddings Generation


HealthApi
healthHealthGet
GET /health
Health


IngestionApi
deleteIngestedV1IngestDocIdDelete
DELETE /v1/ingest/{doc_id}
Delete Ingested


IngestionApi
ingestFileV1IngestFilePost
POST /v1/ingest/file
Ingest File


IngestionApi
ingestTextV1IngestTextPost
POST /v1/ingest/text
Ingest Text


IngestionApi
ingestV1IngestPost
POST /v1/ingest
Ingest


IngestionApi
listIngestedV1IngestListGet
GET /v1/ingest/list
List Ingested



Documentation For Models #

ChatBody
ChatBodyContextFilter
Chunk
ChunksBody
ChunksResponse
CompletionsBody
Content
ContextFilter
DocMetadata
DocsIds
Embedding
EmbeddingsBody
EmbeddingsResponse
FinishReason
HTTPValidationError
HealthResponse
IngestResponse
IngestTextBody
IngestedDoc
Input
NextTexts
OpenAIChoice
OpenAIChoiceDelta
OpenAIChoiceMessage
OpenAICompletion
OpenAIDelta
OpenAIMessage
PreviousTexts
Sources
SystemPrompt
ValidationError
ValidationErrorLocInner

Documentation For Authorization #
Endpoints do not require authorization.
Author #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.