Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -22,6 +22,7 @@ EXAMPLE_QUERIES = [
|
|
| 22 |
"What's the difference between a markov chain and a hidden markov model?",
|
| 23 |
"What can you tell me about analytical target cascading?",
|
| 24 |
"What is known about different modes for human-AI teaming?",
|
|
|
|
| 25 |
]
|
| 26 |
|
| 27 |
# The embedding model used
|
|
@@ -122,7 +123,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
|
|
| 122 |
|
| 123 |
return (
|
| 124 |
prompt,
|
| 125 |
-
"<details><summary><h3>References</h3></summary>\n\n"
|
| 126 |
+ list_of_references
|
| 127 |
+ "\n\n</summary>",
|
| 128 |
)
|
|
|
|
| 22 |
"What's the difference between a markov chain and a hidden markov model?",
|
| 23 |
"What can you tell me about analytical target cascading?",
|
| 24 |
"What is known about different modes for human-AI teaming?",
|
| 25 |
+
"What are some examples of opportunistic versus restrictive design for additive manufacturing? Format your answer as a table with two columns (opportunistic, restrictive)."
|
| 26 |
]
|
| 27 |
|
| 28 |
# The embedding model used
|
|
|
|
| 123 |
|
| 124 |
return (
|
| 125 |
prompt,
|
| 126 |
+
"\n\n<details><summary><h3>References</h3></summary>\n\n"
|
| 127 |
+ list_of_references
|
| 128 |
+ "\n\n</summary>",
|
| 129 |
)
|