Giter Site home page Giter Site logo

fixie-logs's People

Contributors

adriatic avatar

Watchers

 avatar

fixie-logs's Issues

Fixie Sidekicks tutorial

Bug in section https://docs.ai-jsx.com/sidekicks/sidekicks-docsqa#creating-a-corpus

Building the application using the documentation at https://docs.ai-jsx.com/sidekicks/sidekicks-quickstart

Followed the instructions up to and including deploy the sidekick

Run this app from the cloud: https://console.fixie.ai/agents/eac443dd-1ad9-4a49-8d68-682333e051ed

Document Q&A

Did not yet create any documents

image

however running the command npx fixie corpus list, I get

nik$ npx fixie corpus list
{
  "corpora": [
    {
      "corpusId": "019ee8d1-bf7e-450e-a867-8e2fc5e72cec",
      "displayName": "RedwoodJS",
      "created": "2023-09-26T20:52:32.664098Z",
      "modified": "2023-09-26T20:52:32.698692Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-26T22:37:34.866010Z",
        "numChunks": "8171",
        "numDocs": "1824",
        "numVectors": "8171"
      },
      "description": "RedwoodJS docs.",
      "owner": "ben",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "0605b389-ea29-4564-ab8c-a69707f3b57f",
      "displayName": "Snyk",
      "created": "2023-09-28T12:15:07.467404Z",
      "modified": "2023-09-28T12:15:07.510911Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-17T14:51:39.240318Z",
        "numChunks": "1050",
        "numDocs": "392",
        "numVectors": "1050"
      },
      "description": "Snyk website + Docs",
      "owner": "zach",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "25657c55-bdcf-4c2f-8524-d0b519bffd90",
      "displayName": "Sidlangs",
      "created": "2023-10-03T03:17:14.753379Z",
      "modified": "2023-10-03T03:17:14.753967Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-03T03:28:08.880851Z",
        "numChunks": "193",
        "numDocs": "4",
        "numVectors": "193"
      },
      "owner": "mdw",
      "public": true,
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "286b5a7d-2bcd-483f-aef5-acf157c5aea5",
      "displayName": "Git + GitHub",
      "created": "2023-09-25T23:17:19.245424Z",
      "modified": "2023-09-25T23:17:19.274109Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-26T03:24:00.360838Z",
        "numChunks": "7109",
        "numDocs": "1202",
        "numVectors": "7109"
      },
      "description": "Content from Git docs, Git book, and GitHub docs.",
      "owner": "ben",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "437594d6-ae69-4e54-abea-c58ab2be80ec",
      "displayName": "Fixie.ai",
      "created": "2023-09-18T12:25:37.209695Z",
      "modified": "2023-09-18T12:25:37.240483Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-18T12:43:03.246502Z",
        "numChunks": "503",
        "numDocs": "234",
        "numVectors": "503"
      },
      "description": "fixie.ai",
      "owner": "zach",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "44094d5a-f817-4c2e-a2a4-8f8a0c936d0f",
      "displayName": "FoxesWorld.com",
      "created": "2023-09-15T20:15:45.549089Z",
      "modified": "2023-09-15T20:15:45.581481Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-15T21:11:53.788270Z",
        "numChunks": "762",
        "numDocs": "510",
        "numVectors": "762"
      },
      "owner": "mdw",
      "public": true,
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "bd69dce6-7b56-4d0b-8b2f-226500780ebd",
      "created": "2023-09-15T21:52:13.656918Z",
      "modified": "2023-09-15T21:52:13.691904Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-02T17:32:27.169917Z",
        "numChunks": "8",
        "numDocs": "2",
        "numVectors": "8"
      },
      "owner": "justin",
      "public": true,
      "displayName": "",
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "c89cdc3f-a5b9-480e-a1af-b05f71ff88a0",
      "displayName": "ada",
      "created": "2023-10-27T19:46:30.712430Z",
      "modified": "2023-10-27T19:46:30.713483Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-28T06:30:08.852618Z",
        "numChunks": "20536",
        "numDocs": "8156",
        "numVectors": "20536"
      },
      "owner": "zach",
      "public": true,
      "jobCallbacks": [
        {
          "stateFilter": [
            "JOB_STATE_COMPLETED",
            "JOB_STATE_FAILED"
          ],
          "email": {
            "to": [
              {
                "name": "Zach",
                "email": "[email protected]"
              }
            ]
          }
        }
      ],
      "description": ""
    }
  ]
}%                                                                              nik$ 

It seems that I inherited some corpora which influence my initial LLM ???

Once I created my own first (empty corpus):

nik$ npx fixie corpus create "corpus adriaticus"
{
  "corpus": {
    "corpusId": "721c28af-4728-4424-a6f2-f2744133c0d8",
    "displayName": "corpus adriaticus",
    "created": "2023-10-29T15:49:23.684376Z",
    "modified": "2023-10-29T15:49:23.685014Z",
    "stats": {
      "status": "CORPUS_STATUS_EMPTY",
      "numChunks": "0",
      "numDocs": "0",
      "numVectors": "0"
    },
    "jobCallbacks": [
      {
        "stateFilter": [
          "JOB_STATE_COMPLETED",
          "JOB_STATE_FAILED"
        ],
        "email": {
          "to": [
            {
              "name": "Nikolaj",
              "email": "[email protected]"
            }
          ]
        }
      }
    ],
    "owner": "",
    "description": "",
    "public": false
  }
}% 

I am still getting the same list of corpora

