Giter Site home page Giter Site logo

fixie-sdk's Introduction

Fixie - The LLM Application Platform

This is the official Python SDK for Fixie. Fixie lets you integrate LLMs with arbitrary APIs, tools, and data.

Fixie logo

What is Fixie?

Fixie is a platform for building applications using large language models. In Fixie, an application consists of a set of natural-language queries that are handled by one or more agents. Each agent consists of a large language model coupled with some custom code to process or generate data, or call out to external systems, such as databases or APIs. By composing agents together, you can create complex workflows with very little code.

Installation

The easiest way to install the Fixie SDK is via pip:

pip install fixieai

Once installed, run fixie auth to authenticate with Fixie and start building.

Build Agents

Agents are at the heart of the Fixie ecosystem, and we make it easy to build and contribute your own. To get started, check out our examples repo or read the docs.

Using the Fixie CLI

The Fixie CLI tool lets you use Fixie interactively from the command line.

Run fixie --help to see a list of available commands.

$ fixie console
Welcome to Fixie!
Connected to: https://app.fixie.ai/sessions/spark-typical-hardware
fixie 🦊❯  What's the price of Nvidia?
   @user: What's the price of Nvidia?
   @fixie: What's the price of Nvidia?
   @fixie: Thought: This is an atomic task.
   @fixie: Ask Agent: What's the price of Nvidia?
   @router: What's the price of Nvidia?
   @router: justin/stock
   @stock: What's the price of Nvidia?
   @stock: Thought: I need to get a stock quote for NVDA.
   @stock: Ask Func: NVDA
   @stock: Func says: $234.36 -3.45%
   @stock: The current share price for Nvidia is $234.36, down 3.45% today.
   @fixie: Agent says: The current share price for Nvidia is $234.36, down 3.45% today.
   @fixie: Thought: I need to repeat back this information.
   @fixie: The current share price for Nvidia is $234.36, down 3.45% today.
6❯ The current share price for Nvidia is $234.36, down 3.45% today.

Integrate with our Client API

The simplest way to use Fixie from your app is to use the fixie.query method to send a query:

import fixieai
response = fixieai.query("Hello there!")
print(response)

For more control, you can also create a FixieClient object and use it to create a Session and send queries within the Session:

import fixieai
client = fixieai.FixieClient()
session = client.create_session(None)
response = session.query("What is 38 * 20302?")
print(response)

fixie-sdk's People

Contributors

farzadab avatar hessamb avatar juberti avatar mdepinet avatar mdwelsh avatar nickheiner avatar petersalas avatar shayangsh avatar stefania11 avatar zkoch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.