adriatic / fixie-logs Goto Github PK
View Code? Open in Web Editor NEWDocumenting the research on https://www.fixie.ai/
Documenting the research on https://www.fixie.ai/
Starting with Quickstart: Fixie Sidekicks
Verified Prerequisites.
Got a Fixie Developer account
Created my profile page:
nik$ npx fixie@latest auth
๐ค You are logged into https://api.fixie.ai as adriatic
๐ Your FIXIE_API_KEY is: eyJhbGciOiJI...
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
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.
Starting again (after some fixes were made on 10/29/2023 +) Using the text Quickstart: Fixie Sidekicks:
My profile
API token in .env
App deployed at https://console.fixie.ai/agents/de02102a-7770-4fe3-aca4-2da7fdc151ff
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
Did not yet create any documents
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.