Skip to content

Commit c02ab40

Browse files
committed
Completed the /rcc-devdocs command
1 parent 53c909e commit c02ab40

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ai-assistant/src/core/services/db/neo4j.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ export class Neo4j implements IDB {
3333
// password: string
3434
) {
3535
this.http = http;
36-
// this.baseUrl = "http://neo4j:7474";
37-
// this.username = "neo4j";
38-
// this.password = "strongpasswordsafe123";
39-
this.baseUrl = "http://44.192.104.170:7474";
36+
this.baseUrl = "http://neo4j:7474";
4037
this.username = "neo4j";
41-
this.password = "individuals-societies-wools";
38+
this.password = "strongpasswordsafe123";
39+
// this.baseUrl = "http://44.192.104.170:7474";
40+
// this.username = "neo4j";
41+
// this.password = "individuals-societies-wools";
4242
}
4343

4444
/**

ai-assistant/src/core/services/embeddings/minilml6.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class MiniLML6 implements IEmbeddingModel {
4545
* @returns A promise that resolves to an array of numbers representing the embeddings for the text, or null if the generation fails.
4646
*/
4747
async generate(text: string): Promise<number[] | null> {
48-
return await this.fromHuggingFace(text);
48+
// return await this.fromHuggingFace(text);
4949

5050
const res = await this.http.post(this.baseURL, {
5151
headers: {

ai-assistant/src/core/services/llm/llama3_70B.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Llama3_70B implements ILLMModel {
4343
* @returns {Promise<string | null>} A promise that resolves with the response string or null if no response is available.
4444
*/
4545
async ask(prompt: Prompt): Promise<string | null> {
46-
return await this.fromHuggingFace(prompt);
46+
// return await this.fromHuggingFace(prompt);
4747

4848
const url = `${this.baseURL}/chat/completions`;
4949
const res = await this.http.post(url, {

0 commit comments

Comments
 (0)