TypeChat icon indicating copy to clipboard operation
TypeChat copied to clipboard

TypeChat is a library that makes it easy to build natural language interfaces using types.

Results 92 TypeChat issues
Sort by recently updated
recently updated
newest added
trafficstars

looking at the examples: https://github.com/microsoft/TypeChat/blob/main/examples/calendar/src/main.ts#L11C25-L11C25 https://github.com/microsoft/TypeChat/blob/main/examples/restaurant/src/main.ts#L15 ```ts const schema = fs.readFileSync(path.join(__dirname, "calendarActionsSchema.ts"), "utf8"); ``` I find it odd that we read in the typescript schema as a text file. after...

Question

Hello, We are trying to extract features from an Image using [Vision API](https://platform.openai.com/docs/guides/vision/vision) of OpenAI. Currently, TypeChat only supports text information. It would be much appreciated if we can allow...

Suggestion
In Discussion

Hi all, When looking at the samples like `CoffeeShop` or `Restaurant` we can see schemas like: ``` typescript export interface BakeryProducts { type: 'BakeryProducts'; name: 'apple bran muffin' | 'blueberry...

I'm using this Model ``` export interface QuestionsToAnswerToResponse { // the language of the improved reply questionsToAnswerTo: | UnknownText | [ { // The question to ask the user to...

# Python and TypeChat * Still thinking about Pydantic as a basis. * pydantic-core specifies the built-in discriminators for validators * Seems feasible to generate TypeScript from these. Either over...

Design Notes

# Agent Patterns * Related to work from AutoGPT and AutoGen * Agents "specifying" other agents * "Matryoshka agents" * Agents passing messages back and forth. * e.g. actor-critic pattern...

Design Notes

I'm wondering how this compares to Open AI's [function calling](https://openai.com/blog/function-calling-and-other-api-updates ) as that's also made "to more reliably get structured data back from the model." I see that TypeChat aimes...

Question

# Possible Topics * Issue tracker * Library integrations * OpenAI functions * Formal representations * TypeChat Programs * Other languages (e.g. Python and C#) * Other features # Issue...

Design Notes

### Description: When I run sentiment example, the response result from chatglm is always '{\nsentiment : "xxx"\n}' which parse failed by JSON.Parse(). ### Environment: I used fastchat and chatglm2-6b-4bit to...

Suggestion