-
Notifications
You must be signed in to change notification settings - Fork 60
SmartPaste: Array And AllowedValues With Id #56
Comments
Thanks for posting. To clarify what you're asking for, could you post an example of the code you think you'd want to write? |
1. Handling Allowed Values with IDClass Definition for Product: public class Product
{
public int CategoryId { get; set; }
} In this scenario,
When the AI processes a prompt, it should fill the Example Prompt:
The AI should understand this prompt and set 2. Handling ArraysClass Definition for Order: public class Order
{
public List<OrderItem> Items { get; set; }
}
public class OrderItem
{
public int ProductId { get; set; }
public int Qty { get; set; }
public decimal Price { get; set; }
} In this scenario, Example Prompt:
The AI should parse this prompt and create an Summary
|
I'm afraid I don't understand how this relates to Smart Paste. Since Smart Paste only populates HTML forms and does not provide any .NET objects, I'm not sure how these code examples relate to it. Similarly, you give an example of a prompt "Make me a product with name pencil with category Studying", but what does that mean in this context? Smart Paste doesn't accept any prompts at all. Could you clarify? Or are you just asking a more general question about AI? |
Okay are there open source of this library or anything I can collaborate or a repo that i can pull request cause i got it but i need just small help but i did 60% percent from it but it only works with gpt4o and gpt3.5 does not understand it so i need little help with my system prompt |
I'm creating product
AllowedValues With Id
Product have categories and categories have name and id and what i care about is id
Array
Product have units a one, box whatever and this array is the units of the product
Why it's not allowedValues it have unitPrice, unitName, unitEqualivant and more
So array is important please
The text was updated successfully, but these errors were encountered: