mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
refactor: Rename all folders to kebab-case
This commit is contained in:
@@ -22,7 +22,7 @@ Users ask questions like: *"How does the if statement work?"* or *"Which functio
|
||||
```
|
||||
ask262/
|
||||
├── agent.ts # Main ReAct agent - answers user queries
|
||||
├── agentTools/ # Agent tool implementations
|
||||
├── agent-tools/ # Agent tool implementations
|
||||
├── constants.ts # Directory paths and file locations
|
||||
├── config.json # API keys and endpoints (user-created)
|
||||
├── setup/
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
createGraphExplorerTool,
|
||||
createSectionRetrieverTool,
|
||||
createSpecRetrieverTool,
|
||||
} from "./agentTools";
|
||||
} from "./agent-tools";
|
||||
import { EMBEDDING_MODEL, GRAPH_FILE, STORAGE_DIR } from "./constants";
|
||||
|
||||
const embeddings = new OllamaEmbeddings({
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import * as cheerio from "cheerio";
|
||||
import { glob } from "glob";
|
||||
import ora from "ora";
|
||||
import { EMBEDDING_MODEL, SPEC_DIR, STORAGE_DIR } from "../constants";
|
||||
import { HTMLTextSplitter } from "./textsplitters";
|
||||
import { HTMLTextSplitter } from "./text-splitters";
|
||||
import { formatForIngestion } from "./utils/formatHTMLForIngestion";
|
||||
|
||||
const embeddings = new OllamaEmbeddings({
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import * as lancedbSdk from "@lancedb/lancedb";
|
||||
import { OllamaEmbeddings } from "@langchain/ollama";
|
||||
import { createSpecRetrieverTool } from "../../agentTools";
|
||||
import { createSpecRetrieverTool } from "../../agent-tools";
|
||||
import { EMBEDDING_MODEL, STORAGE_DIR } from "../../constants";
|
||||
|
||||
async function main() {
|
||||
|
||||
Reference in New Issue
Block a user