Skip to content

Commit 0e49097

Browse files
authored
Update default configuration
1 parent 5aaa3e1 commit 0e49097

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ We apply a Retrieval Augment Generation (RAG) pattern, ie,
202202

203203
This ensures that the answers are not only based on general AI knowledge but are also specifically tailored to Julia's ecosystem and best practices.
204204

205-
The "knowledge packs" are sourced from documentation sites and then processed with DocsScraper.jl.
205+
The "knowledge packs" are sourced from documentation sites and then processed with [DocsScraper.jl](https://github.com/JuliaGenAI/DocsScraper.jl).
206206

207207
> [!NOTE]
208208
> If you would like to set up an automated process to create a new knowledge pack for some package/organization, let us know!
@@ -235,6 +235,9 @@ A: Tavily's API is used to search the best matching snippets from the documentat
235235
**Q: Can we use Ollama (locally-hosted) models?**
236236
A: Yes, see the Advanced section in the docs.
237237

238+
**Q: How can I build knowledge packs for my package(s)?**
239+
A: Check out package [DocsScraper.jl](https://github.com/JuliaGenAI/DocsScraper.jl). It's what we use to build the knowledge packs loaded in this package!
240+
238241
## Future Directions
239242

240243
AIHelpMe is continuously evolving. Future updates may include:

src/pipeline_defaults.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function update_pipeline!(
156156
@warn "Invalid configuration for knowledge packs! For `nomic-embed-text`, `embedding_dimension` must be 0. See the available artifacts."
157157
end
158158
if model_embedding == "text-embedding-3-large" &&
159-
(embedding_dimension [1024, 0] || !isnothing(embedding_dimension))
159+
!(embedding_dimension in [1024, 0] || isnothing(embedding_dimension))
160160
@warn "Invalid configuration for knowledge packs! For `text-embedding-3-large`, `embedding_dimension` must be 0 or 1024. See the available artifacts."
161161
end
162162

@@ -184,7 +184,6 @@ function update_pipeline!(
184184
## Update GLOBAL variables
185185
MODEL_CHAT = model_chat
186186
MODEL_EMBEDDING = model_embedding
187-
@info embedding_dimension
188187
EMBEDDING_DIMENSION = embedding_dimension
189188

190189
## Set the options

0 commit comments

Comments
 (0)