microsoft / microsoft/TypeChat

How to customize typechat for my own model and personalized scenarios (exp. for Chinese users)?

Open
#86 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Discussion Question
Dominant language
TypeScript
Stars
8.7k
Forks
414
Avg merge
3h 8m
Merged PRs (30d)
3

Description

I am currently deploying the model and exposing a callable OpenAI API. I am modifying model.ts to fit my own model, but I'm experiencing instability when using mpt-30b-chat and mpt-30b-instruct. Math functions are frequently being called incorrectly. JSON templates often fail to validate in complex projects. Do you have any suggestions, such as adding a system prompt or modifying the template to accommodate Chinese?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with model.ts and review how custom model adapters, prompts, and JSON templates are currently configured. The issue does not name a target file beyond model.ts, a failing test, or a defined expected outcome, so the desired guidance for mpt-30b models and Chinese or complex-schema scenarios needs to be clarified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, backend-api-design
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.