Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Semantic Router
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
aurelio-labs
Semantic Router
Commits
314005d2
Commit
314005d2
authored
1 year ago
by
Ismail Ashraq
Browse files
Options
Downloads
Patches
Plain Diff
add LlamaCppLLM to init
parent
5e6fd2f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
semantic_router/llms/__init__.py
+2
-0
2 additions, 0 deletions
semantic_router/llms/__init__.py
semantic_router/llms/llamacpp.py
+0
-2
0 additions, 2 deletions
semantic_router/llms/llamacpp.py
with
2 additions
and
2 deletions
semantic_router/llms/__init__.py
+
2
−
0
View file @
314005d2
from
semantic_router.llms.base
import
BaseLLM
from
semantic_router.llms.base
import
BaseLLM
from
semantic_router.llms.cohere
import
CohereLLM
from
semantic_router.llms.cohere
import
CohereLLM
from
semantic_router.llms.llamacpp
import
LlamaCppLLM
from
semantic_router.llms.mistral
import
MistralAILLM
from
semantic_router.llms.mistral
import
MistralAILLM
from
semantic_router.llms.openai
import
OpenAILLM
from
semantic_router.llms.openai
import
OpenAILLM
from
semantic_router.llms.openrouter
import
OpenRouterLLM
from
semantic_router.llms.openrouter
import
OpenRouterLLM
...
@@ -8,6 +9,7 @@ from semantic_router.llms.zure import AzureOpenAILLM
...
@@ -8,6 +9,7 @@ from semantic_router.llms.zure import AzureOpenAILLM
__all__
=
[
__all__
=
[
"
BaseLLM
"
,
"
BaseLLM
"
,
"
OpenAILLM
"
,
"
OpenAILLM
"
,
"
LlamaCppLLM
"
,
"
OpenRouterLLM
"
,
"
OpenRouterLLM
"
,
"
CohereLLM
"
,
"
CohereLLM
"
,
"
AzureOpenAILLM
"
,
"
AzureOpenAILLM
"
,
...
...
This diff is collapsed.
Click to expand it.
semantic_router/llms/llamacpp.py
+
0
−
2
View file @
314005d2
...
@@ -2,8 +2,6 @@ from contextlib import contextmanager
...
@@ -2,8 +2,6 @@ from contextlib import contextmanager
from
pathlib
import
Path
from
pathlib
import
Path
from
typing
import
Any
,
Optional
from
typing
import
Any
,
Optional
# from llama_cpp import Llama, LlamaGrammar
from
semantic_router.llms.base
import
BaseLLM
from
semantic_router.llms.base
import
BaseLLM
from
semantic_router.schema
import
Message
from
semantic_router.schema
import
Message
from
semantic_router.utils.logger
import
logger
from
semantic_router.utils.logger
import
logger
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment