refactor: Rename all folders to kebab-case

This commit is contained in:
2026-04-08 16:11:29 +05:30
parent 02a3fa4cad
commit 0a7c89d577
12 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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/
+1 -1
View File
@@ -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
View File
@@ -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({
+1 -1
View File
@@ -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() {