+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions amber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ secrets:
- name: AMBER_ANOTHERWEBSERVICE_NJF_02
sha256: ca0d769067f0f73b870b74221d0da1313b776fe05a0c90f92d4342a6f7d719f2
cipher: 02d8895644cccc86997912ae8637d6e26985e09c6bff08f88eecd90f5e692e2b1769bbae7f55ae29272fbc5a1994c191a28fbf5ea8543e9867925e156110a859531e3a420c197f085e8f2052f4aa77790a5ef3a31780022bf39940b5
- name: AMBER_ASTRA_LANGFLOW_APP_TOKEN
sha256: 32a3b7f99eb6be0b0727a1cc8102dca99474a6f7f0eafd620c4cc7b79e3a4997
cipher: 5566ac15884bc38b1d6f81c2456bcf7ad9252eccedd03c17bc0f9a54bbd7d865430784d3c83da5ba49852b273bcf38f5c6388e95a819721a2521f80ea01302294ce805a2e3dabb0a9bddb3752e5fee285fdf535568205763fe95cc96dd5711da7abfe079ab6589bf1b4cb40a842d8ce65a49c44be3534296bbe061f522c7fcab12a2e70dbb4f5a904a036e30ffdebf631e
- name: AMBER_FLUENT_AIRTABLE_PAT_01
sha256: 2d84652a1a74e05de3dfdc0a8445e8ec822da2f189c1509eeba2a302a072c243
cipher: 3fa55997cda2fbea79e81ad570d6ce14c5186fd3d401665ccb88ed2f62082e55ed82346ff7d85062a1b5001ea20c62f7f2e3d42f1377a33559216bc5f9e57fd6aa53c27ae6f44a81520f07d428d71f1947a0fb919febf4c0ab837afcb67e283e306a06518acaf35ba382c8f2ada07f879e9a98c160fa9df032af415eeff55bcc2f4e
Expand Down
1 change: 0 additions & 1 deletion fluent_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ indicatif = "0.17.8"
term_size = "1.0.0-beta1"
crossterm="0.25.0"
terminal_size = "0.3.0"
wasm-bindgen-cli = "0.2"


[dependencies.getrandom]
Expand Down
183 changes: 183 additions & 0 deletions fluent_cli/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,79 @@
},
"timeout_ms": 50000
},
{
"name": "LocalGoogleFlashChain",
"engine": "flowise",
"protocol": "http",
"hostname": "127.0.0.1",
"port": 3000,
"chat_id": "fbaa82fb-6312-4bbd-a841-bdcf2a8c2bba",
"request_path": "/api/v1/prediction/",
"sessionId": "AMBER_FLUENT_SESSION_ID_01",
"bearer_token": "AMBER_REPO_CLOUD_FLUENT_DEMO_KEY",
"overrideConfig": {
"modelName": "gemini-1.5-flash-latest"
},
"tweaks": {

},
"timeout_ms": 50000
},

{
"name": "LocalGPT4SupervisorWorkerFlow",
"engine": "flowise",
"protocol": "https",
"hostname": "flowise.fluentcli.com",
"port": 443,
"chat_id": "57ead6df-627f-45c9-948a-9bc2b19e6a2e",
"request_path": "/api/v1/prediction/",
"sessionId": "AMBER_FLUENT_SESSION_ID_01",
"bearer_token": "AMBER_REPO_CLOUD_FLUENT_DEMO_KEY",
"overrideConfig": {
"stripNewLines": true,
"modelName": {
"chatOpenAICustom_0": "gpt-4o"
},
"openAIApiKey": {
"chatOpenAICustom_0": "AMBER_FLUENT_OPENAI_API_KEY_01"
},
"temperature": 0,
"systemMessage": "you are a helpful assistant",
"serpApiKey": "AMBER_FLUENT_SERPAPI_KEY_01"
},
"tweaks": {

},
"timeout_ms": 50000
},
{
"name": "GPT4SupervisorWorkerBrowserAndGitHubFlowRepoCloud",
"engine": "flowise",
"protocol": "https",
"hostname": "flowise.fluentcli.com",
"port": 443,
"chat_id": "d170e885-f0d6-42f1-b27f-8fe6c579ac64",
"request_path": "/api/v1/prediction/",
"sessionId": "AMBER_FLUENT_SESSION_ID_01",
"bearer_token": "AMBER_REPO_CLOUD_FLUENT_DEMO_KEY",
"overrideConfig": {
"stripNewLines": true,
"modelName": {
"chatOpenAICustom_0": "gpt-4o"
},
"openAIApiKey": {
"chatOpenAICustom_0": "AMBER_FLUENT_OPENAI_API_KEY_01"
},
"temperature": 0,
"systemMessage": "you are a helpful assistant",
"serpApiKey": "AMBER_FLUENT_SERPAPI_KEY_01"
},
"tweaks": {

},
"timeout_ms": 500000
},

