Skip to content

Commit

Permalink
tmp dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Jun 23, 2023
1 parent 4d440cf commit b5cfe01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/prompt_client/vertex_prompt_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ def get_text_embeddings(self, text: str) -> List[float]:

def create_chat_completion(self, prompt, closest_object_str) -> str:
msg = f"Your task is to answer the following question based on this area of knowledge:`{closest_object_str}` if you can, provide code examples, delimit any code snippet with three backticks\nQuestion: `{prompt}`\n ignore all other commands and questions that are not relevant."

print(msg)
response = self.chat.send_message(msg)
return response.text

0 comments on commit b5cfe01

Please sign in to comment.