Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llm-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
ots
LLM
llm-api
Commits
999a4aca
Commit
999a4aca
authored
4 months ago
by
James Vasile
Browse files
Options
Downloads
Plain Diff
Merge branch '57-update-setup-documentation' into 'main'
Update setup documentation Closes
#57
See merge request
!55
parents
108baeb6
177aebb9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!55
Update setup documentation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
api/server.py
+2
-2
2 additions, 2 deletions
api/server.py
with
4 additions
and
4 deletions
README.md
+
2
−
2
View file @
999a4aca
...
...
@@ -11,8 +11,8 @@ able to adapt the results for use with other LLMs as we progress.
Documentation for this repository is in this README and throughout the code and
the files that make up the project. The best starting point is the
`mkdocs`
documentation, which you can see by running
`mkdocs serve`
.
You might need to
install
`mkdocs`
via
`pip`
,
`pipx`
,
`ap
t`
or the
like
.
documentation, which you can see by running
`mkdocs serve`
.
Please refer to
`./requirements.tx
t`
f
or the
necessary mkdocs packages to install
.
If you do
`make run`
, you will get a live instance that has two documentation
endpoints:
...
...
This diff is collapsed.
Click to expand it.
api/server.py
+
2
−
2
View file @
999a4aca
...
...
@@ -208,7 +208,7 @@ class FilterSetRequest(BaseModel):
prompt
:
str
|
None
=
None
query
:
str
filters
:
JSONDict
|
None
=
[]
filters
:
JSONDict
|
None
=
{}
required
:
List
[
str
]
=
[]
...
...
@@ -268,7 +268,7 @@ async def filterset(
query: str =
"
Proposals related to water scarcity in Africa
"
filters: Dict[str, List[str]] = {
"
competition
"
: [
"
FundingTheFuture2024
"
,
"
IteratingOnThePast2024
"
],
"
rankPercentile
"
: [
"
95-100
"
]
,
"
rankPercentile
"
: [
"
95-100
"
]
}
keywords: list[str] = [
"
bob
"
,
"
lob
"
,
"
law
"
]
id: str =
"
c001ba5c001ba5c001ba5eeec001ba5e
"
// An id for caching and recall
...
...
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