{
"name": "StarCoder2HuggingFaceRepoCloud",
Expand Down Expand Up @@ -116,6 +189,68 @@
},
"timeout_ms": 500000
},
{
"name": "FluentCLIAstraRetrivalQAChainRepoCloud",
"engine": "flowise",
"protocol": "https",
"hostname": "9d81nz4o.rpcld.co",
"port": 443,
"chat_id": "e976497f-7fa6-40b0-a879-ed1b49ffd4bc",
"request_path": "/api/v1/prediction/",
"upsert_path": "/api/v1/vector/upsert/",
"sessionId": "",
"bearer_token": "AMBER_REPO_CLOUD_FLUENT_DEMO_KEY",
"overrideConfig": {
"returnSourceDocuments": true,
"chainName": "FluentCLIAstraRetrivalQAChainRepoCloud",
"sessionId": "AMBER_FLUENT_SESSION_ID_01",
"openAIApiKey": "AMBER_FLUENT_OPENAI_API_KEY_01",
"searchApiKey": "AMBER_FLUENT_SEARCHAPI_KEY_ID_01",
"accessToken": "AMBER_FLUENT_GITHUB_PAT_KEY_01",

"repoLink": "https://github.com/njfio/fluent_cli/",
"branch": "main",
"recursive": true,
"maxRetries" : 3,
"language":{
},
"modelName": {
"chatOpenAI_0": "gpt-4o",
"openAIEmbeddings_0": "text-embedding-ada-002"
},

"applicationToken": "AMBER_ASTRA_LANGFLOW_APP_TOKEN",
"dbEndPoint": "https://ee12d7de-4703-467d-aaee-8cde05f10f47-us-east-2.apps.astra.datastax.com",
"astraNamespace": "fluent",
"astraCollection": "fluent_collection",
"vectorDimension": 1536,
"similarityMetric": "cosine",
"topK": 10,
"searchType": "similarity",
"fetchK": 20,
"lambda": 0.5,
"temperature": 0.1,
"maxTokens": 1500,
"topP": 0.9,
"frequencyPenalty": 0.5,
"presencePenalty": 0.6,
"rephrasePrompt": "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone Question:",
"responsePrompt": "I want you to act as a document that I am having a conversation with. Your name is \"AI Assistant\". Using the provided context, answer the user's question to the best of your ability using the resources provided.\nIf there is nothing in the context relevant to the question at hand, just say \"Hmm, I'm not sure\" and stop after that. Refuse to answer any question not about the info. Never break character.\n------------\n{context}\n------------\nREMEMBER: If there is no relevant information within the context, just say \"Hmm, I'm not sure\". Don't try to make up an answer. Never break character.",
"allowImageUploads": true,
"imageResolution": "high",
"webPath": "https://njf.gitbook.io/fluent_cli_gitbook",
"shouldLoadAllPaths": true,
"maxConcurrency": 5,
"stripNewLines": false,
"batchSize": 100,
"chunkSize": 1000,
"chunkOverlap": 200
},
"tweaks": {

},
"timeout_ms": 500000
},

{
"name": "LangFlowExample",
Expand Down Expand Up @@ -923,6 +1058,29 @@
},
"timeout_ms": 5000000
},
{
"name": "MakeDalleImagePostRawOutput",
"engine": "webhook",
"protocol": "https",
"hostname": "hook.us1.make.com",
"port": 443,
"chat_id": "ns0sts8l8tqgeztgyftrdpvrsc1jas7m",
"request_path": "/",
"sessionId": "",
"bearer_token": "AMBER_MAKE_LEONARDO_IMAGE_POST",
"overrideConfig": {
"size": "1024x1792",
"quality":"HD",
"style": "Vivid",
"responseFormat": "url",
"makeAuthentication": "AMBER_MAKE_LEONARDO_IMAGE_POST"

},
"tweaks": {

},
"timeout_ms": 5000000
},
{
"name": "MakeLeonardoImagePost",
"engine": "webhook",
Expand All @@ -948,6 +1106,31 @@
},
"timeout_ms": 5000000
},
{
"name": "MakeLeonardoImagePostRawOutput",
"engine": "webhook",
"protocol": "https",
"hostname": "hook.us1.make.com",
"port": 443,
"chat_id": "hbxg9tuxhh9bjki2reop2993ogbjr6ej",
"request_path": "/",
"sessionId": "",
"bearer_token": "AMBER_MAKE_LEONARDO_IMAGE_POST",
"overrideConfig": {
"modelID": "AMBER_LEONARDO_AI_KINO_XL_MODEL_ID",
"negative_prompt": "words, letters, symbols, hands, deformities, low-quality,",
"alchemy": true,
"photoReal": true,
"photoRealVersion":"v2",
"presetStyle": "",
"makeAuthentication": "AMBER_MAKE_LEONARDO_IMAGE_POST",
"seed": ""
},
"tweaks": {

},
"timeout_ms": 5000000
},
{
"name": "MakeLeonardoImagePostTest",
"engine": "flowise",
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载