Skip to content

Commit

Permalink
relax
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Oct 30, 2024
1 parent 3b2288d commit 5d01099
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions docs/Dockerfile.delta2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1286
FROM gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290
USER root
#
COPY src/enums.py /workspace/src/enums.py
Expand All @@ -20,6 +20,13 @@ COPY openai_server/agent_tools/download_web_video.py /workspace/openai_server/ag
COPY openai_server/agent_tools/convert_document_to_text.py /workspace/openai_server/agent_tools/convert_document_to_text.py
COPY openai_server/agent_tools/ask_question_about_documents.py /workspace/openai_server/agent_tools/ask_question_about_documents.py

COPY openai_server/agent_prompting.py /workspace/openai_server/agent_prompting.py
COPY openai_server/agent_tools/bing_search.py /workspace/openai_server/agent_tools/bing_search.py
COPY openai_server/agent_tools/convert_document_to_text.py /workspace/openai_server/agent_tools/convert_document_to_text.py
COPY openai_server/agent_tools/download_youtube_video.py /workspace/openai_server/agent_tools/download_youtube_video.py
COPY openai_server/agent_tools/google_search.py /workspace/openai_server/agent_tools/google_search.py
COPY openai_server/autogen_utils.py /workspace/openai_server/autogen_utils.py

RUN chmod a+rwx /workspace/src/*.py
RUN chmod a+rwx /workspace/openai_server/*.py
RUN chmod a+rwx /workspace/openai_server/agent_tools/*.py
Expand All @@ -28,5 +35,5 @@ RUN chmod a+rwx /workspace/.cache

USER h2ogpt

# docker build -f docs/Dockerfile.delta2 -t gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1288-patch1 .
# docker push gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1288-patch1
# docker build -f docs/Dockerfile.delta2 -t gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290-patch1 .
# docker push gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290-patch1
1 change: 1 addition & 0 deletions openai_server/autogen_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ def confidence_level_guidelines() -> str:
* If you have a very high confidence in the response and constrained output, then say so and stop the conversation.
* However, if you do not have a very high confidence in the constrained output but do have high confidence in your response otherwise, fix the constrained output and stop the conversation.
* However, if you do not have a very high confidence in the response to the user's original query, then you must provide an executable code that would help improve your response until you have very high confidence.
* If you end up not being able to verify your response with very high confidence, but you already came up with an unverified response, give the user the unverified response (with any unverified constrained output) and provide insights and recommendations.
* For any constrained output, be sure to follow the original user query for any formatting or content constraints.
* Place a final confidence level brief summary inside <confidence> </confidence> XML tags.
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "de14a5e20c52f4cf75be21f21d055c06f78f23c7"
__version__ = "3b2288d420309d4cd2e012f8e2400f31ace50ed3"

0 comments on commit 5d01099

Please sign in to comment.