+ client (openssa.deprecated.utils.llms.AnLLM property)
+
+
CommAgent (class in openssa.deprecated.ooda_rag.builtin_agents)
COMMUNICATION (openssa.deprecated.ooda_rag.prompts.BuiltInAgentPrompt attribute)
+
+ Config (class in openssa.deprecated.utils.config)
CONTENT_VALIDATION (openssa.deprecated.ooda_rag.prompts.BuiltInAgentPrompt attribute)
ContextValidator (class in openssa.deprecated.ooda_rag.builtin_agents)
+
+ create_embeddings() (openssa.deprecated.utils.llms.AnLLM method)
create_rag_agent() (openssa.deprecated.ssa.ssa_service.SSARAGService class method)
@@ -208,21 +269,45 @@ C
D
@@ -230,6 +315,8 @@ D
E
+I
+
+
+K
+
+
L
@@ -341,6 +510,16 @@ M
MAINTASK (openssa.deprecated.ooda_rag.notifier.EventTypes attribute)
make_prompt() (openssa.deprecated.prompts.Prompts method)
+
+ max_tokens (openssa.deprecated.integrations.api_context.AbstractAPIContext attribute)
+
+ model (openssa.deprecated.integrations.api_context.AbstractAPIContext attribute)
+
+ model_computed_fields (openssa.deprecated.integrations.api_context.AbstractAPIContext attribute)
+
+ model_config (openssa.deprecated.integrations.api_context.AbstractAPIContext attribute)
+
+ model_fields (openssa.deprecated.integrations.api_context.AbstractAPIContext attribute)
module
@@ -353,6 +532,20 @@ M
openssa.deprecated.adapter
openssa.deprecated.backend
+
+ openssa.deprecated.integrations
+
+ openssa.deprecated.integrations.api_context
+
+ openssa.deprecated.integrations.azure
+
+ openssa.deprecated.integrations.huggingface
+
+ openssa.deprecated.integrations.lepton_ai
+
+ openssa.deprecated.integrations.llama_index
+
+ openssa.deprecated.integrations.openai
openssa.deprecated.ooda
@@ -403,6 +596,24 @@ M
openssa.deprecated.ssa.ssa_service
openssa.deprecated.ssm
+
+ openssa.deprecated.utils
+
+ openssa.deprecated.utils.config
+
+ openssa.deprecated.utils.deprecated
+
+ openssa.deprecated.utils.deprecated.aitomatic_llm_config
+
+ openssa.deprecated.utils.llms
+
+ openssa.deprecated.utils.logs
+
+ openssa.deprecated.utils.rag_service_contexts
+
+ openssa.deprecated.utils.usage_logger
+
+ openssa.deprecated.utils.utils
@@ -442,6 +653,12 @@ O
OODAPlanAgent (class in openssa.deprecated.ooda_rag.builtin_agents)
OODAPrompts (class in openssa.deprecated.ooda_rag.prompts)
+
+ OPENAI_API_KEY (openssa.deprecated.utils.config.Config attribute)
+
+ OPENAI_API_URL (openssa.deprecated.utils.config.Config attribute)
+
+ OpenAILLM (class in openssa.deprecated.utils.llms)
openssa
@@ -469,6 +686,55 @@ O
+
+ openssa.deprecated.integrations
+
+
+
+ openssa.deprecated.integrations.api_context
+
+
+
+ openssa.deprecated.integrations.azure
+
+
+
+ openssa.deprecated.integrations.huggingface
+
+
+
+ openssa.deprecated.integrations.lepton_ai
+
+
+
+ openssa.deprecated.integrations.llama_index
+
+
+
+ openssa.deprecated.integrations.openai
+
+
@@ -534,8 +800,6 @@ O
module
-
-
openssa.deprecated.ooda_rag.notifier
@@ -543,6 +807,8 @@ O
module
+
+
openssa.deprecated.ooda_rag.prompts
@@ -646,6 +912,69 @@ O
+
+ openssa.deprecated.utils
+
+
+
+ openssa.deprecated.utils.config
+
+
+
+ openssa.deprecated.utils.deprecated
+
+
+
+ openssa.deprecated.utils.deprecated.aitomatic_llm_config
+
+
+
+ openssa.deprecated.utils.llms
+
+
+
+ openssa.deprecated.utils.logs
+
+
+
+ openssa.deprecated.utils.rag_service_contexts
+
+
+
+ openssa.deprecated.utils.usage_logger
+
+
+
+ openssa.deprecated.utils.utils
+
+
ORIENT (openssa.deprecated.ooda_rag.prompts.OODAPrompts attribute)
@@ -658,12 +987,14 @@ O
P
@@ -801,12 +1142,26 @@ U
+
+V
+
diff --git a/index.html b/index.html
index 55d36c202..76007dc51 100644
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/modules.html b/modules.html
index ce6e50051..1cbfe1a5b 100644
--- a/modules.html
+++ b/modules.html
@@ -10,7 +10,7 @@
-
+
@@ -106,6 +106,61 @@ openssa
+openssa.deprecated.integrations namespace
+
openssa.deprecated.ooda namespace
Submodules
diff --git a/openssa.deprecated.adapter.abstract_adapter.html b/openssa.deprecated.adapter.abstract_adapter.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.adapter.abstract_adapter.html
+++ b/openssa.deprecated.adapter.abstract_adapter.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.adapter.base_adapter.html b/openssa.deprecated.adapter.base_adapter.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.adapter.base_adapter.html
+++ b/openssa.deprecated.adapter.base_adapter.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.adapter.html b/openssa.deprecated.adapter.html
index 8155b7239..38f99523d 100644
--- a/openssa.deprecated.adapter.html
+++ b/openssa.deprecated.adapter.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.backend.abstract_backend.html b/openssa.deprecated.backend.abstract_backend.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.backend.abstract_backend.html
+++ b/openssa.deprecated.backend.abstract_backend.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.backend.base_backend.html b/openssa.deprecated.backend.base_backend.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.backend.base_backend.html
+++ b/openssa.deprecated.backend.base_backend.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.backend.html b/openssa.deprecated.backend.html
index 8a49092f3..9f3e21dc3 100644
--- a/openssa.deprecated.backend.html
+++ b/openssa.deprecated.backend.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.backend.rag_backend.html b/openssa.deprecated.backend.rag_backend.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.backend.rag_backend.html
+++ b/openssa.deprecated.backend.rag_backend.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.backend.text_backend.html b/openssa.deprecated.backend.text_backend.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.backend.text_backend.html
+++ b/openssa.deprecated.backend.text_backend.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.html b/openssa.deprecated.html
index 0e6487514..e5159a4fd 100644
--- a/openssa.deprecated.html
+++ b/openssa.deprecated.html
@@ -10,7 +10,7 @@
-
+
@@ -103,6 +103,61 @@
openssa.deprecated.ooda namespace
Subpackages
diff --git a/openssa.deprecated.integrations.api_context.html b/openssa.deprecated.integrations.api_context.html
new file mode 100644
index 000000000..380fef05e
--- /dev/null
+++ b/openssa.deprecated.integrations.api_context.html
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+class openssa.deprecated.integrations.api_context. AbstractAPIContext ( * , type : str | None = None , key : str | None = None , base : str | None = None , version : str | None = None , model : str | None = None , engine : str | None = None , max_tokens : int | None = None , temperature : float | None = None , is_chat_completion : bool | None = None )
+Bases: BaseModel
, ABC
+
+
+type : str | None
+
+
+
+
+key : str | None
+
+
+
+
+base : str | None
+
+
+
+
+version : str | None
+
+
+
+
+model : str | None
+
+
+
+
+engine : str | None
+
+
+
+
+max_tokens : int | None
+
+
+
+
+temperature : float | None
+
+
+
+
+is_chat_completion : bool | None
+
+
+
+
+abstract classmethod from_defaults ( )
+Return a new instance of this class with default values filled in.
+
+
+
+
+model_computed_fields : ClassVar [ Dict [ str , ComputedFieldInfo ] ] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+
+model_config : ClassVar [ ConfigDict ] = {}
+Configuration for the model, should be a dictionary conforming to [ConfigDict ][pydantic.config.ConfigDict].
+
+
+
+
+model_fields : ClassVar [ Dict [ str , FieldInfo ] ] = {'base': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'engine': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'is_chat_completion': FieldInfo(annotation=Union[bool, NoneType], required=False, default=None), 'key': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'max_tokens': FieldInfo(annotation=Union[int, NoneType], required=False, default=None), 'model': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'temperature': FieldInfo(annotation=Union[float, NoneType], required=False, default=None), 'type': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'version': FieldInfo(annotation=Union[str, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo ][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.azure.html b/openssa.deprecated.integrations.azure.html
new file mode 100644
index 000000000..4e84dd2d9
--- /dev/null
+++ b/openssa.deprecated.integrations.azure.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations.azure namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations.azure namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations.azure namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.azure.ssm.html b/openssa.deprecated.integrations.azure.ssm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.azure.ssm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.html b/openssa.deprecated.integrations.html
new file mode 100644
index 000000000..e05643ef0
--- /dev/null
+++ b/openssa.deprecated.integrations.html
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.huggingface.html b/openssa.deprecated.integrations.huggingface.html
new file mode 100644
index 000000000..9d48183d7
--- /dev/null
+++ b/openssa.deprecated.integrations.huggingface.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations.huggingface namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations.huggingface namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations.huggingface namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.huggingface.slm.html b/openssa.deprecated.integrations.huggingface.slm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.huggingface.slm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.huggingface.ssm.html b/openssa.deprecated.integrations.huggingface.ssm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.huggingface.ssm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.lepton_ai.html b/openssa.deprecated.integrations.lepton_ai.html
new file mode 100644
index 000000000..335778929
--- /dev/null
+++ b/openssa.deprecated.integrations.lepton_ai.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations.lepton_ai namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations.lepton_ai namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations.lepton_ai namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.lepton_ai.ssm.html b/openssa.deprecated.integrations.lepton_ai.ssm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.lepton_ai.ssm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.llama_index.backend.html b/openssa.deprecated.integrations.llama_index.backend.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.llama_index.backend.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.llama_index.html b/openssa.deprecated.integrations.llama_index.html
new file mode 100644
index 000000000..451285cef
--- /dev/null
+++ b/openssa.deprecated.integrations.llama_index.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations.llama_index namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations.llama_index namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations.llama_index namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.llama_index.ssm.html b/openssa.deprecated.integrations.llama_index.ssm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.llama_index.ssm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.openai.html b/openssa.deprecated.integrations.openai.html
new file mode 100644
index 000000000..67204b8e1
--- /dev/null
+++ b/openssa.deprecated.integrations.openai.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.integrations.openai namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.integrations.openai namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.integrations.openai namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.integrations.openai.ssm.html b/openssa.deprecated.integrations.openai.ssm.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.integrations.openai.ssm.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.ooda.deprecated.html b/openssa.deprecated.ooda.deprecated.html
index fa334d188..6a5c53f8d 100644
--- a/openssa.deprecated.ooda.deprecated.html
+++ b/openssa.deprecated.ooda.deprecated.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda.deprecated.solver.html b/openssa.deprecated.ooda.deprecated.solver.html
index a31c1a79c..7f85d5b16 100644
--- a/openssa.deprecated.ooda.deprecated.solver.html
+++ b/openssa.deprecated.ooda.deprecated.solver.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda.heuristic.html b/openssa.deprecated.ooda.heuristic.html
index ea02fcd0a..fec6e95a4 100644
--- a/openssa.deprecated.ooda.heuristic.html
+++ b/openssa.deprecated.ooda.heuristic.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda.html b/openssa.deprecated.ooda.html
index 0f8212c38..697e9b992 100644
--- a/openssa.deprecated.ooda.html
+++ b/openssa.deprecated.ooda.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda.ooda_loop.html b/openssa.deprecated.ooda.ooda_loop.html
index a745294c1..94f69a88f 100644
--- a/openssa.deprecated.ooda.ooda_loop.html
+++ b/openssa.deprecated.ooda.ooda_loop.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda.task.html b/openssa.deprecated.ooda.task.html
index 169a64846..db10b52a3 100644
--- a/openssa.deprecated.ooda.task.html
+++ b/openssa.deprecated.ooda.task.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.builtin_agents.html b/openssa.deprecated.ooda_rag.builtin_agents.html
index bdb861b14..1420609f1 100644
--- a/openssa.deprecated.ooda_rag.builtin_agents.html
+++ b/openssa.deprecated.ooda_rag.builtin_agents.html
@@ -10,7 +10,7 @@
-
+
@@ -108,7 +108,7 @@
-class openssa.deprecated.ooda_rag.builtin_agents. TaskAgent ( llm : AnLLM , messages : List )
+class openssa.deprecated.ooda_rag.builtin_agents. TaskAgent ( llm : AnLLM , messages : List )
Bases: ABC
Abstract base class for all task agents.
diff --git a/openssa.deprecated.ooda_rag.custom.html b/openssa.deprecated.ooda_rag.custom.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ooda_rag.custom.html
+++ b/openssa.deprecated.ooda_rag.custom.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.heuristic.html b/openssa.deprecated.ooda_rag.heuristic.html
index 365f56bc7..528881d36 100644
--- a/openssa.deprecated.ooda_rag.heuristic.html
+++ b/openssa.deprecated.ooda_rag.heuristic.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.html b/openssa.deprecated.ooda_rag.html
index d6876da51..a930e0b67 100644
--- a/openssa.deprecated.ooda_rag.html
+++ b/openssa.deprecated.ooda_rag.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.notifier.html b/openssa.deprecated.ooda_rag.notifier.html
index 3a7ef642e..0c6166c8f 100644
--- a/openssa.deprecated.ooda_rag.notifier.html
+++ b/openssa.deprecated.ooda_rag.notifier.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.ooda.html b/openssa.deprecated.ooda_rag.ooda.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ooda_rag.ooda.html
+++ b/openssa.deprecated.ooda_rag.ooda.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.ooda_ssa.html b/openssa.deprecated.ooda_rag.ooda_ssa.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ooda_rag.ooda_ssa.html
+++ b/openssa.deprecated.ooda_rag.ooda_ssa.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.prompts.html b/openssa.deprecated.ooda_rag.prompts.html
index d2857f89b..7dea03ae9 100644
--- a/openssa.deprecated.ooda_rag.prompts.html
+++ b/openssa.deprecated.ooda_rag.prompts.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.query_rewritting_engine.html b/openssa.deprecated.ooda_rag.query_rewritting_engine.html
index 6ff147982..0f4e72272 100644
--- a/openssa.deprecated.ooda_rag.query_rewritting_engine.html
+++ b/openssa.deprecated.ooda_rag.query_rewritting_engine.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.rag_ooda.html b/openssa.deprecated.ooda_rag.rag_ooda.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ooda_rag.rag_ooda.html
+++ b/openssa.deprecated.ooda_rag.rag_ooda.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.dense_x.base.html b/openssa.deprecated.ooda_rag.resources.dense_x.base.html
index 0d6cdc088..a9b921f4e 100644
--- a/openssa.deprecated.ooda_rag.resources.dense_x.base.html
+++ b/openssa.deprecated.ooda_rag.resources.dense_x.base.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.dense_x.dense_x.html b/openssa.deprecated.ooda_rag.resources.dense_x.dense_x.html
index dcfb94586..dcc4a4469 100644
--- a/openssa.deprecated.ooda_rag.resources.dense_x.dense_x.html
+++ b/openssa.deprecated.ooda_rag.resources.dense_x.dense_x.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.dense_x.html b/openssa.deprecated.ooda_rag.resources.dense_x.html
index 33f82901c..d14ed475f 100644
--- a/openssa.deprecated.ooda_rag.resources.dense_x.html
+++ b/openssa.deprecated.ooda_rag.resources.dense_x.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.html b/openssa.deprecated.ooda_rag.resources.html
index a675ad661..19ac61454 100644
--- a/openssa.deprecated.ooda_rag.resources.html
+++ b/openssa.deprecated.ooda_rag.resources.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.rag_resource.html b/openssa.deprecated.ooda_rag.resources.rag_resource.html
index 73405958a..05a3e824f 100644
--- a/openssa.deprecated.ooda_rag.resources.rag_resource.html
+++ b/openssa.deprecated.ooda_rag.resources.rag_resource.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.standard_vi.html b/openssa.deprecated.ooda_rag.resources.standard_vi.html
index a1f4b2e77..1bfed2546 100644
--- a/openssa.deprecated.ooda_rag.resources.standard_vi.html
+++ b/openssa.deprecated.ooda_rag.resources.standard_vi.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.resources.standard_vi.standard_vi.html b/openssa.deprecated.ooda_rag.resources.standard_vi.standard_vi.html
index 74b6092f2..3c7dc337c 100644
--- a/openssa.deprecated.ooda_rag.resources.standard_vi.standard_vi.html
+++ b/openssa.deprecated.ooda_rag.resources.standard_vi.standard_vi.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ooda_rag.tools.html b/openssa.deprecated.ooda_rag.tools.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ooda_rag.tools.html
+++ b/openssa.deprecated.ooda_rag.tools.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.prompts.html b/openssa.deprecated.prompts.html
index 33278ed32..b6972afb5 100644
--- a/openssa.deprecated.prompts.html
+++ b/openssa.deprecated.prompts.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssa.agent.html b/openssa.deprecated.ssa.agent.html
index 2d07b1a3b..1a752044b 100644
--- a/openssa.deprecated.ssa.agent.html
+++ b/openssa.deprecated.ssa.agent.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssa.html b/openssa.deprecated.ssa.html
index 317341453..790447265 100644
--- a/openssa.deprecated.ssa.html
+++ b/openssa.deprecated.ssa.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssa.rag_ssa.html b/openssa.deprecated.ssa.rag_ssa.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssa.rag_ssa.html
+++ b/openssa.deprecated.ssa.rag_ssa.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssa.ssa.html b/openssa.deprecated.ssa.ssa.html
index 3efc7461b..f274149dc 100644
--- a/openssa.deprecated.ssa.ssa.html
+++ b/openssa.deprecated.ssa.ssa.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssa.ssa_service.html b/openssa.deprecated.ssa.ssa_service.html
index f3d935207..b14c843ad 100644
--- a/openssa.deprecated.ssa.ssa_service.html
+++ b/openssa.deprecated.ssa.ssa_service.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.abstract_ssm.html b/openssa.deprecated.ssm.abstract_ssm.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssm.abstract_ssm.html
+++ b/openssa.deprecated.ssm.abstract_ssm.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.abstract_ssm_builder.html b/openssa.deprecated.ssm.abstract_ssm_builder.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssm.abstract_ssm_builder.html
+++ b/openssa.deprecated.ssm.abstract_ssm_builder.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.base_ssm.html b/openssa.deprecated.ssm.base_ssm.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssm.base_ssm.html
+++ b/openssa.deprecated.ssm.base_ssm.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.base_ssm_builder.html b/openssa.deprecated.ssm.base_ssm_builder.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssm.base_ssm_builder.html
+++ b/openssa.deprecated.ssm.base_ssm_builder.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.html b/openssa.deprecated.ssm.html
index 0fbc4ce49..8e4b7cd0a 100644
--- a/openssa.deprecated.ssm.html
+++ b/openssa.deprecated.ssm.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.ssm.rag_ssm.html b/openssa.deprecated.ssm.rag_ssm.html
index 80e81e608..60b8683de 100644
--- a/openssa.deprecated.ssm.rag_ssm.html
+++ b/openssa.deprecated.ssm.rag_ssm.html
@@ -10,7 +10,7 @@
-
+
diff --git a/openssa.deprecated.utils.config.html b/openssa.deprecated.utils.config.html
new file mode 100644
index 000000000..c25461dac
--- /dev/null
+++ b/openssa.deprecated.utils.config.html
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+class openssa.deprecated.utils.config. Config
+Bases: object
+This class is used to store config setings, as well as
+secrets, such as API keys, tokens, etc.
+By default, they come from documented environment variables.
+But the user can override them by setting them directly
+in the Config object.
+
+
+DEBUG = False
+
+
+
+
+DEFAULT_TEMPERATURE = 0.0
+
+
+
+
+AITOMATIC_API_KEY : str | None = None
+
+
+
+
+AITOMATIC_API_URL : str | None = 'https://aimo-api-mvp.platform.aitomatic.com/api/v1'
+
+
+
+
+AITOMATIC_API_URL_7B : str | None = None
+
+
+
+
+AITOMATIC_API_URL_70B : str | None = None
+
+
+
+
+OPENAI_API_KEY : str | None = None
+
+
+
+
+OPENAI_API_URL : str | None = 'https://api.openai.com/v1'
+
+
+
+
+AZURE_API_VERSION : str | None = '2024-02-15-preview'
+
+
+
+
+AZURE_OPENAI_API_KEY : str | None = None
+
+
+
+
+AZURE_OPENAI_API_URL : str | None = 'https://aiva-japan.openai.azure.com'
+
+
+
+
+US_AZURE_OPENAI_API_KEY : str | None = None
+
+
+
+
+US_AZURE_OPENAI_API_BASE : str | None = 'https://aiva-dev.openai.azure.com/'
+
+
+
+
+LEPTON_API_KEY : str | None = None
+
+
+
+
+LEPTON_API_URL : str | None = 'https://llama2-7b.lepton.run/api/v1'
+
+
+
+
+static setenv ( var_name )
+Copy the value of a config variable to an environment variable.
+If the variable is not set, nothing is changed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.deprecated.aitomatic_llm_config.html b/openssa.deprecated.utils.deprecated.aitomatic_llm_config.html
new file mode 100644
index 000000000..76a28665d
--- /dev/null
+++ b/openssa.deprecated.utils.deprecated.aitomatic_llm_config.html
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
import os
+from openai import OpenAI
+from dotenv import load_dotenv
+
load_dotenv(override=True)
+
+class AitomaticLLMConfig: @classmethod
+def get_llama2_70b(cls):
+
+
+@classmethod
+def get_intel_neural_chat_7b(cls):
+
+
+url_base = os.environ.get( “AITOMATIC_INTEL_NEURAL_CHAT_7B_URL_BASE”, “http://34.145.174.152:8000/v1 ”
+
+
+
)
+llm = OpenAI(base_url=url_base)
+return llm
+
+@classmethod
+def get_aimo_llm(cls):
+
+url_base = os.environ.get(“AIMO_STANDARD_URL_BASE”, “”)
+llm = OpenAI(
+
+
+
)
+return llm
+
+@classmethod
+def get_openai(cls):
+
+
+@classmethod
+def get_aitomatic_llm(cls):
+
+return cls.get_openai()
+
+@classmethod
+def get_aitomatic_llm_secured(cls):
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.deprecated.html b/openssa.deprecated.utils.deprecated.html
new file mode 100644
index 000000000..5ed375c09
--- /dev/null
+++ b/openssa.deprecated.utils.deprecated.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ openssa.deprecated.utils.deprecated namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.utils.deprecated namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.utils.deprecated namespace
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.deprecated.llama_index_api.html b/openssa.deprecated.utils.deprecated.llama_index_api.html
new file mode 100644
index 000000000..60b8683de
--- /dev/null
+++ b/openssa.deprecated.utils.deprecated.llama_index_api.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.html b/openssa.deprecated.utils.html
new file mode 100644
index 000000000..17cc69d2a
--- /dev/null
+++ b/openssa.deprecated.utils.html
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+ openssa.deprecated.utils namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ openssa.deprecated.utils namespace
+
+
+
+
+
+
+
+
+
+
+openssa.deprecated.utils namespace
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.llms.html b/openssa.deprecated.utils.llms.html
new file mode 100644
index 000000000..352f8976d
--- /dev/null
+++ b/openssa.deprecated.utils.llms.html
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
Language Model (LM) interfaces.
+
+
+class openssa.deprecated.utils.llms. AnLLM ( model: str = None , api_base: str = None , api_key: str = None , user_id: str = 'openssa' , usage_logger: ~openssa.deprecated.utils.usage_logger.AbstractUsageLogger = <openssa.deprecated.utils.usage_logger.BasicUsageLogger object> , **additional_kwargs )
+Bases: object
+This class provides a consistent API for the different LLM services.
+Intended usage:
+
+from openssa.deprecated.utils.llms import OpenAILLM, AitomaticLLM, AzureLLM
+
llm1 = OpenAILLM.get_default()
+llm1.call(messages=[{“role”: “user”, “content”: “Say this is a test”}], stream=True)
+llm1.create_embeddings()
+
llm2 = AitomaticLLM.get_default()
+llm3 = AitoLLM.get_gpt_35_turbo_0613()
+
llm4 = AzureLLM.get_default()
+
+etc.
+
+
+property client
+
+
+
+
+property aclient
+
+
+
+
+call ( is_chat : bool = True , ** kwargs )
+
+
+
+
+async acall ( is_chat : bool = True , ** kwargs )
+
+
+
+
+create_embeddings ( )
+
+
+
+
+get_response ( prompt : str , messages : list = None , role : str = 'user' , ** kwargs ) → str
+
+
+
+
+parse_output ( output : str ) → dict
+
+
+
+
+
+
+class openssa.deprecated.utils.llms. OpenAILLM ( model : str = 'gpt-3.5-turbo-0125' , api_base : str = 'https://api.openai.com/v1' , api_key : str = None , ** additional_kwargs )
+Bases: AnLLM
+This class represents the OpenAI-hosted LLMs
+
+
+property client : OpenAI
+
+
+
+
+property aclient : AsyncOpenAI
+
+
+
+
+classmethod get_default ( ) → OpenAILLM
+
+
+
+
+classmethod get_gpt_35_turbo_1106 ( ) → OpenAILLM
+
+
+
+
+classmethod get_gpt_35_turbo ( ) → OpenAILLM
+
+
+
+
+classmethod get_gpt_4_0125_preview ( ) → OpenAILLM
+
+
+
+
+classmethod get_gpt_4_1106_preview ( ) → OpenAILLM
+
+
+
+
+
+
+class openssa.deprecated.utils.llms. AitomaticLLM ( model : str = 'llama2-7b' , api_base : str = 'https://aimo-api-mvp.platform.aitomatic.com/api/v1' , api_key : str = None , ** additional_kwargs )
+Bases: OpenAILLM
+This class represents the Aitomatic-hosted LLMs
+
+
+classmethod get_default ( ) → AitomaticLLM
+
+
+
+
+classmethod get_llama2_70b ( ) → AitomaticLLM
+
+
+
+
+classmethod get_llama2_7b ( ) → AitomaticLLM
+
+
+
+
+classmethod get_yi_34b ( ) → AitomaticLLM
+
+
+
+
+classmethod get_intel_neural_chat_7b ( ) → AitomaticLLM
+
+
+
+
+
+
+class openssa.deprecated.utils.llms. AzureLLM ( model : str = None , api_base : str = None , api_key : str = None )
+Bases: AnLLM
+This class represents the Azure-hosted LLMs
+
+
+property client : AzureOpenAI
+
+
+
+
+property aclient : AsyncAzureOpenAI
+
+
+
+
+classmethod get_default ( ) → AzureLLM
+
+
+
+
+classmethod get_gpt_35 ( ) → AzureLLM
+
+
+
+
+classmethod get_gpt_35_16k ( ) → AzureLLM
+
+
+
+
+classmethod get_gpt_4 ( ) → AzureLLM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.logs.html b/openssa.deprecated.utils.logs.html
new file mode 100644
index 000000000..59f80da52
--- /dev/null
+++ b/openssa.deprecated.utils.logs.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+class openssa.deprecated.utils.logs. Logs
+Bases: object
+
+
+static get_logger ( name = None , log_level = 10 ) → Logger
+Gets a new/existing logger with the given name and log level
+
+
+
+
+static do_log_entry_and_exit ( * extra_args , the_logger = None , log_level = 10 , log_entry = True , log_exit = True )
+Decorator to log function entry and exit.
+
+
+
+
+static do_log_entry ( * extra_args , log_level = 10 )
+Decorator to log function entry.
+
+
+
+
+static do_log_exit ( * extra_args , log_level = 10 )
+Decorator to log function exit.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.rag_service_contexts.html b/openssa.deprecated.utils.rag_service_contexts.html
new file mode 100644
index 000000000..30c6d8c51
--- /dev/null
+++ b/openssa.deprecated.utils.rag_service_contexts.html
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+class openssa.deprecated.utils.rag_service_contexts. ServiceContextManager
+Bases: object
+
+
+classmethod get_aitomatic_sc ( ** kwargs ) → ServiceContext
+
+
+
+
+classmethod get_openai_sc ( ** kwargs ) → ServiceContext
+
+
+
+
+classmethod get_azure_openai_sc ( ** kwargs ) → ServiceContext
+
+
+
+
+classmethod get_openai_35_turbo_sc ( ** kwargs ) → ServiceContext
+
+
+
+
+classmethod get_azure_jp_openai_35_turbo_sc ( ) → ServiceContext
+
+
+
+
+classmethod get_azure_openai_4_0125_preview_sc ( ) → ServiceContext
+
+
+
+
+classmethod get_openai_4_0125_preview_sc ( ) → ServiceContext
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.usage_logger.html b/openssa.deprecated.utils.usage_logger.html
new file mode 100644
index 000000000..340cc794d
--- /dev/null
+++ b/openssa.deprecated.utils.usage_logger.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+class openssa.deprecated.utils.usage_logger. AbstractUsageLogger
+Bases: ABC
+
+
+abstract log_usage ( ** kwargs )
+
+
+
+
+
+
+class openssa.deprecated.utils.usage_logger. BasicUsageLogger
+Bases: AbstractUsageLogger
+
+
+log_usage ( ** kwargs )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.deprecated.utils.utils.html b/openssa.deprecated.utils.utils.html
new file mode 100644
index 000000000..1c2b91800
--- /dev/null
+++ b/openssa.deprecated.utils.utils.html
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ openssa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Docs »
+
+ <no title>
+
+
+
+
+
+
+
+
+
+
Utilities.
+
+
+class openssa.deprecated.utils.utils. Utils
+Bases: object
+Class containing various utility methods.
+
+
+static canonicalize_user_input ( user_input : Any ) → list [ dict ]
+Make sure user_input is in the form of a list of dicts,
+e.g., [{“role”: “user”, “content”: “hello”}].
+
+
+
+
+static canonicalize_discuss_result ( result : Any ) → dict
+Make sure response is in the form of a dict,
+e.g., {“role”: “assistant”, “content”: “hello”}.
+
+
+
+
+static canonicalize_query_response ( response : Any ) → dict
+Make sure response is in the form of a dict
+e.g., {“response”: “hello”, “response_object”: <obj>}
+
+
+
+
+static do_canonicalize_user_input ( param_name )
+Decorator to canonicalize SSM user input.
+
+
+
+
+static do_canonicalize_discuss_result ( func )
+Decorator to canonicalize SSM discuss result.
+
+
+
+
+static do_canonicalize_query_response ( func )
+Decorator to canonicalize Backend query response.
+
+
+
+
+static do_canonicalize_user_input_and_query_response ( param_name )
+
+
+
+
+static do_canonicalize_user_input_and_discuss_result ( param_name )
+
+
+
+
+static download_gdrive ( folder_id : str , local_dir : str = './tmp/.docs' )
+
+
+
+
+static download_s3 ( s3_paths : str | set [ str ] , local_dir : str = './tmp/.docs' )
+
+
+
+
+static timeit ( func )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/openssa.html b/openssa.html
index aebbc4716..86f9783c6 100644
--- a/openssa.html
+++ b/openssa.html
@@ -10,7 +10,7 @@
-
+
@@ -109,6 +109,61 @@
openssa.deprecated.ooda namespace
+