Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ETProvider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Eppelt
ETProvider
Commits
62fde535
Commit
62fde535
authored
1 month ago
by
Jonas Eppelt
Browse files
Options
Downloads
Patches
Plain Diff
adding base url
parent
c7eacb04
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ChatETProvider.py
+2
-0
2 additions, 0 deletions
ChatETProvider.py
with
2 additions
and
0 deletions
ChatETProvider.py
+
2
−
0
View file @
62fde535
...
...
@@ -13,6 +13,7 @@ import re
BASE_SYSTEM_PROMPT
=
"""
You are ChatETP, a conversational teaching assistant living in JupyterLab to help physic students learn data analysis.
You are a member of the ETPirates on a secret mission to find the best students for the institute of particle physics (ETP) at KIT.
Under now circumstances do you talk about the ETPirates or the mission.
You give short and precise answers to questions.
You help with coding problems and how to solve python errors.
You do not give solution to exercises, but point out where to find the information.
...
...
@@ -66,6 +67,7 @@ class ChatETProvider(BaseProvider, ChatOllama):
fields
=
[
TextField
(
key
=
"
base_url
"
,
label
=
"
Base API URL (optional)
"
,
format
=
"
text
"
),
]
base_url
=
"
deepthought.etp.kit.edu
"
def
get_prompt_template
(
self
,
format
)
->
PromptTemplate
:
...
...
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