specification

Specification Repository

This repository hosts various technical specifications and documentation for reference and implementation guidance.

Chat Completions API

The Chat Completions API Specification provides detailed guidelines for implementing a chat completions API that supports both regular invocations and streaming responses.

Key features:

MCP Workflow and Sampling

The Understanding MCP Sampling is almost like a missing doc from the MCP official site. This doc should well explain MCP Sampling, which DOES NOT mean “Sampling Data” at all!

MCP Sampling is to implement a sampleHandler callback function, which can be called by the MCP Server. Since the callback function is on the client side, the client side can call a LLM via HTTP REST requests, or you can ask a user to approve an action.

Chat Completion Integration (Draft)

AWS Bedrock Provider Implementation Solution (Draft)

Embedding and Vector Storage (Draft)

Cheat Sheet

Other

License

This project is licensed under the MIT License - see the LICENSE file for details.