generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JonahSussman <sussmanjonah@gmail.com>
- Loading branch information
1 parent
f370353
commit f765975
Showing
18 changed files
with
283 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
log_level = "info" | ||
file_log_level = "debug" | ||
log_dir = "$pwd/logs" | ||
demo_mode = false | ||
trace_enabled = true | ||
|
||
# **Solution consumers** This controls the strategies the LLM uses to consume | ||
# solutions. | ||
# - "diff_only": consumes only the diff between the the initial and solved | ||
# states | ||
# - "llm_summary": If the incident store's `solution_producers` field is | ||
# configured to use "llm_lazy", the solution used will include an | ||
# llm-generated summary of the changes required. | ||
|
||
solution_consumers = ["diff_only", "llm_summary"] | ||
|
||
# **Postgresql incident store** | ||
# ``` | ||
# [incident_store.args] | ||
# provider = "postgresql" | ||
# host = "127.0.0.1" | ||
# database = "kai" | ||
# user = "kai" | ||
# password = "dog8code" | ||
# ``` | ||
|
||
# **In-memory sqlite incident store** | ||
# ``` | ||
# [incident_store.args] | ||
# provider = "sqlite" | ||
# connection_string = "sqlite:///:memory:" | ||
# ``` | ||
|
||
[incident_store] | ||
|
||
# **incident_store.solution_detectors** This controls the strategies the | ||
# incident store uses to detect when an incident was solved. | ||
# - "naive": Incidents are considered the same if every field in the incident is | ||
# the exact same. | ||
# - "line_match": Same as "naive", except we take into account if the line has | ||
# moved about in the file. | ||
|
||
solution_detectors = "naive" | ||
|
||
# **incident_store.solution_producers** This controls the strategies the | ||
# incident store uses to produce incidents. | ||
# - "text_only": Only the textual information (diff, code before, code after) of | ||
# the incident is stored. | ||
# - "llm_lazy": Same as "text_only", but will earmark the solution for LLM | ||
# summary generation upon retrieval. | ||
|
||
solution_producers = "text_only" | ||
|
||
# Only set this if you want to use a different incident store than the default. | ||
# If you are running it using podman compose, you should probably leave this | ||
# alone. | ||
|
||
[incident_store.args] | ||
provider = "postgresql" | ||
|
||
host = "127.1.0.1" | ||
database = "kai" | ||
user = "kai" | ||
password = "dog8code" | ||
|
||
# **IBM served granite** | ||
# ``` | ||
# [models] | ||
# provider = "ChatIBMGenAI" | ||
|
||
# [models.args] | ||
# model_id = "ibm/granite-13b-chat-v2" | ||
# ``` | ||
|
||
# **IBM served mistral** | ||
# ``` | ||
# [models] | ||
# provider = "ChatIBMGenAI" | ||
|
||
# [models.args] | ||
# model_id = "mistralai/mixtral-8x7b-instruct-v01" | ||
# ``` | ||
|
||
# **IBM served codellama** | ||
# ``` | ||
# [models] | ||
# provider = "ChatIBMGenAI" | ||
|
||
# [models.args] | ||
# model_id = "meta-llama/llama-2-13b-chat" | ||
# ``` | ||
|
||
# **IBM served llama3** | ||
# ``` | ||
# # Note: llama3 complains if we use more than 2048 tokens | ||
# # See: https://github.com/konveyor-ecosystem/kai/issues/172 | ||
# [models] | ||
# provider = "ChatIBMGenAI" | ||
|
||
# [models.args] | ||
# model_id = "meta-llama/llama-3-70b-instruct" | ||
# parameters.max_new_tokens = 2048 | ||
# ``` | ||
|
||
# **Ollama** | ||
# ``` | ||
# [models] | ||
# provider = "ChatOllama" | ||
|
||
# [models.args] | ||
# model = "mistral" | ||
# ``` | ||
|
||
# **OpenAI GPT 4** | ||
# ``` | ||
# [models] | ||
# provider = "ChatOpenAI" | ||
|
||
# [models.args] | ||
# model = "gpt-4" | ||
# ``` | ||
|
||
# **OpenAI GPT 3.5** | ||
# ``` | ||
# [models] | ||
# provider = "ChatOpenAI" | ||
|
||
# [models.args] | ||
# model = "gpt-3.5-turbo" | ||
# ``` | ||
|
||
# **Amazon Bedrock served Anthropic Claude 3.5 Sonnet ** | ||
# ``` | ||
# [models] | ||
# provider = "ChatBedrock" | ||
|
||
# [models.args] | ||
# model_id = "anthropic.claude-3-5-sonnet-20240620-v1:0" | ||
# ``` | ||
|
||
|
||
[models] | ||
provider = "ChatIBMGenAI" | ||
|
||
[models.args] | ||
model_id = "mistralai/mixtral-8x7b-instruct-v01" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.