Fructose icon
Fructose icon

Fructose

Fructose is a python package to create a dependable, strongly-typed interface around an LLM call.

Cost / License

  • Free
  • Open Source

Platforms

  • Python
  • Self-Hosted
-
No reviews
1like
0comments
0alternatives
0news articles

Features

Suggest and vote on features
  1.  Python-based

 Tags

Fructose News & Activities

Highlights All activities

Recent activities

  • kitsunta1l liked Fructose
Show all activities

Fructose information

  • Developed by

    banana
  • Licensing

    Open Source (Apache-2.0) and Free product.
  • Written in

  • Alternatives

    0 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

AI Tools & ServicesDevelopment

GitHub repository

  •  747 Stars
  •  11 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub
Fructose was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Fructose?

Fructose is a python package to create a dependable, strongly-typed interface around an LLM call.

Just slap the @ai() decorator on a type-annotated function and call it as you would a function. It's lightweight, syntactic sugar.

The @ai() decorator introspects the function and builds a prompt to an LLM to perform the task whenever the function is invoked.

Fructose supports:

  • args, kwargs, and return types
  • primative types str bool int float
  • compound types list dict tuple Enum Optional
  • complex datatypes @dataclass
  • nested types
  • custom prompt templates
  • local function calling

Official Links