Skip to content

Cleanup configs#87

Open
murbans1 wants to merge 16 commits intomainfrom
cleanup_configs
Open

Cleanup configs#87
murbans1 wants to merge 16 commits intomainfrom
cleanup_configs

Conversation

@murbans1
Copy link
Collaborator

@murbans1 murbans1 commented Mar 19, 2025

Define config objects to make env variable handling easier.

@murbans1 murbans1 marked this pull request as draft March 19, 2025 12:48
@murbans1 murbans1 requested a review from selvik March 19, 2025 13:35
@murbans1 murbans1 changed the title [WIP] Cleanup configs Cleanup configs Mar 19, 2025
@murbans1 murbans1 marked this pull request as ready for review March 19, 2025 13:36
relevant_docs,
llm_server_url,
sql_search_db_and_model_path,
alpha,
Copy link

@selvik selvik Mar 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we able to replace alpha with weaviate settings here? And also use the sql_search_settings for the other parameters?

llm_server_url,
sql_search_db_and_model_path,
alpha,
max_context_length,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max_context_length could also be added to llm_settings because it defines how much of the total possible context length of the LLM we will be using.

hybrid_search_settings = HybridSearchSettings()
llm_settings = LlmSettings()
sql_search_settings = SqlSearchSettings()

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This style of setup looks great and makes it so much easier to read!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants