Overview

InternTA provides a chat completions API that allows you to integrate our synthetic biology teaching assistant capabilities into your applications. The API follows a similar style to other popular chat completion APIs, making it familiar for developers.

InternTA is specifically trained on synthetic biology content and is optimized for educational interactions in this domain.

Base URL

https://api.ecopi.chat/v1

Authentication

All API requests require authentication using Bearer tokens.

Authorization: Bearer YOUR_API_TOKEN

Keep your API tokens secure and never expose them in client-side code.

Response Format

All responses follow a standard format:

{
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "Response content..."
      }
    }
  ]
}

Features

Synthetic Biology Expertise

Specialized knowledge from textbooks and academic materials

Educational Guidance

Provides hints and explanations rather than direct answers

Cross-disciplinary Context

Integrates biology, chemistry, and engineering concepts

Interactive Learning

Supports multi-turn educational dialogues

Model Details

The API is powered by a fine-tuned version of InternLM2, specifically trained on:

  • Post-class thought questions
  • Key terms and definitions
  • Fundamental concept knowledge
  • Guided learning interactions

Rate Limits

Please contact us for custom rate limits and enterprise usage.

PlanRequests per minuteTokens per request
Basic604096
Pro1208192
EnterpriseCustomCustom

Example Usage

Basic Request

curl -X POST "https://api.ecopi.chat/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "internta-v02",
    "messages": [
      {
        "role": "user",
        "content": "What is synthetic biology?"
      }
    ]
  }'

With System Message

curl -X POST "https://api.ecopi.chat/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "internta-v02",
    "messages": [
      {
        "role": "system",
        "content": "You are E.CoPI, a teaching assistant for synthetic biology."
      },
      {
        "role": "user",
        "content": "Can you explain CRISPR-Cas9?"
      }
    ]
  }'

Support

If you need assistance with the API:

  1. Review the API Documentation
  2. Check our GitHub repository
  3. Contact our support team at dev@kongfoo.cn

Ready to get started?

Check out our quickstart guide to begin integrating InternTA