package
2.23.0+incompatible
Repository: https://github.com/mudler/localai.git
Documentation: pkg.go.dev
# Functions
BackendMonitorEndpoint returns the status of the specified backend @Summary Backend monitor endpoint @Param request body schema.BackendMonitorRequest true "Backend statistics request" @Success 200 {object} proto.StatusResponse "Response" @Router /backend/monitor [get].
BackendMonitorEndpoint shuts down the specified backend @Summary Backend monitor endpoint @Param request body schema.BackendMonitorRequest true "Backend statistics request" @Router /backend/shutdown [post].
No description provided by the author
No description provided by the author
LocalAIMetricsEndpoint returns the metrics endpoint for LocalAI @Summary Prometheus metrics endpoint @Param request body config.Gallery true "Gallery details" @Router /metrics [get].
ShowP2PNodes returns the P2P Nodes @Summary Returns available P2P nodes @Success 200 {object} []schema.P2PNodesResponse "Response" @Router /api/p2p [get].
ShowP2PToken returns the P2P token @Summary Show the P2P token @Success 200 {string} string "Response" @Router /api/p2p/token [get].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SystemInformations returns the system informations @Summary Show the LocalAI instance information @Success 200 {object} schema.SystemInformationResponse "Response" @Router /system [get].
TokenizeEndpoint exposes a REST API to tokenize the content @Summary Tokenize the input.
TokenMetricsEndpoint is an endpoint to get TokensProcessed Per Second for Active SlotID
@Summary Get TokenMetrics for Active Slot.
TTSEndpoint is the OpenAI Speech API endpoint https://platform.openai.com/docs/api-reference/audio/createSpeech
@Summary Generates audio from the input text.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author