{
  "corpora": [
    {
      "corpusId": "019ee8d1-bf7e-450e-a867-8e2fc5e72cec",
      "displayName": "RedwoodJS",
      "created": "2023-09-26T20:52:32.664098Z",
      "modified": "2023-09-26T20:52:32.698692Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-26T22:37:34.866010Z",
        "numChunks": "8171",
        "numDocs": "1824",
        "numVectors": "8171"
      },
      "description": "RedwoodJS docs.",
      "owner": "ben",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "0605b389-ea29-4564-ab8c-a69707f3b57f",
      "displayName": "Snyk",
      "created": "2023-09-28T12:15:07.467404Z",
      "modified": "2023-09-28T12:15:07.510911Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-17T14:51:39.240318Z",
        "numChunks": "1050",
        "numDocs": "392",
        "numVectors": "1050"
      },
      "description": "Snyk website + Docs",
      "owner": "zach",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "25657c55-bdcf-4c2f-8524-d0b519bffd90",
      "displayName": "Sidlangs",
      "created": "2023-10-03T03:17:14.753379Z",
      "modified": "2023-10-03T03:17:14.753967Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-03T03:28:08.880851Z",
        "numChunks": "193",
        "numDocs": "4",
        "numVectors": "193"
      },
      "owner": "mdw",
      "public": true,
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "286b5a7d-2bcd-483f-aef5-acf157c5aea5",
      "displayName": "Git + GitHub",
      "created": "2023-09-25T23:17:19.245424Z",
      "modified": "2023-09-25T23:17:19.274109Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-26T03:24:00.360838Z",
        "numChunks": "7109",
        "numDocs": "1202",
        "numVectors": "7109"
      },
      "description": "Content from Git docs, Git book, and GitHub docs.",
      "owner": "ben",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "437594d6-ae69-4e54-abea-c58ab2be80ec",
      "displayName": "Fixie.ai",
      "created": "2023-09-18T12:25:37.209695Z",
      "modified": "2023-09-18T12:25:37.240483Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-18T12:43:03.246502Z",
        "numChunks": "503",
        "numDocs": "234",
        "numVectors": "503"
      },
      "description": "fixie.ai",
      "owner": "zach",
      "public": true,
      "jobCallbacks": []
    },
    {
      "corpusId": "44094d5a-f817-4c2e-a2a4-8f8a0c936d0f",
      "displayName": "FoxesWorld.com",
      "created": "2023-09-15T20:15:45.549089Z",
      "modified": "2023-09-15T20:15:45.581481Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-09-15T21:11:53.788270Z",
        "numChunks": "762",
        "numDocs": "510",
        "numVectors": "762"
      },
      "owner": "mdw",
      "public": true,
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "721c28af-4728-4424-a6f2-f2744133c0d8",
      "displayName": "corpus adriaticus",
      "created": "2023-10-29T15:49:23.684376Z",
      "modified": "2023-10-29T15:49:23.685014Z",
      "stats": {
        "status": "CORPUS_STATUS_EMPTY",
        "numChunks": "0",
        "numDocs": "0",
        "numVectors": "0"
      },
      "owner": "adriatic",
      "jobCallbacks": [
        {
          "stateFilter": [
            "JOB_STATE_COMPLETED",
            "JOB_STATE_FAILED"
          ],
          "email": {
            "to": [
              {
                "name": "Nikolaj",
                "email": "[email protected]"
              }
            ]
          }
        }
      ],
      "description": "",
      "public": false
    },
    {
      "corpusId": "bd69dce6-7b56-4d0b-8b2f-226500780ebd",
      "created": "2023-09-15T21:52:13.656918Z",
      "modified": "2023-09-15T21:52:13.691904Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-02T17:32:27.169917Z",
        "numChunks": "8",
        "numDocs": "2",
        "numVectors": "8"
      },
      "owner": "justin",
      "public": true,
      "displayName": "",
      "description": "",
      "jobCallbacks": []
    },
    {
      "corpusId": "c89cdc3f-a5b9-480e-a1af-b05f71ff88a0",
      "displayName": "ada",
      "created": "2023-10-27T19:46:30.712430Z",
      "modified": "2023-10-27T19:46:30.713483Z",
      "stats": {
        "status": "CORPUS_STATUS_READY",
        "lastUpdated": "2023-10-28T06:30:08.852618Z",
        "numChunks": "20536",
        "numDocs": "8156",
        "numVectors": "20536"
      },
      "owner": "zach",
      "public": true,
      "jobCallbacks": [
        {
          "stateFilter": [
            "JOB_STATE_COMPLETED",
            "JOB_STATE_FAILED"
          ],
          "email": {
            "to": [
              {
                "name": "Zach",
                "email": "[email protected]"
              }
            ]
          }
        }
      ],
      "description": ""
    }
  ]
}% 

this list includes my just created (empty) corpus. The dashboard shows only my documents

image

What is the reason to use somorphicFixieClient in https://github.com/fixie-ai/redwood-fixie-sample

The app sample introduces the code shared with RedwoodJS team a couple months ago. That code defines the object IsomorphicFixieClient used in LowLevelApiPage (note that the code for this IsomorphicFixieClient object is imported node_modules.

As the name suggests, this code can be used on the client as well on the server, but its use requires a lot more work for the app developer.

My question is whether this specific sample should be a part of the RedwoodJS application? Also it would require some documentation that seemingly does not exists today.

IsomorphicFixieClient - is this a good feature to expose to Redwood?

I am trying to create the best possible demo of using Fixie in RedwoodJS apps (and framework). This demo is even more unofficial than the similar project led by @keith and @jace (Redwood guys) - as this later one is unofficial by not be scheduled by regular RW plans.

Nick Heines created the redwood-fixie-sample - a model shared with RedwoodJS team a couple months ago. As I was not aware of this event, I discovered this redwood-fixie-sample only few days ago. This demo presents the following UI, as a replacement of the RedwoodJS app default home page

image
Image 1


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.